Horizon require memcached to flush data on upgrade

Bug #2021958 reported by Gaël THEROND
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
New
Undecided
Gaël THEROND

Bug Description

From time to time when performing an upgrade you can end up with a not working horizon instance due to stale data on memcached.

This result in a constantly rebooting horizon container with the following error:

https://paste.opendev.org/show/bMcQB4BZh7y0FDnqsLhu/

As tracked down in here: https://access.redhat.com/solutions/7011005

The issue is memcached stale data that need to be flushed.
In our context, we can't just restart memcached instance as they kept cache alive even across docker restart.

In order to solve this issue with as less as downtime possible we have two main solutions:

1°/ - We serially flush all deployed memcached instance using the memcached flush_all command feature, however it require netcat or equivalent (nc/socat/etc) to inject the command as follow: echo 'flush_all' > nc <host_api_net> 11211

2°/ - We drop and re-instanciate the memcached container serially during the horizon upgrade task.

What do you prefer?

Gaël THEROND (fl1nt)
Changed in kolla-ansible:
assignee: nobody → Gaël THEROND (fl1nt)
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

just to clarify one of the solution (2): drop and re-instanciate means not simple stop/start docker containers?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.