Description of problem: Recently opendaylight logs moved from /var/log/containers/opendaylight to using docker logs opendaylight_api command. There should be a readme file under /var/log/containers/opendaylight documenting the move. It should be also documented in the Product documentation. Version-Release number of selected component (if applicable): openstack-tripleo-heat-templates-8.0.2-0.20180327213843.f25e2d8.el7ost.noarch How reproducible: Steps to Reproduce: 1. Verify there is no readme file for opendaylight under /var/log/containers/opendaylight 2. 3. Actual results: Expected results: Additional info:
Created doc bug to ensure this change is captured for OSP 13 ODL guide.
Janki, any progress on this?
I think better place to have this readme is at /var/log/opendaylight rather than /var/log/containers/opendaylight as anybody new to the setup will look at this location first. Also all other services have readme at this location with content (example heat) "Log files from heat containers can be found under /var/log/containers/heat and /var/log/containers/httpd/heat-api*."
This was cherry picked and merged to stable/queens
@Itzik, I think it is safe to move this to verified now. Its been merged upstream for quite some time now.
I don't see it in: openstack-tripleo-heat-templates-8.0.2-33.el7ost.noarch
@Itzik, you need an rpm with this fix: https://review.openstack.org/#/c/565756/
Please verify with openstack-tripleo-heat-templates-8.0.2-35.el7ost.noarch. It has all the changes and readme file is created in my machine running this rpm. P.S. Itzik, adding you to this needinfo just to notify you of this comment.
Steps to verify: Make sure there is a file "/var/log/opendaylight/readme.txt" on each overcloud controller node with content "Logs from OpenDaylight container can be found at /var/log/containers/opendaylight/karaf.log"
To verify: Ensure there is a /var/log/opendaylight/readme.txt file with content "Logs from OpenDaylight container can be found at /var/log/containers/opendaylight/karaf.log"
Is this still needed since bug 1597665 was fixed?
Yes. This bug is about having a README file at /var/log/opendaylight/ saying where ODL logs can be found. bug 1597665 is about having actual karaf log files at /var/log/containers/opendaylight.
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible. If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-". To add draft documentation text: * Select the documentation type from the "Doc Type" drop down field. * A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2574