Move ODL logging to file

Bug #1779627 reported by Janki Chhatbar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Janki Chhatbar

Bug Description

Containerised ODL is configured to log to console and access the logs via docker logs. Sometimes, older logs are deleted due to journal rollover. This makes debugging difficult. So, we move to logging to file and accessing the file from the host by mounting it.

Changed in tripleo:
assignee: nobody → Janki Chhatbar (jankihchhatbar)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/579494

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/queens)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: stable/queens
Review: https://review.openstack.org/579494
Reason: The gate is suffering of timeouts, we need to clear it. Please do not restore or recheck this patch, I'll take care of it when gate is stable again.

Changed in tripleo:
milestone: none → rocky-3
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.openstack.org/579494
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=a3948bed9f3df7c162cdd0252a1b31aedf2d553e
Submitter: Zuul
Branch: stable/queens

commit a3948bed9f3df7c162cdd0252a1b31aedf2d553e
Author: Janki Chhatbar <email address hidden>
Date: Mon Jul 2 14:27:41 2018 +0530

    ODL to log to file for containerised deployments

    ODL was configured to log to console and then access
    logs via docker logs. journal deletes older logs and
    sometimes the old logs are not available. Move back
    to logging to file, which is a default mechanism.
    https://github.com/openstack/tripleo-heat-templates/
    blob/stable/queens/puppet/services/opendaylight-api.yaml#L68

    All relevant changes are already merged.
    https://review.openstack.org/#/c/567469/
    https://review.openstack.org/#/c/565756/

    There is WIP patch to move to stand-alone log config
    file for Rocky.
    https://review.openstack.org/#/c/575416/

    Change-Id: I686af4a85a3728b4583f376d28bdb1151845b25d
    Closes-Bug: 1779627

tags: added: in-stable-queens
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.5

This issue was fixed in the openstack/tripleo-heat-templates 8.0.5 release.

Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Revision history for this message
Janki Chhatbar (jankihchhatbar) wrote :

All relevant patches are merged. Closing the bug.

Changed in tripleo:
status: Triaged → Fix Committed
wes hayutin (weshayutin)
Changed in tripleo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.