Hide Forgot
Created attachment 838970 [details] Contents of /var/tmp/packstack/20131219-071251-QerX0R Description of problem: Packstack does not create nova table in MySQL database when parameter CONFIG_NOVA_API_HOST was set to different IP and the same IP was added to EXCLUDE_SERVERS parameter. Version-Release number of selected component (if applicable): 4.0 - 2013-12-18.2 puddle How reproducible: 100% Steps to Reproduce: 1. Setup RHEL 6.5 2. Run packstack --gen-answer-file=/root/packstack-answer-file 3. Set CONFIG_NOVA_API_HOST and EXCLUDE_SERVERS to different IP than current host. 3. Run packstack --answer-file=packstack-answer-file Actual results: Setup failed with error message: ERROR : Error appeared during Puppet run: 10.16.96.111_nova.pp Error: /Stage[main]/Nova::Network/Nova::Manage::Floating[nova-vm-floating]/Nova_floating[nova-vm-floating]: Could not evaluate: Execution of '/usr/bin/nova-manage floating list' returned 1: 2013-12-19 07:20:49.795 24868 DEBUG nova.openstack.common.lockutils [req-fb37350a-69f9-466b-ab75-534c90b37089 None None] Got semaphore "dbapi_backend" lock /usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py:166 You will find full trace in log /var/tmp/packstack/20131219-071251-QerX0R/manifests/10.16.96.111_nova.pp.log Please check log file /var/tmp/packstack/20131219-071251-QerX0R/openstack-setup.log for more information Expected results: Successful setup Additional info: It turned out that the nova database does not contain any tables. After recreating tables manually (with "nova-manage db sync" command) one can rerun packstack without error.
Due to simplification changes CONFIG_NOVA_API_HOST has been removed. I'm closing this bug. In case similar problem appears in current version please feel free to reopen the bug.