Hide Forgot
verify zhaoxia@xzha-mac bug-1946838 % oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.7.0-0.nightly-2021-04-15-190830 True False 62m Cluster version is 4.7.0-0.nightly-2021-04-15-190830 zhaoxia@xzha-mac bug-1946838 % oc exec catalog-operator-75bd596744-gkc7s -- olm --version OLM version: 0.17.0 git commit: cdf51cddb619e84e2ce5be78ab2d7e7f6d748ec6 1. Install an AllNAmespace operator zhaoxia@xzha-mac bug % cat sub.yaml apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: klusterlet-operator namespace: openshift-operators spec: channel: stable installPlanApproval: Automatic name: klusterlet source: community-operators sourceNamespace: openshift-marketplace zhaoxia@xzha-mac bug % oc apply -f sub.yaml subscription.operators.coreos.com/klusterlet-operator created zhaoxia@xzha-mac bug % oc get sub -A NAMESPACE NAME PACKAGE SOURCE CHANNEL openshift-operators klusterlet-operator klusterlet community-operators stable zhaoxia@xzha-mac bug % oc get csv -A NAMESPACE NAME DISPLAY VERSION REPLACES PHASE default klusterlet.v0.3.0 Klusterlet 0.3.0 klusterlet.v0.2.0 Installing kube-node-lease klusterlet.v0.3.0 Klusterlet 0.3.0 klusterlet.v0.2.0 Installing kube-public klusterlet.v0.3.0 Klusterlet 0.3.0 klusterlet.v0.2.0 Installing kube-system klusterlet.v0.3.0 Klusterlet 0.3.0 klusterlet.v0.2.0 Installing openshift-apiserver-operator klusterlet.v0.3.0 Klusterlet 0.3.0 klusterlet.v0.2.0 Installing openshift-apiserver klusterlet.v0.3.0 Klusterlet 0.3.0 klusterlet.v0.2.0 Installing openshift-authentication-operator klusterlet.v0.3.0 Klusterlet 0.3.0 klusterlet.v0.2.0 Installing openshift-authentication klusterlet.v0.3.0 Klusterlet 0.3.0 klusterlet.v0.2.0 Installing openshift-cloud-credential-operator klusterlet.v0.3.0 Klusterlet 0.3.0 klusterlet.v0.2.0 Installing .... 2. Add a namespace zhaoxia@xzha-mac bug % oc new-project test-1 Now using project "test-1" on server "https://api.xzha0416-4.7.qe.devcluster.openshift.com:6443". You can add applications to this project with the 'new-app' command. For example, try: oc new-app rails-postgresql-example to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application: kubectl create deployment hello-node --image=k8s.gcr.io/serve_hostname zhaoxia@xzha-mac bug % oc get csv NAME DISPLAY VERSION REPLACES PHASE klusterlet.v0.3.0 Klusterlet 0.3.0 klusterlet.v0.2.0 3. View the Operator object , check there is no Copied CSVs zhaoxia@xzha-mac bug % oc get operator klusterlet.openshift-operators -o yaml | grep -i Copied zhaoxia@xzha-mac bug % oc get operator klusterlet.openshift-operators -n test-1 -o yaml apiVersion: operators.coreos.com/v1 kind: Operator metadata: creationTimestamp: "2021-04-16T10:17:35Z" generation: 1 name: klusterlet.openshift-operators resourceVersion: "55220" selfLink: /apis/operators.coreos.com/v1/operators/klusterlet.openshift-operators uid: 652d5171-2cf0-420a-89c5-b34f276dd0c0 spec: {} status: components: labelSelector: matchExpressions: - key: operators.coreos.com/klusterlet.openshift-operators operator: Exists refs: - apiVersion: apps/v1 conditions: - lastTransitionTime: "2021-04-16T10:18:02Z" lastUpdateTime: "2021-04-16T10:18:02Z" message: Deployment has minimum availability. reason: MinimumReplicasAvailable status: "True" type: Available - lastTransitionTime: "2021-04-16T10:17:42Z" lastUpdateTime: "2021-04-16T10:18:02Z" message: ReplicaSet "klusterlet-777dc6c97f" has successfully progressed. reason: NewReplicaSetAvailable status: "True" type: Progressing kind: Deployment name: klusterlet namespace: openshift-operators - apiVersion: v1 kind: ServiceAccount name: klusterlet namespace: openshift-operators - apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole name: klusterlet.v0.3.0-dc9864f65 - apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding name: klusterlet.v0.3.0-dc9864f65 - apiVersion: apiextensions.k8s.io/v1 conditions: - lastTransitionTime: "2021-04-16T10:17:41Z" message: no conflicts found reason: NoConflicts status: "True" type: NamesAccepted - lastTransitionTime: "2021-04-16T10:17:41Z" message: the initial names have been accepted reason: InitialNamesAccepted status: "True" type: Established kind: CustomResourceDefinition name: klusterlets.operator.open-cluster-management.io - apiVersion: operators.coreos.com/v1alpha1 conditions: - lastTransitionTime: "2021-04-16T10:17:37Z" message: all available catalogsources are healthy reason: AllCatalogSourcesHealthy status: "False" type: CatalogSourcesUnhealthy kind: Subscription name: klusterlet-operator namespace: openshift-operators - apiVersion: operators.coreos.com/v1alpha1 conditions: - lastTransitionTime: "2021-04-16T10:17:41Z" lastUpdateTime: "2021-04-16T10:17:41Z" status: "True" type: Installed kind: InstallPlan name: install-bmkm9 namespace: openshift-operators - apiVersion: operators.coreos.com/v1alpha1 conditions: - lastTransitionTime: "2021-04-16T10:18:03Z" lastUpdateTime: "2021-04-16T10:18:03Z" message: install strategy completed with no errors reason: InstallSucceeded status: "True" type: Succeeded kind: ClusterServiceVersion name: klusterlet.v0.3.0 namespace: openshift-operators - apiVersion: operators.coreos.com/v1 kind: OperatorCondition name: klusterlet.v0.3.0 namespace: openshift-operators LGTM, verified
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.8 security and bug fix 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-2021:1225