Bug 2208641

Summary: [4.12] must-gather doesn't collect ruletebles
Product: Container Native Virtualization (CNV) Reporter: Debarati Basu-Nag <dbasunag>
Component: LoggingAssignee: Dharmit Shah <dshah>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12.3CC: dbasunag, kmajcher, orevah, oshoval, sasundar, stirabos
Target Milestone: ---Keywords: Reopened
Target Release: 4.12.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry-container-v4.12.5-9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2193081 Environment:
Last Closed: 2023-08-01 14:51:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2193081, 2214454    
Bug Blocks:    

Comment 4 SATHEESARAN 2023-07-14 11:26:57 UTC
Verified with CNV v4.12.5-23 with the following cases:

1. In a 6 node cluster ( 3 master, 3 worker ), created a fedora VM.
2. Run must-gather
# oc adm must-gather --image=<image> -- /usr/bin/gather --vms_details
3. Check for the contents of ruletables.txt file
# cat must-gather.local.4129534662964224807/<image_name_in_registry>/namespaces/default/vms/fedora-x2mgi1jb1h3es5ia/virt-launcher-fedora-x2mgi1jb1h3es5ia-tshm2.ruletables.txt
table ip filter {
	chain INPUT {
		type filter hook input priority filter; policy accept;
	}

.....

The expected file is available and its has the right set of contents available.

Repeated the test by running the must-gather pod on the node where VM is running.
1. Find out the node, where the VM is running
2. Run must-gather with '--node-name=<node-where-vm-running>'
# oc adm must-gather --node-name=<node-name> --image=<image> -- /usr/bin/gather --vms_details
table ip filter {
	chain INPUT {
		type filter hook input priority filter; policy accept;
	}
The expected file is available and its has the right set of contents available.

Based on the above observation, marking this bug as VERIFIED

Comment 10 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

Comment 11 Red Hat Bugzilla 2024-01-24 04:25:33 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days