Comment 5 for bug 1819626

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.openstack.org/642979
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=0fc5b0efc8506efd7826e340292cb09beb7b2244
Submitter: Zuul
Branch: stable/rocky

commit 0fc5b0efc8506efd7826e340292cb09beb7b2244
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Mar 12 11:38:51 2019 +0100

    Fix idempotency for horizon container logs

    Whenever /var/log/horizon/horizon.log recreated as a root,
    the touch command fails, and the chown commands got skipped.
    This results in idempotency issues when the logs path become
    accessed under mismatching user.

    Fix this by making the chown command always applying disregard
    of the touch command results.

    Closes-Bug: #1819626

    Change-Id: Ied538dbc7dbd311361108747a1e89d1f5740eedd
    Signed-off-by: Bogdan Dobrelya <email address hidden>
    (cherry picked from commit 95e142d84eeaf82b23323bb3a8eab1e4f6a9e005)