[Openstack] Error in bare metal configuration

Jake G. dj_dark_junglist at yahoo.com
Tue Aug 13 09:16:31 UTC 2013


Hi all,

Having an issue deploying baremetal on a new packstack created Openstack Griz server created soley for bare metal 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130813/7189ae17/attachment.html>


More information about the Openstack mailing list