Bug 2216449 - must-gather is using unavailable brctl command
Summary: must-gather is using unavailable brctl command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Logging
Version: 4.13.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.14.0
Assignee: Dharmit Shah
QA Contact: Debarati Basu-Nag
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-21 12:30 UTC by nijin ashok
Modified: 2023-09-26 17:13 UTC (History)
5 users (show)

Fixed In Version: hco-bundle-registry-container-v4.14.0.rhel9-1193
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-01 14:51:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt must-gather pull 180 0 None Merged Use bridge command instead of brctl 2023-07-10 09:09:49 UTC
Red Hat Issue Tracker CNV-30156 0 None None None 2023-06-21 12:34:50 UTC
Red Hat Product Errata RHSA-2023:4421 0 None None None 2023-08-01 14:52:14 UTC

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


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