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

Bug 1210500

Summary: [RFE] update tooz to support ceilometer workload partitioning
Product: Red Hat OpenStack Reporter: Lon Hohberger <lhh>
Component: python-toozAssignee: Lon Hohberger <lhh>
Status: CLOSED DUPLICATE QA Contact: Yurii Prokulevych <yprokule>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0 (Juno)CC: aortega, apevec, eglynn, lbezdick, lhh, mburns, mmagr, nbarcet, yeylon, yprokule
Target Milestone: z5Keywords: FutureFeature, Rebase, Triaged, ZStream
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tooz-0.13.2-1.el7ost Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of: 1200129 Environment:
Last Closed: 2015-12-17 21:21:17 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 Lon Hohberger 2015-04-09 21:42:26 UTC
+++ This bug was initially created as a clone of Bug #1200129 +++

Ceilometer now uses the tooz coordination library to allow workload partitioning across scaled out central agents (previously a SPoF).

For consistency, the ceilometer alarm evaluator can also optionally be scaled out in that way.

At a minimum this should allow a single redis instance on the controller plane to be selected as the coordination.backend_url in the ceilometer.conf.

--- Additional comment from Chris Dent on 2015-03-18 20:42:14 EDT ---

It appears that while simple single server redis-based coordination with tooz will work fine, there are issues when using redis sentinel to support HA redis.

I discovered this while writing up some notes on how to verify that it works. In typical fashion, that led to discovering that it doesn't work. Those notes are here:

https://tank.peermore.com/tanks/cdent-rhat/TestCeiloRedisPackstack

My apologies for the roughness, it's become a bit late in the day.

The gist is that there are at least three problems:

* a newer version of tooz is required in the juno-based packstack (0.9.0 is in there, we need at least 0.11.0)
* the default timeouts for sentinel driven failover may be a bit slow for some situations, or there is some other kind of timing issue which is making it longer than expected for a new master to be available
* the ceilometer code is not properly handling failure to retry contacting the tooz server

More detail in the link above. More detailed bugs will be created up and downstream after discussion with eglynn and yprokule tomorrow.

--- Additional comment from Chris Dent on 2015-04-08 14:06:33 EDT ---

The fix for this on upstream tooz was merge from https://review.openstack.org/#/c/166291/

There has not yet been a tooz release, the most recent was a few days prior to that merge.

Comment 2 Chris Dent 2015-04-13 15:52:17 UTC
New tooz (0.13.2 as stable/kilo and 0.14.0) was released today.

Comment 4 Lon Hohberger 2015-12-17 21:21:17 UTC

*** This bug has been marked as a duplicate of bug 1203706 ***