Comment 7 for bug 1587143

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

Reviewed: https://review.openstack.org/248832
Committed: https://git.openstack.org/cgit/openstack/ironic-python-agent/commit/?id=af81914ce7309b23edcccc030d40f59f98fc258e
Submitter: Jenkins
Branch: master

commit af81914ce7309b23edcccc030d40f59f98fc258e
Author: Lucas Alvares Gomes <email address hidden>
Date: Mon May 30 17:39:13 2016 +0100

    Add a log extension

    The log extension is responsible for retrieving logs from the system,
    if journalctl is present the logs will come from it, otherwise we
    fallback to getting the logs from the /var/log directory + dmesg logs.

    In the coreos ramdisk, we need to bind mount /run/log in the container
    so the IPA service can have access to the journal.

    For the tinyIPA ramdisk, the logs from IPA are now being redirected to
    /var/logs/ironic-python-agent.log instead of only going to the default
    stdout.

    Inspector now shares the same method of collecting logs, extending its
    capabilities for non-systemd systems.

    Partial-Bug: #1587143
    Change-Id: Ie507e2e5c58cffa255bbfb2fa5ffb95cb98ed8c4