Bug 1948022 - Some on-prem namespaces missing from must-gather
Summary: Some on-prem namespaces missing from must-gather
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Machine Config Operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.8.0
Assignee: Ben Nemec
QA Contact: Michael Nguyen
Depends On:
Blocks: 1950498
TreeView+ depends on / blocked
Reported: 2021-04-09 18:59 UTC by Ben Nemec
Modified: 2021-08-03 03:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Missing namespaces from machine-config-operator relatedObjects. Consequence: Logs for some on-prem services were not collected in must-gather. Fix: Added necessary namespaces to machine-config-operator relatedObjects Result: Logs for on-prem services are collected in must-gather.
Clone Of:
Last Closed: 2021-07-27 22:58:43 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift machine-config-operator pull 2460 0 None open Bug 1948022: Add on-prem namespaces to relatedObjects 2021-04-09 19:02:30 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:59:12 UTC

Description Ben Nemec 2021-04-09 18:59:48 UTC
Description of problem: Currently must-gather only retrieves logs for pods running in the openshift-kni-infra namespace. For other platforms we may have pods running in the openshift-(openstack|ovirt|vsphere)-infra namespaces as well. They need to be captured in must-gather as well.

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

How reproducible: Always

Steps to Reproduce:
1. Run must-gather against an openstack, ovirt, or vsphere cluster.

Actual results: No logs are captured for the on-prem networking services.

Expected results: Logs are captured.

Additional info: Currently the kni namespace is explicitly listed in must-gather, but we should just put all of these namespaces in the relatedObjects for MCO.

Comment 2 Michael Nguyen 2021-04-27 16:43:09 UTC
Verified on 4.8.0-0.nightly-2021-04-26-151924.  Must gather contains the other namespaces.

$ echo $PWD && ls | grep -e kni-infra -e openstack-infra -e ovirt-infra -e vsphere-infra
[mnguyen@boosted namespaces]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-04-26-151924   True        False         85m     Cluster version is 4.8.0-0.nightly-2021-04-26-151924

Comment 5 errata-xmlrpc 2021-07-27 22:58:43 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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.


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