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.
Bug 1744555 - [sos] Fix OVN plugins and add support for containerized environments
Summary: [sos] Fix OVN plugins and add support for containerized environments
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sos
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: rc
: ---
Assignee: Pavel Moravec
QA Contact: Miroslav Hradílek
URL:
Whiteboard:
Depends On:
Blocks: 1751578
TreeView+ depends on / blocked
 
Reported: 2019-08-22 12:21 UTC by Daniel Alvarez Sanchez
Modified: 2020-03-31 20:04 UTC (History)
6 users (show)

Fixed In Version: sos-3.8-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1751578 (view as bug list)
Environment:
Last Closed: 2020-03-31 20:04:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github sosreport sos pull 1767 0 'None' 'closed' 'Fix and enhancements for OVN plugins' 2019-12-03 09:01:02 UTC
Red Hat Product Errata RHEA-2020:1127 0 None None None 2020-03-31 20:04:43 UTC

Description Daniel Alvarez Sanchez 2019-08-22 12:21:02 UTC
This bug was initially created as a copy of Bug #1744553

I am copying this bug because: 



The OVN plugins (host and central) do not support containerized environments and all the sos_commands related to OVN are empty.

The patches that fix this problem are in the following PR:

https://github.com/sosreport/sos/pull/1767

Comment 2 Pavel Moravec 2019-08-22 15:06:34 UTC
Too late for 7.8, rescheduling for potential inclusion in 7.9;

devel_ack+ will be granted after PR will be approved (some changes/feedback pending and will appear)

Comment 3 Daniel Alvarez Sanchez 2019-08-23 09:35:27 UTC
The business justification for the 'urgent' severity is that right now when OSP customers running OVN (which is fully supported since OSP13) send a sosreport, we don't have any data to be able to help them and solve escalations/customer cases.

Comment 4 Pavel Moravec 2019-08-24 17:38:26 UTC
(In reply to Daniel Alvarez Sanchez from comment #3)
> The business justification for the 'urgent' severity is that right now when
> OSP customers running OVN (which is fully supported since OSP13) send a
> sosreport, we don't have any data to be able to help them and solve
> escalations/customer cases.

OK, but until the upstream PR is accepted (Jake had some strong push-backs I do support), we can hardly do anything in downstream.

As is, I assume this to appear in 7.9.

Comment 5 Daniel Alvarez Sanchez 2019-09-05 13:12:56 UTC
Thanks, we need it for 7.7.z and 7.8 if it's still possible. We're not getting any OVN data in customers sosreports and makes troubleshooting really hard and time consuming with a lot of back and forth

Comment 6 Daniel Alvarez Sanchez 2019-09-05 13:15:24 UTC
From a validation perspective, we can help verifying this BZ.

Comment 9 Pavel Moravec 2019-09-12 07:17:17 UTC
(In reply to Daniel Alvarez Sanchez from comment #6)
> From a validation perspective, we can help verifying this BZ.

Hello,
please verify this BZ against RHEL7.8 candidate package:

A yum repository for the build of sos-3.8-2.el7 (task 23466178) is available at:

http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.8/2.el7/

You can install the rpms locally by putting this .repo file in your /etc/yum.repos.d/ directory:

http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.8/2.el7/sos-3.8-2.el7.repo

RPMs and build logs can be found in the following locations:
http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.8/2.el7/noarch/

The full list of available rpms is:
http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.8/2.el7/noarch/sos-3.8-2.el7.src.rpm
http://brew-task-repos.usersys.redhat.com/repos/official/sos/3.8/2.el7/noarch/sos-3.8-2.el7.noarch.rpm

Build output will be available for the next 21 days.

Comment 10 Pavel Moravec 2019-09-12 07:18:25 UTC
Approving to 7.7.2 z-stream.

Comment 12 Daniel Alvarez Sanchez 2019-09-16 15:46:49 UTC
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.7 (Maipo)

[root@overcloud-controller-0 sos_commands]# rpm -qa | grep sos
sos-3.8-2.el7.noarch


Generated a sosreport on a 3 controllers 3 computes setup and verified that there's data from both OVN databases as well as the local OVS database info has been pulled.

[root@overcloud-controller-0 sos_commands]# grep -c  _uuid ovn_central/docker_exec_ovn-dbs-bundle-docker-0_ovn-sbctl_list_Chassis
6

[root@overcloud-controller-0 sos_commands]# cat ovn_central/docker_exec_ovn-dbs-bundle-docker-0_ovn-nbctl_list_Logical_Switch_Port
_uuid               : 2aa2c199-6ed4-4209-b226-d9f3aed939a0
addresses           : []
dhcpv4_options      : []
dhcpv6_options      : []
dynamic_addresses   : []
enabled             : []
external_ids        : {}
name                : "lsp1"
options             : {}
parent_name         : []
port_security       : []
tag                 : []
tag_request         : []
type                : ""
up                  : false
[root@overcloud-controller-0

[root@overcloud-controller-0 sos_commands]# grep -c ovn ovn_host/ovs-vsctl_list_Open_vSwitch
1

Comment 17 errata-xmlrpc 2020-03-31 20:04:15 UTC
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/RHEA-2020:1127


Note You need to log in before you can comment on or make changes to this bug.