-
Bug
-
Resolution: Done
-
Major
-
4.11
-
OSDOCS Sprint 241, OSDOCS Sprint 242, OSDOCS Sprint 243
-
3
-
False
-
Description of problem: Version-Release number of selected component (if applicable): Server Version: 4.11.0-0.nightly-2022-08-15-152346 How reproducible: Always Steps to Reproduce: # Follow the official doc install Local Storage Operator via CLI local-storage-install_persistent-storage-local\ $ cat lso_sub_and_csv.yaml apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: name: local-operator-group namespace: openshift-local-storage labels: og_label: local-storage spec: targetNamespaces: - openshift-local-storage --- apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: local-storage-operator namespace: openshift-local-storage spec: channel: "4.11" installPlanApproval: Automatic name: local-storage-operator source: redhat-operators sourceNamespace: openshift-marketplace $ oc apply -f lso_sub_and_csv.yaml operatorgroup.operators.coreos.com/local-operator-group created subscription.operators.coreos.com/local-storage-operator created $ oc get sub local-storage-operator -o yaml apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: \| \{"apiVersion":"operators.coreos.com/v1alpha1","kind":"Subscription","metadata":{"annotations":{},"name":"local-storage-operator","namespace":"openshift-local-storage"},"spec":\{"channel":"4.11","installPlanApproval":"Automatic","name":"local-storage-operator","source":"redhat-operators","sourceNamespace":"openshift-marketplace"}} creationTimestamp: "2022-08-16T02:04:42Z" generation: 1 labels: operators.coreos.com/local-storage-operator.openshift-local-storage: "" name: local-storage-operator namespace: openshift-local-storage resourceVersion: "58502" uid: 90e56da6-9e76-4d48-98aa-6ca5d667a934 spec: channel: "4.11" installPlanApproval: Automatic name: local-storage-operator source: redhat-operators sourceNamespace: openshift-marketplace status: ... conditions: - lastTransitionTime: "2022-08-16T02:04:42Z" message: all available catalogsources are healthy reason: AllCatalogSourcesHealthy status: "False" type: CatalogSourcesUnhealthy - message: 'constraints not satisfiable: no operators found in channel 4.11 of package local-storage-operator in the catalog referenced by subscription local-storage-operator, subscription local-storage-operator exists' reason: ConstraintsNotSatisfiable status: "True" type: ResolutionFailed lastUpdated: "2022-08-16T02:04:43Z" Actual results: apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: local-storage-operator namespace: openshift-local-storage spec: channel: "stable" ... In Step2: Local Storage Operator Subscription could find the operators package |
- is duplicated by
-
OCPBUGS-14462 The OperatorGroup's spec.channel in the yaml example below is wrong.
- Closed
- links to
(1 links to)