Comment 3 for bug 1814275

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/634425
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=2587f4e961053a6fcca2502d49bc9df0b1f35a97
Submitter: Zuul
Branch: master

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.

    Change-Id: Icbdaaf628d996bac89a770426db97d556df4003a
    Closes-Bug: #1814275