Run nova-manage as root to prevent wrong nova-manage.log permissions
To verify if the default cell is created we run a nova-manage command.
Right now this is triggered as root and not as nova like the otheres.
In case it is the first time on the node it creates the nova-manage.log
with root user and follow up call as nova user will fail.
Related-bug: 1820590
Change-Id: I56a961615c0afa748a42c25d4614637275b7c33b
(cherry picked from commit 08015d6f9166e9e62bb7ff3f38c5d7e08ba646e5)
(cherry picked from commit 4a6ba2bbaa5a813a4dad61b7c20c04ee77381395)
Reviewed: https:/ /review. opendev. org/656075 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=a968838990d 485479bbe4ff15c 80dafa51175082
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit a968838990d4854 79bbe4ff15c80da fa51175082
Author: Martin Schuppert <email address hidden>
Date: Fri Apr 26 15:35:33 2019 +0200
Run nova-manage as root to prevent wrong nova-manage.log permissions
To verify if the default cell is created we run a nova-manage command.
Right now this is triggered as root and not as nova like the otheres.
In case it is the first time on the node it creates the nova-manage.log
with root user and follow up call as nova user will fail.
Related-bug: 1820590
Change-Id: I56a961615c0afa 748a42c25d46146 37275b7c33b 62bb7ff3f38c5d7 e08ba646e5) a4dad61b7c20c04 ee77381395)
(cherry picked from commit 08015d6f9166e9e
(cherry picked from commit 4a6ba2bbaa5a813