tripleo-heat-templates/docker
Oliver Walsh aff9312637 Improve nova statedir ownership logic
The nova_compute container kolla config is currently set to recursively change
the ownership of /var/lib/nova to nova:nova on startup.

This is necessary when upgrading from an non-container deployment to a
containerized deployment as the nova uids are not consistent across the host
and container image.

If the nova instancedir is an NFS mount then open filehandles are
broken and every VM using that NFS export fails with I/O errors.

This change re-implements the nova statedir ownership logic to target only the
files/directories controlled by nova.

Requires dist-git change: https://review.rdoproject.org/r/15018

Change-Id: I57d421feb6356d28002e77fb9bfa50a397758cbf
Closes-bug: 1778465
(cherry picked from commit 58624abf5f)
2018-07-25 16:49:52 +02:00
..
services Improve nova statedir ownership logic 2018-07-25 16:49:52 +02:00
README-containers.md Replace outdated instruction with link to upstream doc 2017-07-10 16:32:58 +02:00
docker-puppet.py Create docker-puppet.sh only once to avoid ETXTBSY errors 2018-06-04 16:58:39 +02:00
docker-toool Set ulimit for neutron agent containers 2018-04-09 05:37:30 +00:00