<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;">Hi all,</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Having an issue deploying baremetal on a new packstack created Openstack Griz server created soley for bare metal testing.</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I have been following this <a href="https://wiki.openstack.org/wiki/GeneralBareMetalProvisioningFramework">https://wiki.openstack.org/wiki/GeneralBareMetalProvisioningFramework</a> but a<span style="background-color: transparent;">fter I
run:</span></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color: transparent;"><br></span></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2"># nova-baremetal-manage db sync</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2"><br></font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; font-style: normal;"><font face="tahoma, new york, times, serif" size="2">I get the error:</font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; font-style: normal;"><font face="tahoma, new york, times, serif" size="2">Command failed, please check log for more
info</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 CRITICAL nova [-] 'module' object has no attribute 'DatabaseNotControlledError'</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova Traceback (most recent call last):</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova File "/usr/bin/nova-baremetal-manage", line 221, in <module></font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova main()</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova File
"/usr/bin/nova-baremetal-manage", line 213, in main</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova fn(*fn_args, **fn_kwargs)</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova File "/usr/bin/nova-baremetal-manage", line 101, in sync</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova bmdb_migration.db_sync(version)</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">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</font></div><div style="background-color: transparent;"><font
face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova return IMPL.db_sync(version=version)</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">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</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova current_version = db_version()</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">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</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif"
size="2">2013-08-13 18:06:05.056 3412 TRACE nova except versioning_exceptions.DatabaseNotControlledError:</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova AttributeError: 'module' object has no attribute 'DatabaseNotControlledError'</font></div><div style="background-color: transparent;"><font face="tahoma, new york, times, serif" size="2">2013-08-13 18:06:05.056 3412 TRACE nova </font></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I see a similar error reported here but the answer is not confirmed. <a href="https://lists.launchpad.net/openstack/msg24081.html"
style="background-color: transparent;">https://lists.launchpad.net/openstack/msg24081.html</a></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Thanks for your help</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div></div></body></html>