Unable to configure baremetal for grizzly: DatabaseNotControlledError [closed]

asked 2013-08-19 03:36:16 -0500

iLikeIT gravatar image

updated 2013-08-23 15:44:10 -0500

smaffulli gravatar image

I am unable to configure the baremetal driver for grizzly.

I have a single allinone openstack test environment that I made just for baremetal testing. I have been following this https://wiki.openstack.org/wiki/GeneralBareMetalProvisioningFramework but after I run:

# nova-baremetal-manage db sync

I get the error: Command failed, please check log for more info

2013-08-13 18:06:05.056 3412 CRITICAL nova [-] 'module' object has no attribute 'DatabaseNotControlledError'
2013-08-13 18:06:05.056 3412 TRACE nova Traceback (most recent call last):
2013-08-13 18:06:05.056 3412 TRACE nova   File "/usr/bin/nova-baremetal-manage", line 221, in <module>
2013-08-13 18:06:05.056 3412 TRACE nova     main()
2013-08-13 18:06:05.056 3412 TRACE nova   File "/usr/bin/nova-baremetal-manage", line 213, in main
2013-08-13 18:06:05.056 3412 TRACE nova     fn(*fn_args, **fn_kwargs)
2013-08-13 18:06:05.056 3412 TRACE nova   File "/usr/bin/nova-baremetal-manage", line 101, in sync
2013-08-13 18:06:05.056 3412 TRACE nova     bmdb_migration.db_sync(version)
2013-08-13 18:06:05.056 3412 TRACE nova   File "/usr/lib/python2.6/site-packages/nova/virt/baremetal/db/migration.py", line 34, in db_sync
2013-08-13 18:06:05.056 3412 TRACE nova     return IMPL.db_sync(version=version)
2013-08-13 18:06:05.056 3412 TRACE nova   File "/usr/lib/python2.6/site-packages/nova/virt/baremetal/db/sqlalchemy/migration.py", line 71, in db_sync
2013-08-13 18:06:05.056 3412 TRACE nova     current_version = db_version()
2013-08-13 18:06:05.056 3412 TRACE nova   File "/usr/lib/python2.6/site-packages/nova/virt/baremetal/db/sqlalchemy/migration.py", line 85, in db_version
2013-08-13 18:06:05.056 3412 TRACE nova     except versioning_exceptions.DatabaseNotControlledError:
2013-08-13 18:06:05.056 3412 TRACE nova AttributeError: 'module' object has no attribute 'DatabaseNotControlledError'
2013-08-13 18:06:05.056 3412 TRACE nova

I see a similar error reported here but the answer is not confirmed. https://lists.launchpad.net/openstack/msg24081.html

Thanks for your help!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-01-22 13:17:35.350469