← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1195494] Re: Nova Compute Error in nova-manage db sync

 

** Changed in: nova
       Status: Incomplete => Invalid

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

Title:
  Nova Compute Error in nova-manage db sync

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Hi All,

  Grizzly - I was successfully able to implement one controller node and
  a compute node, BUT when I tried to add another compute node with the
  controller I got below error. Per document I followed till stopping of
  the required services and then "nova-manage db sync". Not sure if it
  is because of nova database is already present in Controller and I had
  done the db sync for my first controller-compute configuration. If we
  need to drop the old nova database then its not the solution as every
  time it would be required when you will be adding the additional
  compute node.

  Please advise.

  Nova.conf is exactly the copy of working compute node and with my_ip,
  vnc details changed.

  Error on new compute node:

  2013-06-27 22:48:50 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.migration' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.pyc'> from (pid=2029) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:663
  Command failed, please check log for more info
  2013-06-27 22:48:50 CRITICAL nova [-] <VerNum(184)>
  2013-06-27 22:48:50 TRACE nova Traceback (most recent call last):
  2013-06-27 22:48:50 TRACE nova   File "/usr/bin/nova-manage", line 1746, in <module>
  2013-06-27 22:48:50 TRACE nova     main()
  2013-06-27 22:48:50 TRACE nova   File "/usr/bin/nova-manage", line 1733, in main
  2013-06-27 22:48:50 TRACE nova     fn(*fn_args, **fn_kwargs)
  2013-06-27 22:48:50 TRACE nova   File "/usr/bin/nova-manage", line 1102, in sync
  2013-06-27 22:48:50 TRACE nova     return migration.db_sync(version)
  2013-06-27 22:48:50 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/migration.py", line 30, in db_sync
  2013-06-27 22:48:50 TRACE nova     return IMPL.db_sync(version=version)
  2013-06-27 22:48:50 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 53, in db_sync
  2013-06-27 22:48:50 TRACE nova     versioning_api.upgrade(FLAGS.sql_connection, repo_path, version)

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