Ask Your Question
0

nova-db-sync install error

asked 2014-08-27 11:24:40 -0600

gherasima gravatar image

updated 2014-08-27 11:26:42 -0600

mpetason gravatar image

Hi all

Centos 6.5 fresh install with RDO it fail at:

Error: /Stage[main]/Nova::Api/Exec[nova-db-sync]: Failed to call refresh: /usr/bin/nova-manage db sync returned 1 instead of one of [0]
Error: /Stage[main]/Nova::Api/Exec[nova-db-sync]: /usr/bin/nova-manage db sync returned 1 instead of one of [0]

Thanks in advance

edit retag flag offensive close merge delete

Comments

What says /var/log/nova/nova-api.log ? I would also check other nova logs.

dbaxps gravatar imagedbaxps ( 2014-08-27 11:37:09 -0600 )edit

Thaks for the quick replay

  1. Command failed, please check log for more info
  2. cat: /var/log/nova/nova-api.log: No such file or directory

This is a fresh install

gherasima gravatar imagegherasima ( 2014-08-27 11:43:50 -0600 )edit

Applying 192.168.77.43_api_nova.pp 192.168.77.43_api_nova.pp: [ ERROR ] Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 192.168.77.43_api_nova.pp Error: /Stage[main]/Nova::Api/Exec[nova-db-sync]: Failed to call refresh: /u

gherasima gravatar imagegherasima ( 2014-08-27 11:52:05 -0600 )edit

Have no luck. I Try to install RDO on RHEL7 and CentOS7 but it failed with different errors. Now it failed on CentOS 6 too, should I try RHEL 6?

gherasima gravatar imagegherasima ( 2014-08-27 11:54:09 -0600 )edit

On CentOS 7 has been installed several time OK with workaround https://ask.openstack.org/en/question...

dbaxps gravatar imagedbaxps ( 2014-08-27 11:58:18 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-27 11:27:51 -0600

mpetason gravatar image

updated 2014-08-29 17:56:36 -0600

smaffulli gravatar image

See if you can do it manually. Source the openrc file in the root dir and type:

nova-manage db sync

This should give you the actual error output instead of the return code. That will help you understand the root cause.

Also, find the mysql option in nova.conf on the controller.

grep -i connection /etc/nova/nova.conf

Make sure that you can connect to mysql on that port with the same user/password. Nova-manage db sync can take a while to run, let it finish out.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-27 11:24:40 -0600

Seen: 3,084 times

Last updated: Aug 29 '14