Comment 2 for bug 1568047

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/mitaka)

Reviewed: https://review.openstack.org/304948
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=cbe3a15a8e53f600d519a17d7eabab1f7d96e2ab
Submitter: Jenkins
Branch: stable/mitaka

commit cbe3a15a8e53f600d519a17d7eabab1f7d96e2ab
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
    Change-Id: Ie30c8437b310d1ea5bc75307375c255131dfe934
    Needed-By: I2ff5fbb315832b8cf07c93d0dd0cdaacd958631e
    (cherry picked from commit 84a0f2dd5bb537bcae92c172fcf1bc42d266ec5c)