In the gate, it is possible for /etc/hostname to not have a valid
SELinux security conext. So, reset them to default before we update
the hostname to avoid:
TASK: [Assign hostname]
failed: [node1] => {"failed": true}
msg: Command failed rc=1, out=, err=Could not set property: Access
denied
Reviewed: https:/ /review. openstack. org/303414 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=84a0f2dd5bb 537bcae92c172fc f1bc42d266ec5c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 84a0f2dd5bb537b cae92c172fcf1bc 42d266ec5c
Author: Paul Belanger <email address hidden>
Date: Fri Apr 8 09:13:52 2016 -0400
Make sure /etc/hostname is valid for SELinux
In the gate, it is possible for /etc/hostname to not have a valid
SELinux security conext. So, reset them to default before we update
the hostname to avoid:
TASK: [Assign hostname]
failed: [node1] => {"failed": true}
msg: Command failed rc=1, out=, err=Could not set property: Access
denied
Closes-Bug: #1568047 ea5bc75307375c2 55131dfe934 8cf07c93d0dd0cd aacd958631e
Change-Id: Ie30c8437b310d1
Needed-By: I2ff5fbb315832b