Description of problem: In ipv6 and disconnect installation, samples operator set to Removed during the bootstrap state. But still alert for SamplesInvalidConfig and SamplesMissingSecret events. Version-Release number of selected component (if applicable): 4.4.0-0.nightly-2020-03-12-052849 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: There is no $ oc describe config.samples cluster Name: cluster Namespace: Labels: <none> Annotations: <none> API Version: samples.operator.openshift.io/v1 Kind: Config Metadata: Creation Timestamp: 2020-03-13T04:18:10Z Finalizers: samples.operator.openshift.io/finalizer Generation: 1 Resource Version: 17054 Self Link: /apis/samples.operator.openshift.io/v1/configs/cluster UID: af601c7e-2508-486f-a5f4-0e921a01f5d7 Spec: Architectures: x86_64 Management State: Removed Status: Conditions: Last Transition Time: 2020-03-13T04:18:16Z Last Update Time: 2020-03-13T04:18:16Z Status: False Type: RemovePending Last Transition Time: 2020-03-13T04:18:13Z Last Update Time: 2020-03-13T04:18:13Z Status: False Type: SamplesExist Last Transition Time: 2020-03-13T04:18:13Z Last Update Time: 2020-03-13T04:18:13Z Status: False Type: ImageChangesInProgress Last Transition Time: 2020-03-13T04:18:13Z Last Update Time: 2020-03-13T04:18:13Z Status: False Type: ImportImageErrorsExist Management State: Removed Version: 4.4.0-0.nightly-2020-03-12-052849 Events: <none> $ oc describe co openshift-samples Name: openshift-samples Namespace: Labels: <none> Annotations: <none> API Version: config.openshift.io/v1 Kind: ClusterOperator Metadata: Creation Timestamp: 2020-03-13T04:18:10Z Generation: 1 Resource Version: 17017 Self Link: /apis/config.openshift.io/v1/clusteroperators/openshift-samples UID: ea0e8b22-a0ad-4e1a-a031-3e33b34f3349 Spec: Status: Conditions: Last Transition Time: 2020-03-13T04:18:10Z Reason: TermsBasedRegistryUnreacahable Status: False Type: Progressing Last Transition Time: 2020-03-13T04:18:10Z Reason: TermsBasedRegistryUnreacahable Status: False Type: Degraded Last Transition Time: 2020-03-13T04:18:16Z Reason: TermsBasedRegistryUnreacahable Status: True Type: Available Extension: <nil> Related Objects: Group: samples.operator.openshift.io Name: cluster Resource: configs Group: Name: openshift-cluster-samples-operator Resource: namespaces Group: Name: openshift Resource: namespaces Versions: Name: operator Version: 4.4.0-0.nightly-2020-03-12-052849 Events: <none> Expected results: Should not alert for that events. Additional info: The managed status oc describe config.samples Name: cluster Namespace: Labels: <none> Annotations: <none> API Version: samples.operator.openshift.io/v1 Kind: Config Metadata: Creation Timestamp: 2020-03-12T02:47:28Z Finalizers: samples.operator.openshift.io/finalizer Generation: 1 Resource Version: 13641 Self Link: /apis/samples.operator.openshift.io/v1/configs/cluster UID: 9b1bed13-a870-4936-94e3-96736bb83f4d Spec: Architectures: x86_64 Management State: Managed Status: Architectures: x86_64 Conditions: Last Transition Time: 2020-03-12T02:47:28Z Last Update Time: 2020-03-12T02:47:28Z Status: True Type: ImportCredentialsExist Last Transition Time: 2020-03-12T02:47:33Z Last Update Time: 2020-03-12T02:47:33Z Status: True Type: ConfigurationValid Last Transition Time: 2020-03-12T02:47:28Z Last Update Time: 2020-03-12T02:47:31Z Status: False Type: ImportImageErrorsExist Last Transition Time: 2020-03-12T02:47:39Z Last Update Time: 2020-03-12T02:47:39Z Status: False Type: ImageChangesInProgress Last Transition Time: 2020-03-12T02:47:36Z Last Update Time: 2020-03-12T02:47:36Z Status: True Type: SamplesExist Last Transition Time: 2020-03-12T02:47:33Z Last Update Time: 2020-03-12T02:47:33Z Status: False Type: RemovePending Last Transition Time: 2020-03-12T02:47:33Z Last Update Time: 2020-03-12T02:47:33Z Status: False Type: MigrationInProgress Management State: Managed Version: 4.4.0-0.nightly-2020-03-11-212258
Created attachment 1669861 [details] alert of samples operator
fyi @XiuJuan given the priority/severity here and low PM scores, I'm going to close the 4.3.z and 4.4.z clones of this. But I'll give you a chance to chime in before I do so.
Verified with 4.5.0-0.nightly-2020-03-18-115438 cluster. Abort metrics when samples operator is set to Unmanaged/Removed state.
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 (OpenShift Container Platform 4.5 image release advisory), 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/RHBA-2020:2409