Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionMichele Baldessari
2020-05-26 16:29:24 UTC
Description of problem:
More and more logging information in OSP has moved to /var/log/containers and its subfolders:
[root@controller-2 haproxy]# ls -l /var/log/containers/
total 8
drwxr-x---. 2 42407 42407 107 May 26 16:01 cinder
drwxr-x---. 2 42415 42415 21 May 26 10:14 glance
drwxr-x---. 2 root root 25 May 26 10:05 haproxy
drwxr-x---. 2 42418 42418 73 May 26 10:13 heat
drwxr-x---. 2 48 48 25 May 26 10:03 horizon
drwxr-x---. 12 root root 178 May 26 09:44 httpd
drwxr-x---. 2 42425 42425 98 May 26 16:01 keystone
drwxr-x---. 2 42457 42457 6 May 26 09:44 memcached
drwxr-x---. 2 42435 42435 24 May 26 10:13 neutron
drwxr-x---. 2 42436 42436 181 May 26 16:01 nova
drwxr-x---. 2 root root 32 May 26 10:14 openvswitch
drwxr-x---. 2 42482 42482 27 May 26 10:14 placement
drwxr-x---. 2 42460 42460 23 May 26 10:04 redis
drwxr-xr-x. 2 root root 4096 May 26 15:50 stdouts
drwxr-x---. 2 root root 23 May 26 10:13 swift
Especially stdouts is particularly relevant these days, so I think a default sosreport run should simply collect all of this stuff.
The only thing we seem to be logging is the following:
tar tvf /var/tmp/sosreport-controller-2-2020-05-26-zoyxnlx.tar.xz |grep log/containers
drwxr-x--- root/root 0 2020-05-26 09:55 sosreport-controller-2-2020-05-26-zoyxnlx/var/log/containers/
drwxr-x--- root/root 0 2020-05-26 10:14 sosreport-controller-2-2020-05-26-zoyxnlx/var/log/containers/placement/
-rw-r--r-- 42482/42482 173701 2020-05-26 15:52 sosreport-controller-2-2020-05-26-zoyxnlx/var/log/containers/placement/placement.log
Version-Release number of selected component (if applicable):
sos-3.8-2.el8.noarch
We should collect such logs since 3.8, see containers_log plugin. Maybe you refer to duplicate bug due to a typo:
https://bugzilla.redhat.com/show_bug.cgi?id=1834421
that will be fixed in 8.3 and upcoming 8.2.0.z ?
Comment 2Michele Baldessari
2020-05-26 16:55:47 UTC
Ah thanks Pavel, I did not notice that BZ and got a bit concerned for a sec there ;)
Yep that fixes it totally for us. Closing this as a dupe.
*** This bug has been marked as a duplicate of bug 1834421 ***