Bug 2070792
Summary: | service "openshift-marketplace/marketplace-operator-metrics" is not annotated with capability | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yang Yang <yanyang> |
Component: | OLM | Assignee: | Per da Silva <pegoncal> |
OLM sub component: | OperatorHub | QA Contact: | Jian Zhang <jiazha> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | urgent | CC: | wking |
Version: | 4.11 | ||
Target Milestone: | --- | ||
Target Release: | 4.11.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-08-10 11:03:06 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: |
Description
Yang Yang
2022-04-01 01:36:14 UTC
Auditing a recent CI build: $ oc adm release extract --to manifests registry.ci.openshift.org/ocp/release:4.11.0-0.ci-2022-04-04-041224 Looks pretty good to me: $ grep -cr 'capability.openshift.io/name: "marketplace"' manifests | grep 0000_50_operator-marketplace_ manifests/0000_50_operator-marketplace_01_namespace.yaml:1 manifests/0000_50_operator-marketplace_04_service_account.yaml:1 manifests/0000_50_operator-marketplace_05_role.yaml:3 manifests/0000_50_operator-marketplace_06_role_binding.yaml:2 manifests/0000_50_operator-marketplace_07_configmap.yaml:1 manifests/0000_50_operator-marketplace_08_service.yaml:1 manifests/0000_50_operator-marketplace_09_operator-ibm-cloud-managed.yaml:1 manifests/0000_50_operator-marketplace_09_operator.yaml:1 manifests/0000_50_operator-marketplace_10_clusteroperator.yaml:1 manifests/0000_50_operator-marketplace_11_service_monitor.yaml:3 manifests/0000_50_operator-marketplace_12_prometheus_rule.yaml:1 $ diff -ru <(grep -cr 'capability.openshift.io/name: "marketplace"' manifests | grep 0000_50_operator-marketplace_) <(grep -cr '^kind: ' manifests | grep 0000_50_operator-marketplace_) ...no difference... I expect the next run linked from [1] to show the fix working. [2] uses commit 372ad0a7ffd90cde146c36c31d49ef930c302a8e , which is too old to contain [3]. [1]: https://testgrid.k8s.io/redhat-openshift-ocp-release-4.11-informing#periodic-ci-openshift-release-master-ci-4.11-e2e-aws-no-capabilities [2]: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.11-e2e-aws-no-capabilities/1510235989061144576 [3]: https://github.com/operator-framework/operator-marketplace/pull/465#event-6355531345 [1] doesn't hit this issue, so I'm moving back to ON_QA for another pass at verification. [1]: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.11-e2e-aws-no-capabilities/1510960797176565760 Hi W.Trevor, Yes, thanks! I retest it and details as follows: 1, Create an OCP with the below configs to disable the marketplace-operator, for example, https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/ocp-common/job/Flexy-install/91472/parameters/ baselineCapabilitySet: None mac:~ jianzhang$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.11.0-0.nightly-2022-04-06-000911 True False 16m Cluster version is 4.11.0-0.nightly-2022-04-06-000911 mac:~ jianzhang$ oc get ns|grep marketplace mac:~ jianzhang$ oc get catalogsource No openshift-marketplace project found, looks good. 2, Check if service `marketplace-operator-metrics` disabled. mac:~ jianzhang$ oc get pods -n openshift-cluster-version NAME READY STATUS RESTARTS AGE cluster-version-operator-5b88bfbcb4-fp5n7 1/1 Running 0 46m mac:~ jianzhang$ oc -n openshift-cluster-version logs cluster-version-operator-5b88bfbcb4-fp5n7 > cvo.log mac:~ jianzhang$ grep "marketplace-operator-metrics" cvo.log I0406 02:55:20.354733 1 sync_worker.go:860] Running sync for service "openshift-marketplace/marketplace-operator-metrics" (609 of 786) I0406 02:55:20.354745 1 sync_worker.go:868] Skipping precreation of service "openshift-marketplace/marketplace-operator-metrics" (609 of 786): disabled capabilities: marketplace The "openshift-marketplace/marketplace-operator-metrics" service was skipped. Looks good to me, verify it. 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 Container Platform 4.11.0 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. https://access.redhat.com/errata/RHSA-2022:5069 |