← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1251700] Re: migration error: invalid version number '0.7.3.dev'

 

** Changed in: tuskar
       Status: Fix Committed => Fix Released

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

Title:
  migration error: invalid version number '0.7.3.dev'

Status in Ironic (Bare Metal Provisioning):
  Fix Committed
Status in OpenStack Compute (Nova):
  In Progress
Status in Oslo - a Library of Common OpenStack Code:
  In Progress
Status in Tuskar:
  Fix Released

Bug description:
  Using a tripleO seed VM I hit this issue today when trying to run the
  nova db migrations:

  (nova)[root@localhost migrate]#  /opt/stack/venvs/nova/bin/nova-manage --debug --verbose db sync
  Command failed, please check log for more info
  2013-11-15 16:53:18,579.579 9082 CRITICAL nova [-] invalid version number '0.7.3.dev'
  2013-11-15 16:53:18,579.579 9082 TRACE nova Traceback (most recent call last):
  2013-11-15 16:53:18,579.579 9082 TRACE nova   File "/opt/stack/venvs/nova/bin/nova-manage", line 10, in <module>
  2013-11-15 16:53:18,579.579 9082 TRACE nova     sys.exit(main())
  2013-11-15 16:53:18,579.579 9082 TRACE nova   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/cmd/manage.py", line 1378, in main
  2013-11-15 16:53:18,579.579 9082 TRACE nova     ret = fn(*fn_args, **fn_kwargs)
  2013-11-15 16:53:18,579.579 9082 TRACE nova   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/cmd/manage.py", line 886, in sync
  2013-11-15 16:53:18,579.579 9082 TRACE nova     return migration.db_sync(version)
  2013-11-15 16:53:18,579.579 9082 TRACE nova   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/db/migration.py", line 31, in db_sync
  2013-11-15 16:53:18,579.579 9082 TRACE nova     return IMPL.db_sync(version=version)
  2013-11-15 16:53:18,579.579 9082 TRACE nova   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/utils.py", line 438, in __getattr__
  2013-11-15 16:53:18,579.579 9082 TRACE nova     backend = self.__get_backend()
  2013-11-15 16:53:18,579.579 9082 TRACE nova   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/utils.py", line 434, in __get_backend
  2013-11-15 16:53:18,579.579 9082 TRACE nova     self.__backend = __import__(name, None, None, fromlist)
  2013-11-15 16:53:18,579.579 9082 TRACE nova   File "/opt/stack/venvs/nova/lib/python2.7/site-packages/nova/db/sqlalchemy/migration.py", line 52, in <module>
  2013-11-15 16:53:18,579.579 9082 TRACE nova     dist_version.StrictVersion(migrate.__version__) < MIN_PKG_VERSION):
  2013-11-15 16:53:18,579.579 9082 TRACE nova   File "/usr/lib64/python2.7/distutils/version.py", line 40, in __init__
  2013-11-15 16:53:18,579.579 9082 TRACE nova     self.parse(vstring)
  2013-11-15 16:53:18,579.579 9082 TRACE nova   File "/usr/lib64/python2.7/distutils/version.py", line 107, in parse
  2013-11-15 16:53:18,579.579 9082 TRACE nova     raise ValueError, "invalid version number '%s'" % vstring
  2013-11-15 16:53:18,579.579 9082 TRACE nova ValueError: invalid version number '0.7.3.dev'

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