Bug 1414967
| Summary: | Lower haproxy health check timeout for redis | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Marian Krcmarik <mkrcmari> |
| Component: | puppet-tripleo | Assignee: | Michele Baldessari <michele> |
| Status: | CLOSED ERRATA | QA Contact: | Marian Krcmarik <mkrcmari> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 10.0 (Newton) | CC: | agk, ahirshbe, apevec, athomas, bperkins, cfeist, chjones, cluster-maint, dbecker, ebarrera, fdinitto, hfukumot, jcoufal, jjoyce, jschluet, k-akatsuka, knoha, lhh, lnatapov, mburns, michele, mkrcmari, mnovacek, morazi, oalbrigt, oblaut, pkilambi, pkomarov, rhel-osp-director-maint, rohara, royoung, slinaber, tvignaud, ushkalim, ykawada, yprokule |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 13.0 (Queens) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | puppet-tripleo-8.2.0-0.20180122224520.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1305549 | Environment: | |
| Last Closed: | 2018-06-27 13:29:16 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: | 1305549 | ||
| Bug Blocks: | 1369066, 1400103 | ||
|
Comment 24
pkomarov
2018-02-18 10:21:37 UTC
Re-opening this bug because the issue is back. So looks like regression.
I see now the following errors in the gnocchi api log file:
I have talked to Mehdi Abaakouk (sileht) and he pointed me to this bug saying that it's a pacemaker issue. Gnocchi is connecting to the wrong redis node that's means pacemaker fail to close redis connection before switching the master node
I work with puppet-tripleo-8.3.2-6.el7ost.noarch
------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 423, in start
self._start()
File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 479, in _start
self.heartbeat()
File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 513, in heartbeat
value=self.STILL_ALIVE)
File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 55, in _translate_failures
cause=e)
File "/usr/lib/python2.7/site-packages/tooz/utils.py", line 225, in raise_with_cause
excutils.raise_with_cause(exc_cls, message, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 143, in raise_with_cause
six.raise_from(exc_cls(message, *args, **kwargs), kwargs.get('cause'))
File "/usr/lib/python2.7/site-packages/six.py", line 718, in raise_from
raise value
ToozError: You can't write against a read only slave.
2018-06-10 10:40:35,748 [26] ERROR gnocchi.utils: Unable to initialize coordination driver
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 298, in call
result = fn(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/gnocchi/cli/metricd.py", line 45, in get_coordinator_and_start
coord.start(start_heart=True)
File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 687, in start
super(CoordinationDriverWithExecutor, self).start(start_heart)
File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 423, in start
self._start()
File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 479, in _start
self.heartbeat()
File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 513, in heartbeat
value=self.STILL_ALIVE)
File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 55, in _translate_failures
cause=e)
File "/usr/lib/python2.7/site-packages/tooz/utils.py", line 225, in raise_with_cause
excutils.raise_with_cause(exc_cls, message, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 143, in raise_with_cause
six.raise_from(exc_cls(message, *args, **kwargs), kwargs.get('cause'))
File "/usr/lib/python2.7/site-packages/six.py", line 718, in raise_from
raise value
ToozError: You can't write against a read only slave.
2018-06-10 10:40:43,207 [23] ERROR gnocchi.utils: Unable to initialize coordination driver
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 298, in call
result = fn(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/gnocchi/cli/metricd.py", line 45, in get_coordinator_and_start
coord.start(start_heart=True)
File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 687, in start
super(CoordinationDriverWithExecutor, self).start(start_heart)
File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 423, in start
self._start()
File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 479, in _start
self.heartbeat()
File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 513, in heartbeat
value=self.STILL_ALIVE)
File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/site-packages/tooz/drivers/redis.py", line 55, in _translate_failures
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-2018:2086 |