During the upgrade from Mitaka to Newton, the uid/gid may change for the
same image. Especially on Ubuntu, we moved to Ubuntu Xenial in Newton
and it added systemd related user which break all the uid/gid during an
upgrade. It will the permissions in all docker named volumes.
This fix extends set_config.py to set the proper permission during
container start. This is super light then add commands in
extend_start.sh file or add ansible tasks.
This patch just fixes rabbitmq case. Other services will be fixed in
following patches.
Reviewed: https:/ /review. openstack. org/384598 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=4c207bc0399 f024f24c05446a6 924875c0f7aaef
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4c207bc0399f024 f24c05446a69248 75c0f7aaef
Author: Jeffrey Zhang <email address hidden>
Date: Mon Oct 10 22:37:05 2016 +0800
Fix rabbitmq upgrade permission issue
During the upgrade from Mitaka to Newton, the uid/gid may change for the
same image. Especially on Ubuntu, we moved to Ubuntu Xenial in Newton
and it added systemd related user which break all the uid/gid during an
upgrade. It will the permissions in all docker named volumes.
This fix extends set_config.py to set the proper permission during
container start. This is super light then add commands in
extend_start.sh file or add ansible tasks.
This patch just fixes rabbitmq case. Other services will be fixed in
following patches.
Partial-Bug: #1631503 bf4e3cd503601b8 010325b5c5b
Change-Id: Ib17027b97abbc9