Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1114930

Summary: packstack fails when trying to do libvirtd_restart on the controller node where there is no compute
Product: Red Hat OpenStack Reporter: Jaroslav Henner <jhenner>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Jaroslav Henner <jhenner>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: adahms, aortega, augol, derekh, ichavero, jhenner, sclewis, yeylon
Target Milestone: rcKeywords: Regression
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-2014.1.1-0.30.dev1204.el7ost Doc Type: Bug Fix
Doc Text:
Previously, the PackStack all-in-one installation process would fail under certain conditions when attempting to restart the libvirtd service. This would occur during the Nova puppet run when the PackStack all-in-one installation process was run on a controller node on which Compute had not been deployed. Now, the PackStack all-in-one installation only attempts to restart the libvirtd service when Nova has been deployed on a node on which Compute has also been deployed, allowing the process to complete successfully under these conditions.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-08 15:39:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1115444    
Bug Blocks:    
Attachments:
Description Flags
log none

Description Jaroslav Henner 2014-07-01 09:52:43 UTC
Created attachment 913718 [details]
log

Description of problem:
With the 2 compute nodes, one controller node (without a compute), novanetwork, the packstack tries to restart libvirtd on the controller. It fails because there is no libvirtd installed. It seems to be not a problem with neutron.

Version-Release number of selected component (if applicable):
openstack-packstack-2014.1.1-0.28.dev1194.el7ost.noarch
openstack-puppet-modules-2014.1-18.el7ost.noarch

How reproducible:
always

Steps to Reproduce:
1. LABEL=jhenner_node_bz-914648_7v0 PYTHONPATH="$PYTHONPATH:/home/jhenner/work/rhos-qe-jenkins" SITE=qeos NETWORKING=novanetwork TOPOLOGY=2comp DISTRIBUTION=rhel-7 OS_VERSION=rhos-5.0 ../taskrunner/bin/taskrunner -f ./targets/tests.py --log-conf ../taskrunner/logging.conf packstack.deploy tempest_prepare vmware_prepare --cleanup never -D GetNodes.reuse=True


Actual results:
10:33:17.058 INFO  [sshConnection] 172.16.32.36_nova.pp:                             [ ERROR ]
10:33:17.058 INFO  [sshConnection] Applying Puppet manifests                         [ ERROR ]
10:33:17.058 INFO  [sshConnection] 
10:33:17.058 INFO  [sshConnection] ERROR : Error appeared during Puppet run: 172.16.32.36_nova.pp
10:33:17.059 INFO  [sshConnection] Error: service libvirtd restart returned 6 instead of one of [0]
10:33:17.059 INFO  [sshConnection] You will find full trace in log /var/tmp/packstack/20140701-042644-vlzY_7/manifests/172.16.32.36_nova.pp.log
10:33:17.059 INFO  [sshConnection] Please check log file /var/tmp/packstack/20140701-042644-vlzY_7/openstack-setup.log for more information


Expected results:
deployed stack

Additional info:

Comment 1 Jaroslav Henner 2014-07-01 10:05:16 UTC
It also seems to not be a problem on RHEL 6.5.

There is no libvirt on the controller. That holds for 
RHEL-6.5 novanetwork
RHEL-7.0 neutron
RHEL-7.0 novanetwork

Comment 2 Jaroslav Henner 2014-07-01 10:15:54 UTC
I am not sure it is correct to set Regression on this based the fact that it is working on RHEL 6.5 and fails on RHEL 7.0. Remove the regression and blocker if it is not correct.

Comment 4 Amit Ugol 2014-07-02 09:05:44 UTC
Hi,
I see that nova.pp passed on a single machine and once on a distributed environment with two compute nodes.
I don't see issues here, is this enough ?

Comment 5 Jaroslav Henner 2014-07-02 11:31:34 UTC
I cannot verify until RHBZ#1115444 is resolved.

Comment 6 Jaroslav Henner 2014-07-04 08:10:15 UTC
openstack-packstack-2014.1.1-0.32.1.dev1209.el7ost.noarch

Comment 8 errata-xmlrpc 2014-07-08 15:39:55 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-2014-0846.html