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

Bug 1203340

Summary: redis coordination for ceilometer configuration in packstack --allinone fails due to unwanted sentinel configuration
Product: Red Hat OpenStack Reporter: Chris Dent <chdent>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Yurii Prokulevych <yprokule>
Severity: low Docs Contact:
Priority: medium    
Version: 6.0 (Juno)CC: aortega, eglynn, ichavero, jpena, jschluet, srevivo
Target Milestone: z5Keywords: Triaged, ZStream
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2014.2-0.26.dev1474.gd85ee76.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-20 13:27:51 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:    
Bug Blocks: 1200129    

Description Chris Dent 2015-03-18 15:40:08 UTC
When running packstack --allinone ceilometer is configured with a faulty coordination_url because the CONFIG_REDIS_SENTINEL_CONTACT_HOST setting is automatically overridden, causing sentinel to be turned on even though redis high availability is not desired.

The workaround after the fact is to manually correct the coordination_url in /etc/ceilometer/ceilometer.conf from:

    redis://10.34.75.91:26379?sentinel=mymaster

to

    redis://10.34.75.91:6379

(replace the IP with whatever the IP of the controller host is).

The workaround before the fact is to:

* packstack --dry-run --allinone
* edit the generated answer file to reset CONFIG_REDIS_SENTINEL_CONTACT_HOST to an empty string
* packstack --answer-file=ANSWER_FILE

An upstream fix is in progress.

Comment 4 Chris Dent 2015-04-08 18:00:20 UTC
The upstream bug for this was fixed some time ago, but the link to launchpad was incorrect to the bug did not update properly. The relevant upstream review is: https://review.openstack.org/#/c/165526/

Comment 6 Ivan Chavero 2015-08-27 06:21:15 UTC
Can i have acks for this bug?

Thanks!

Comment 10 Yurii Prokulevych 2016-05-26 13:25:05 UTC
Deployed all-in-one using answer file with updated admin/demo passwords.
Coordination backed_url set correctly.

Package:
openstack-packstack-2014.2-0.27.dev1474.gd85ee76.el7ost.noarch

Comment 12 errata-xmlrpc 2016-06-20 13:27:51 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/RHBA-2016:1260