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)
Reviewed: https:/ /review. openstack. org/644547 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=85885cbcfa9 e83dc22cadc7785 479aa4fecddd44
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 85885cbcfa9e83d c22cadc7785479a a4fecddd44
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 manage. log. With this change we run the chown of the logs files on
(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-
every overcloud deploy to fix the nova-manage.log file permissions.
Closes-Bug: #1820590
Change-Id: Iaa8db09712da6c 0d9553fab39d7d5 b50fa7cf287 bbe01b8751d2ca4 5d66220084)
(cherry picked from commit c62247fa8b9ed0e