Comment 5 for bug 1820590

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

Reviewed: https://review.openstack.org/644547
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=85885cbcfa9e83dc22cadc7785479aa4fecddd44
Submitter: Zuul
Branch: stable/rocky

commit 85885cbcfa9e83dc22cadc7785479aa4fecddd44
Author: Martin Schuppert <email address hidden>
Date: Mon Mar 18 10:32:56 2019 +0100

    Run chown for nova log files on every run to fix wrong permissions

    If nova-manage command was triggered on a host for the first time as root
    (usually manual runs) the nova-manage.log gets created as root user. On
    overcloud deploy runs the nova-manage command is run as nova user. In such
    situation the overcloud deploy fails as the nova user can not write to the
    nova-manage.log. With this change we run the chown of the logs files on
    every overcloud deploy to fix the nova-manage.log file permissions.

    Closes-Bug: #1820590

    Change-Id: Iaa8db09712da6c0d9553fab39d7d5b50fa7cf287
    (cherry picked from commit c62247fa8b9ed0ebbe01b8751d2ca45d66220084)