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

Bug 1502576

Summary: Upgrade O to P failing due to rabbitmq missconfiguration
Product: Red Hat OpenStack Reporter: Jose Luis Franco <jfrancoa>
Component: openstack-tripleo-heat-templatesAssignee: Emilien Macchi <emacchi>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 12.0 (Pike)CC: jschluet, mbracho, mbultel, mburns, mcornea, morazi, ohochman, rhel-osp-director-maint, sathlang, sclewis
Target Milestone: betaKeywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-7.0.3-3.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 22:15:46 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 Jose Luis Franco 2017-10-16 09:26:59 UTC
Description of problem:

The following error has been displayed after an unsuccessful upgrade from Ocata to Pike in the centos-7-containers-multinode-upgrades-nv CI job:

"Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Rabbitmq]: parameter 'file_limit' expects a value of type Integer[-1, default] or Enum['infinity', 'unlimited'], got String at /etc/puppet/modules/tripleo/manifests/profile/base/rabbitmq.pp:144:7 on node centos-7-2-node-citycloud-sto2-11384567-964146.localdomain",

http://logs.openstack.org/64/508964/3/check/gate-tripleo-ci-centos-7-containers-multinode-upgrades-nv/dd33a2f/logs/undercloud/home/jenkins/failed_upgrade.log.txt.gz

file_limit field is in fact configured as a string:
http://logs.openstack.org/64/508964/3/check/gate-tripleo-ci-centos-7-containers-multinode-upgrades-nv/dd33a2f/logs/subnode-2/etc/puppet/hieradata/service_configs.json.txt.gz

"rabbitmq::file_limit": "65536"

While the rabbitmq configuration mentions that it should be an integer after the following commit in puppet-rabbitmq module:
https://github.com/voxpupuli/puppet-rabbitmq/commit/faf24bccecfeced313859e933484b9d76bb96484

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Issue found in multinode upgrades job where an upgrade from Ocata to Pike containerized is deployed using the following commnads:
1.1 Deploy: http://logs.openstack.org/64/508964/3/check/gate-tripleo-ci-centos-7-containers-multinode-upgrades-nv/dd33a2f/logs/undercloud/home/jenkins/overcloud-deploy.sh

1.2 Upgrade: http://logs.openstack.org/64/508964/3/check/gate-tripleo-ci-centos-7-containers-multinode-upgrades-nv/dd33a2f/logs/undercloud/home/jenkins/overcloud-upgrade.sh


Actual results:
Upgrade failed due to error: "2017-10-14 21:04:20,925 ERROR: 52064 -- ERROR configuring rabbitmq"
http://logs.openstack.org/64/508964/3/check/gate-tripleo-ci-centos-7-containers-multinode-upgrades-nv/dd33a2f/logs/undercloud/home/jenkins/failed_upgrade.log.txt.gz

Expected results:


Additional info:

Comment 2 mathieu bultel 2017-11-15 15:59:28 UTC
openstack-tripleo-heat-templates-7.0.3-3.el7ost

Comment 6 errata-xmlrpc 2017-12-13 22:15:46 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.

https://access.redhat.com/errata/RHEA-2017:3462