Bug 2216449

Summary: must-gather is using unavailable brctl command
Product: Container Native Virtualization (CNV) Reporter: nijin ashok <nashok>
Component: LoggingAssignee: Dharmit Shah <dshah>
Status: CLOSED ERRATA QA Contact: Debarati Basu-Nag <dbasunag>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.13.0CC: dbasunag, kmajcher, sasundar, sradco, stirabos
Target Milestone: ---   
Target Release: 4.14.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: hco-bundle-registry-container-v4.14.0.rhel9-1193 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-01 14:51:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description nijin ashok 2023-06-21 12:30:32 UTC
Description of problem:

brctl doesn't exist in the virt-launcer pod. The package bridge-utils which provides brctl was deprecated in rhel 7 and was removed in rhel 8. 


https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/deprecated_functionality#deprecated_packages


Version-Release number of selected component (if applicable):

OpenShift Virtualization   4.13.1

How reproducible:

100 %

Steps to Reproduce:

1. Run must-gather with /usr/bin/gather --vms_details. 
2. Check namespace/<namespace-name>/vms/<vm-name>/*bridge.txt
3. It will not collect bridge details.

Actual results:

must-gather is using the unavailable brctl command

Expected results:

Use bridge command to get the information about the bridge.

Additional info:

Comment 1 Debarati Basu-Nag 2023-07-14 15:16:41 UTC
Verified against CNV-v4.14.0.rhel9-1238

=======================
bridge link show:
###################################
3: pod8082e5dabf6@if77: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master k6t-8082e5dabf6 state forwarding priority 32 cost 2 
5: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1350 master k6t-eth0 state forwarding priority 32 cost 100 
7: tap8082e5dabf6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master k6t-8082e5dabf6 state forwarding priority 32 cost 100 
###################################

Comment 8 errata-xmlrpc 2023-08-01 14:51:33 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 (Important: OpenShift Virtualization 4.12.5 security and bug fix update), 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/RHSA-2023:4421