Bug 1813175
| Summary: | Still alert for SamplesInvalidConfig and SamplesMissingSecret events when samples operator set to removed during bootstrap | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | XiuJuan Wang <xiuwang> | ||||
| Component: | Samples | Assignee: | Gabe Montero <gmontero> | ||||
| Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.4 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
Cause: samples operator would still send alerts about invalid configuration or missing image pull secrets when it was boostrapped as removed, meaning valid config or pull secrets are not required or set up
Consequence: misleading and confusing alerts are provided to users
Fix: samples operator was updated to not fire alerts related to importing samples when it was bootstrapped as removed
Result: these confusing / misleading alerts when samples operator is removed are no longer sent
|
Story Points: | --- | ||||
| Clone Of: | |||||||
| : | 1814395 1814396 (view as bug list) | Environment: | |||||
| Last Closed: | 2020-08-04 18:05:29 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: | 1814395 | ||||||
| Attachments: |
|
||||||
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 |
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