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
Change-Id: Ib17027b97abbc9bf4e3cd503601b8010325b5c5b
(cherry picked from commit 4c207bc0399f024f24c05446a6924875c0f7aaef)
Reviewed: https:/ /review. openstack. org/386412 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=f182dc6e9d5 060a67110a825e1 58888583991b71
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit f182dc6e9d5060a 67110a825e15888 8583991b71
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 f24c05446a69248 75c0f7aaef)
Change-Id: Ib17027b97abbc9
(cherry picked from commit 4c207bc0399f024