Bug 896642 - Openstack Installer: packstack fails to finish openstack installation with a nova-network error
Summary: Openstack Installer: packstack fails to finish openstack installation with a ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 2.0 (Folsom)
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Martin Magr
QA Contact: Nir Magnezi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-17 16:35 UTC by Nir Magnezi
Modified: 2015-08-21 00:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-29 11:11:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:0204 0 normal SHIPPED_LIVE OpenStack 2012.2 Folsom Preview bug fix and enhancement update 2013-01-29 16:08:59 UTC

Description Nir Magnezi 2013-01-17 16:35:17 UTC
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

Comment 2 Derek Higgins 2013-01-17 20:46:10 UTC
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.

Comment 3 Derek Higgins 2013-01-18 02:35:28 UTC
I could only reproduce this on one run out of about 15
probable Fix submitted upstream
https://review.openstack.org/#/c/19995/

Comment 5 Nir Magnezi 2013-01-21 14:42:28 UTC
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...

Comment 7 errata-xmlrpc 2013-01-29 11:11:38 UTC
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


Note You need to log in before you can comment on or make changes to this bug.