Bug 1900496

Summary: (release-4.7) Collect spec config for clusteroperator resources
Product: OpenShift Container Platform Reporter: Tomas Remes <tremes>
Component: Insights OperatorAssignee: Tomas Remes <tremes>
Status: CLOSED ERRATA QA Contact: Pavel Šimovec <psimovec>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, inecas, mklika, tremes
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Collect generic control pane configs for "operator.openshift.io" resources. Reason: Provide more information for support when troubleshooting. See https://issues.redhat.com/browse/INSIGHTOCP-54, https://issues.redhat.com/browse/INSIGHTOCP-159, https://issues.redhat.com/browse/INSIGHTOCP-49 Result: Insight-operator archive now contains config files for all the available control pane resources from "operator.openshift.io"
Story Points: ---
Clone Of:
: 1905031 (view as bug list) Environment:
Last Closed: 2021-02-24 15:35:25 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:
Bug Depends On:    
Bug Blocks: 1905031    

Description Tomas Remes 2020-11-23 08:17:59 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Pavel Šimovec 2020-12-03 15:41:40 UTC
Thanks to documentation changes in this PR I have found out that StatefulSets are not collected, but it's not a part of this code.

=== RUN   TestArchiveContains/ImagePrunerConfiguration
    main_test.go:389: 1 image pruner configuration file matches pattern `^config/clusteroperator/imageregistry\.operator\.openshift\.io/imagepruner/cluster\.json$`
=== RUN   TestArchiveContains/ClusterImageRegistryConfiguration
    main_test.go:389: 1 cluster Image Registry configuration file matches pattern `^config/clusteroperator/imageregistry\.operator\.openshift\.io/config/cluster\.json$`
=== RUN   TestArchiveContains/ClusterOperators
    main_test.go:389: 33 cluster operators files match pattern `^config/clusteroperator/.*\.json$`

cluster version 4.6.1
VERIFIED on `git checkout d8e5c68d4a4ad3588c9fe9da37042e8d325b4470`

Comment 5 errata-xmlrpc 2021-02-24 15:35:25 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.7.0 security, bug fix, and enhancement 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-2020:5633