commit 2587f4e961053a6fcca2502d49bc9df0b1f35a97
Author: Jose Luis Franco Arza <email address hidden>
Date: Fri Feb 1 15:58:45 2019 +0100
Copy undercloud.conf file during mistral-executor start up.
As we are changing the ownership of the whole /var/lib/mistral directory in a
recursive way, we can't be mapping /var/lib/mistral/undercloud.conf as read-only,
otherwise we will get a OSError: [Errno 30] Read-only file system: '/var/lib/mistral/undercloud.conf'.
Instead, we will be mapping the undercloud.conf file into /var/lib/ directory
inside the container and then copy it from /var/lib into /var/lib/mistral
directory on start up, this way we will get rid of ownership permission issues.
Reviewed: https:/ /review. openstack. org/634425 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=2587f4e9610 53a6fcca2502d49 bc9df0b1f35a97
Committed: https:/
Submitter: Zuul
Branch: master
commit 2587f4e961053a6 fcca2502d49bc9d f0b1f35a97
Author: Jose Luis Franco Arza <email address hidden>
Date: Fri Feb 1 15:58:45 2019 +0100
Copy undercloud.conf file during mistral-executor start up.
As we are changing the ownership of the whole /var/lib/mistral directory in a mistral/ undercloud. conf as read-only, mistral/ undercloud. conf'.
recursive way, we can't be mapping /var/lib/
otherwise we will get a OSError: [Errno 30] Read-only file system: '/var/lib/
Instead, we will be mapping the undercloud.conf file into /var/lib/ directory
inside the container and then copy it from /var/lib into /var/lib/mistral
directory on start up, this way we will get rid of ownership permission issues.
Change-Id: Icbdaaf628d996b ac89a770426db97 d556df4003a
Closes-Bug: #1814275