Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/

Bug 1170385

Summary: Packstack fails starting nova-compute on CentOS 7 with --install-hosts
Product: [Community] RDO Reporter: Dave Neary <dneary>
Component: openstack-packstackAssignee: Gaƫl Chamoulaud <gchamoul>
Status: CLOSED NOTABUG QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: JunoCC: aortega, derekh, gchamoul, rjones, yeylon
Target Milestone: ---   
Target Release: Juno   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-04 19:06:29 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:

Description Dave Neary 2014-12-03 23:33:15 UTC
Description of problem: Trying to install RDO Juno on 3 VMs (running on OpenStack), with --install-hosts=$IP1,$IP2,$IP3

I have tested that all hosts are accessible, and root log-in from remote is possible (with private SSH key).

Packstack gets quite far, and I get the following error:

10.3.11.176_nova.pp:                                 [ DONE ]  
10.3.11.178_nova.pp:                              [ ERROR ]    
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.3.11.178_nova.pp
cYou will find full trace in log /var/tmp/packstack/20141203-223128-IBnshK/manifests/10.3.11.178_nova.pp.log
Please check log file /var/tmp/packstack/20141203-223128-IBnshK/openstack-setup.log for more information

Packstack fails to start the Nova service on one of the compute nodes. Some searching shows that this is because of an incorrect set-up in /etc/rabbitmq/rabbitmq.conf on the control host: 
https://ask.openstack.org/en/question/48329/openstack-juno-using-rdo-fails-installation-amqp-server-closed-the-connection/

How reproducible:

Every time.

Steps to Reproduce:
1. Install and update CentOS 7 on 3 hosts
2. Follow the Packstack Quick start instructions
3. Observe failure to start Neutron on compute hosts

Please let me know if there is a known workaround.

Comment 1 Dave Neary 2014-12-04 19:06:29 UTC
This is looking like NOTABUG - I was running the "hosts" on OpenStack instances, with security group rules which did not allow AMQP ingress for the control host.

The problem is that this is totally outside the guests, so I spent a ton of time figuring this out.

I initially added the following line to amqpp.pp in the rabbitmq class:
    config_variables => {"loopback_users" =>  "[]",},

but have now backed it out, and things continued to work. Looks like the main issue was the security groups.

Comment 2 Richard W.M. Jones 2014-12-17 19:42:12 UTC
Actually I believe this *is* a bug.  I filed bug 1175428.