← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1630448] Re: postgres newton post upgrade failure DBAPIError exception wrapped from (psycopg2.ProgrammingError) column build_requests.instance_uuid does not exist

 

https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api_migrations/migrate_repo/versions/018_instance_groups.py
is not executed by nova-manage db sync but rather nova-manage api_db
sync which is for populating the API DB.

FWIW, we added instance_uuid in
https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api_migrations/migrate_repo/versions/013_build_request_extended_attrs.py

The right workflow is :
 - nova-manage db sync && nova-manage api_db sync
 - nova-manage db migrations

Closing it as Invalid, this is a deployment issue.

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1630448

Title:
  postgres newton post upgrade failure DBAPIError exception wrapped from
  (psycopg2.ProgrammingError) column build_requests.instance_uuid does
  not exist

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  This could be related to https://bugs.launchpad.net/nova/+bug/1630446
  but I am reporting it here because it might not be :D

  Error was encountered after a m->n migration, db sync went fine.
  Error log is attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1630448/+subscriptions


References