commit c62247fa8b9ed0ebbe01b8751d2ca45d66220084
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.
Reviewed: https:/ /review. openstack. org/643936 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=c62247fa8b9 ed0ebbe01b8751d 2ca45d66220084
Committed: https:/
Submitter: Zuul
Branch: master
commit c62247fa8b9ed0e bbe01b8751d2ca4 5d66220084
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