Description of problem: ======================= packstack fails to finish openstack installation with a nova-network error. Version-Release number of selected component (if applicable): ============================================================= Folsom openstack-packstack-2012.2.2-0.3.dev281.el6ost.noarch How reproducible: ================= Happened more then once. Steps to Reproduce: =================== 1. Ran packstack (answers file attached to this bug) 2. 3. Actual results: =============== DEBUG:root:Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 60, in run function() File "/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py", line 139, in applyPuppetManifest waitforpuppet(currently_running) File "/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py", line 110, in waitforpuppet validate_puppet_logfile(log) File "/usr/lib/python2.6/site-packages/packstack/modules/ospluginutils.py", line 130, in validate_puppet_logfile raise PackStackError(message) PackStackError: Error during puppet run : err: /Stage[main]/Nova::Network/Nova::Manage::Network[nova-vm-net]/Nova_network[nova-vm-net]/ensure: change from absent to present failed: Execution of '/usr/bin/nova-manage network create novanetwork 192.168.32.0/22 1 255' returned 1: 2013-01-17 18:14:32 24225 CRITICAL nova [-] No module named cinderclient Testing if puppet apply is finished : 10.35.110.15_nova.pp.log [ ERROR ] Expected results: ================= no errors should be expected
Looks like a problem with the order puppet installed things in, in this case it looks like it set this in /etc/nova/nova.conf volume_api_class=nova.volume.cinder.API the above makes nova-manage depend on cinderclient so the call to nova-manage network create novanetwork 192.168.32.0/22 1 255 failed cinderclient was then installed on the host. If this happened in any other error, then the call to nova manage would have been ok, I'll add explicit ordering on some of this.
I could only reproduce this on one run out of about 15 probable Fix submitted upstream https://review.openstack.org/#/c/19995/
Verified With: openstack-packstack-2012.2.2-0.1.dev317.el6.noarch Error not reproduced. nova-network service is up and running. # service openstack-nova-network status openstack-nova-network (pid 27015) is running...
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-0204.html