Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to configure baremetal for grizzly

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!

Unable to configure baremetal for grizzlygrizzly: DatabaseNotControlledError

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!