← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1947638] [NEW] nova-manage [db/api_db sync] sync not working

 

Public bug reported:

Hi am trying to upgrade nova from ocata to wallaby and am facing the
following issues

1. Database schema file with version 32 doesn't exist.
   which is most likely due to the missing migration files comparing victoria and wallaby
   https://github.com/openstack/nova/tree/stable/victoria/nova/db/sqlalchemy/api_migrations/migrate_repo/versions

https://github.com/openstack/nova/tree/stable/wallaby/nova/db/sqlalchemy/api_migrations/migrate_repo/versions

i dont know if that is done for a reason?


2. the following script in wallaby does not check if table/index exist so allot of Duplicate exceptions are raised
https://github.com/openstack/nova/blob/stable/wallaby/nova/db/sqlalchemy/migrate_repo/versions/402_train.py

can u please recommend on this
thanks

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1947638

Title:
  nova-manage [db/api_db sync] sync not working

Status in OpenStack Compute (nova):
  New

Bug description:
  Hi am trying to upgrade nova from ocata to wallaby and am facing the
  following issues

  1. Database schema file with version 32 doesn't exist.
     which is most likely due to the missing migration files comparing victoria and wallaby
     https://github.com/openstack/nova/tree/stable/victoria/nova/db/sqlalchemy/api_migrations/migrate_repo/versions

  https://github.com/openstack/nova/tree/stable/wallaby/nova/db/sqlalchemy/api_migrations/migrate_repo/versions

  i dont know if that is done for a reason?

  
  2. the following script in wallaby does not check if table/index exist so allot of Duplicate exceptions are raised
  https://github.com/openstack/nova/blob/stable/wallaby/nova/db/sqlalchemy/migrate_repo/versions/402_train.py

  can u please recommend on this
  thanks

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



Follow ups