Comment 4 for bug 1895607

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/754119
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=59cd514947ac7c5f164c218d3cc61de4a1a8919b
Submitter: Zuul
Branch: master

commit 59cd514947ac7c5f164c218d3cc61de4a1a8919b
Author: Tee Ngo <email address hidden>
Date: Thu Sep 24 10:57:05 2020 -0400

    Disable ansible logging when invoked via subprocess

    Overwrite the default ansible log path in sysinv-conductor.
    The output of ansible playbook executed by conductor is already
    directed to sysinv log. The default ansible logging to the
    playbook user's home directory (/root in this case) is unnecessary
    and can exhaust rootfs over time.

    Test:
      - restart sysinv-conductor
      - verify that the kube networking and static images playbooks
        are executed and output are logged in sysinv log
      - verify that /root/ansible.log does not exist

    Closes-Bug: 1895607
    Change-Id: I658273151d05571c2f84338431873cb27011284c
    Signed-off-by: Tee Ngo <email address hidden>