commit aff9312637ad47873c6dca738def289ac4aa6ff3
Author: Oliver Walsh <email address hidden>
Date: Mon Jun 25 16:28:17 2018 +0100
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.
Reviewed: https:/ /review. openstack. org/585762 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=aff9312637a d47873c6dca738d ef289ac4aa6ff3
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit aff9312637ad478 73c6dca738def28 9ac4aa6ff3
Author: Oliver Walsh <email address hidden>
Date: Mon Jun 25 16:28:17 2018 +0100
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 directories controlled by nova.
files/
Requires dist-git change: https:/ /review. rdoproject. org/r/15018
Change-Id: I57d421feb6356d 28002e77fb9bfa5 0a397758cbf 1cb016ceae621ef 04ac672145)
Closes-bug: 1778465
(cherry picked from commit 58624abf5ff97cb