Bug 1320641

Summary: Packstack fails installation during puppet run amqp.pp with rabbitmq as backend
Product: Red Hat OpenStack Reporter: marko.lindholm <marko.lindholm>
Component: openstack-packstackAssignee: Ivan Chavero <ichavero>
Status: CLOSED NOTABUG QA Contact: yeylon <yeylon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: aortega, avazquez, srevivo, yeylon
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-05 06:34:52 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:

Description marko.lindholm 2016-03-23 16:39:11 UTC
Description of problem:
When running OSP8 Beta 8 packstack installation, applying amqp.pp fails when AMQP backend is "rabbitmq". Installation with same answer file works with Beta 7. Changing AMQP backend to "qpid" works with Beta 8.

Version-Release number of selected component (if applicable):
openstack-packstack-puppet-7.0.0-0.12.dev1699.g8f54936.el7ost.noarch
openstack-packstack-7.0.0-0.12.dev1699.g8f54936.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install packstack: yum install openstack-packstack
2. Generate answer file and edit as needed: packstack --gen-answer-file=<name>
3. Run installation: packstack --answer-file=<name>

Actual results:
Applying amqp.pp fails.

Expected results:
Installation finished successfully.

Additional info:
# packstack --answer-file=osp8-answerfile.txt
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20160322-182212-cbNd3h/openstack-setup.log

Installing:
Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ DONE ]
Preparing servers                                    [ DONE ]
Pre installing Puppet and discovering hosts' details [ DONE ]
Adding pre install manifest entries                  [ DONE ]
Setting up CACERT                                    [ DONE ]
Adding AMQP manifest entries                         [ DONE ]
Adding MariaDB manifest entries                      [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Adding Keystone manifest entries                     [ DONE ]
Adding Glance Keystone manifest entries              [ DONE ]
Adding Glance manifest entries                       [ DONE ]
Adding Cinder Keystone manifest entries              [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Adding Cinder manifest entries                       [ DONE ]
Adding Nova API manifest entries                     [ DONE ]
Adding Nova Keystone manifest entries                [ DONE ]
Adding Nova Cert manifest entries                    [ DONE ]
Adding Nova Conductor manifest entries               [ DONE ]
Creating ssh keys for Nova migration                 [ DONE ]
Gathering ssh host keys for Nova migration           [ DONE ]
Adding Nova Compute manifest entries                 [ DONE ]
Adding Nova Scheduler manifest entries               [ DONE ]
Adding Nova VNC Proxy manifest entries               [ DONE ]
Adding OpenStack Network-related Nova manifest entries[ DONE ]
Adding Nova Common manifest entries                  [ DONE ]
Adding Neutron VPNaaS Agent manifest entries         [ DONE ]
Adding Neutron FWaaS Agent manifest entries          [ DONE ]
Adding Neutron LBaaS Agent manifest entries          [ DONE ]
Adding Neutron API manifest entries                  [ DONE ]
Adding Neutron Keystone manifest entries             [ DONE ]
Adding Neutron L3 manifest entries                   [ DONE ]
Adding Neutron L2 Agent manifest entries             [ DONE ]
Adding Neutron DHCP Agent manifest entries           [ DONE ]
Adding Neutron Metering Agent manifest entries       [ DONE ]
Adding Neutron Metadata Agent manifest entries       [ DONE ]
Adding Neutron SR-IOV Switch Agent manifest entries  [ DONE ]
Checking if NetworkManager is enabled and running    [ DONE ]
Adding OpenStack Client manifest entries             [ DONE ]
Adding Horizon manifest entries                      [ DONE ]
Adding post install manifest entries                 [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
Applying 10.102.234.234_prescript.pp
10.102.234.234_prescript.pp:                         [ DONE ]
Applying 10.102.234.234_amqp.pp
Applying 10.102.234.234_mariadb.pp
10.102.234.234_amqp.pp:                           [ ERROR ]
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run: 10.102.234.234_amqp.pp
Error: rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc returned 1 instead of one of [0]

Comment 2 Ivan Chavero 2016-04-05 06:34:52 UTC
Tested with packstack release form latest poodle [1] and it does not have this problem








[1] openstack-packstack-7.0.0-0.10.dev1682.g42b3426.el7