Change tooz coordination service backend from memcached to etcd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi Charm |
Triaged
|
Wishlist
|
Unassigned | ||
OpenStack Designate Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Currently designate charm uses memcached as a backend for the tooz coordination service.
The following issues were found when running OpenStack cloud in a production:
# cat /var/log/
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
2018-03-12 18:51:50.861 4398 ERROR oslo.service.
The logs are not verbose enough to clearly define the root cause, but the most probable one seems to be a timeout when querying the memcached backend. This assumption is based on the following findings:
* the "run_watchers" function from "/usr/lib/
def run_watchers(self, timeout=None):
result = super(Memcached
return result
* it is mentioned in the official tooz documentation (https:/
Although the above issue is environment-
I am happy to work on the patch, but before I start I would like to get a green light, so that I could be ensured that the patch is going to be merged at some point.
summary: |
- Change tooz coordination service backend from memcached to zookeeper or - etcd + Change tooz coordination service backend from memcached to etcd |
Changed in charm-gnocchi: | |
status: | New → Triaged |
Changed in charm-designate: | |
status: | New → Triaged |
Changed in charm-gnocchi: | |
importance: | Undecided → Wishlist |
Changed in charm-designate: | |
importance: | Undecided → Wishlist |
tags: | removed: 4010 |
I discussed that offline with Kiko and Ante and the suggestion is to use redis instead of zookeeper. Anyway, I would still appreciate a feedback before I start working on that.