Bug 1790612
| Summary: | [ISV][AUTO] Couchbase Operator stays stuck with UpgradePending status | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Bruno Andrade <bandrade> |
| Component: | ISV Operators | Assignee: | Matt Dorn <mdorn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Salvatore Colangelo <scolange> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.4 | CC: | aos-bugs, jiazha, mdorn, scolange, sd-ecosystem, tbuskey, vlaad, yanpzhan, yapei |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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-25 20:33:02 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: | 1791399 | ||
| Bug Blocks: | 1779858 | ||
*** Bug 1785102 has been marked as a duplicate of this bug. *** *** Bug 1811512 has been marked as a duplicate of this bug. *** *** Bug 1815304 has been marked as a duplicate of this bug. *** Hi ,
below the step :
1. Install Couchbase oeprator on single namespace from console
[scolange@scolange ~]$ oc get sub
NAME PACKAGE SOURCE CHANNEL
couchbase-enterprise-certified couchbase-enterprise-certified certified-operators stable
[scolange@scolange ~]$ oc get csv
NAME DISPLAY VERSION REPLACES PHASE
couchbase-operator.v1.2.2 Couchbase Operator 1.2.2 Succeeded
[scolange@scolange ~]$ oc get ip
NAME CSV APPROVAL APPROVED
install-l65qn couchbase-operator.v1.2.2 Automatic true
2. Verify the status of CSV
[scolange@scolange ~]$ oc get sub -o yaml
apiVersion: v1
items:
- apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
creationTimestamp: "2020-05-05T12:27:36Z"
generation: 1
name: couchbase-enterprise-certified
namespace: scolange
resourceVersion: "718792"
selfLink: /apis/operators.coreos.com/v1alpha1/namespaces/scolange/subscriptions/couchbase-enterprise-certified
uid: 0ea7c153-58b9-4681-8995-6294ee552fff
spec:
channel: stable
installPlanApproval: Automatic
name: couchbase-enterprise-certified
source: certified-operators
sourceNamespace: openshift-marketplace
startingCSV: couchbase-operator.v1.2.2
status:
catalogHealth:
- catalogSourceRef:
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
name: certified-operators
namespace: openshift-marketplace
resourceVersion: "657861"
uid: 8903cd73-d7b2-46f3-abd9-b0ee95a6feb2
healthy: true
lastUpdated: "2020-05-05T12:27:36Z"
- catalogSourceRef:
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
name: community-operators
namespace: openshift-marketplace
resourceVersion: "657638"
uid: 961b75e7-efd8-4c6b-9106-32ac669d9be0
healthy: true
lastUpdated: "2020-05-05T12:27:36Z"
- catalogSourceRef:
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
name: qe-app-registry
namespace: openshift-marketplace
resourceVersion: "657866"
uid: cf6ea09e-9824-4b9b-9063-8b7935903dae
healthy: true
lastUpdated: "2020-05-05T12:27:36Z"
- catalogSourceRef:
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
name: redhat-marketplace
namespace: openshift-marketplace
resourceVersion: "657862"
uid: d9edb038-a67e-4ab5-aa7a-66e59cd7bc34
healthy: true
lastUpdated: "2020-05-05T12:27:36Z"
- catalogSourceRef:
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
name: redhat-operators
namespace: openshift-marketplace
resourceVersion: "657863"
uid: 7066b53e-8a05-44c8-a29c-770db4655da9
healthy: true
lastUpdated: "2020-05-05T12:27:36Z"
conditions:
- lastTransitionTime: "2020-05-05T12:27:36Z"
message: all available catalogsources are healthy
reason: AllCatalogSourcesHealthy
status: "False"
type: CatalogSourcesUnhealthy
currentCSV: couchbase-operator.v1.2.2
installPlanGeneration: 1
installPlanRef:
apiVersion: operators.coreos.com/v1alpha1
kind: InstallPlan
name: install-l65qn
namespace: scolange
resourceVersion: "718715"
uid: 2321f599-7875-4e6a-b446-973b348a0df5
installedCSV: couchbase-operator.v1.2.2
installplan:
apiVersion: operators.coreos.com/v1alpha1
kind: InstallPlan
name: install-l65qn
uuid: 2321f599-7875-4e6a-b446-973b348a0df5
lastUpdated: "2020-05-05T12:27:40Z"
state: AtLatestKnown
kind: List
metadata:
resourceVersion: ""
selfLink: ""
[scolange@scolange ~]$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.4.3 True False 38h Cluster version is 4.4.3
LGMT!
|
Description of problem: After creating a subscription for a SingleNamespace of CouchBase. Here is the status of the subscription: apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: creationTimestamp: '2020-01-13T17:59:14Z' generation: 1 name: couchbase-enterprise-certified namespace: test-operators resourceVersion: '314779' selfLink: >- /apis/operators.coreos.com/v1alpha1/namespaces/test-operators/subscriptions/couchbase-enterprise-certified uid: 00c57e16-e409-476c-8280-b59f4053d586 spec: channel: stable installPlanApproval: Automatic name: couchbase-enterprise-certified source: certified-operators sourceNamespace: openshift-marketplace startingCSV: couchbase-operator.v1.2.1 status: catalogHealth: - catalogSourceRef: apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource name: certified-operators namespace: openshift-marketplace resourceVersion: '245859' uid: 3812668b-877b-4fe1-b609-0aa1847ec422 healthy: true lastUpdated: '2020-01-13T17:59:14Z' - catalogSourceRef: apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource name: community-operators namespace: openshift-marketplace resourceVersion: '245851' uid: 745fda1c-6e74-46dd-ad56-256d506ccff6 healthy: true lastUpdated: '2020-01-13T17:59:14Z' - catalogSourceRef: apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource name: redhat-operators namespace: openshift-marketplace resourceVersion: '245852' uid: 9b9254ab-27b7-4b72-931a-878c5a94d1fe healthy: true lastUpdated: '2020-01-13T17:59:14Z' conditions: - lastTransitionTime: '2020-01-13T17:59:14Z' message: all available catalogsources are healthy reason: AllCatalogSourcesHealthy status: 'False' type: CatalogSourcesUnhealthy - lastTransitionTime: '2020-01-13T17:59:16Z' reason: InstallComponentFailed status: 'True' type: InstallPlanFailed currentCSV: couchbase-operator.v1.2.1 installPlanRef: apiVersion: operators.coreos.com/v1alpha1 kind: InstallPlan name: install-f69b9 namespace: test-operators resourceVersion: '314764' uid: 513cef42-e4b8-4a27-bff0-296b27327d1e installplan: apiVersion: operators.coreos.com/v1alpha1 kind: InstallPlan name: install-f69b9 uuid: 513cef42-e4b8-4a27-bff0-296b27327d1e lastUpdated: '2020-01-13T17:59:16Z' state: UpgradePending Version-Release number of selected component (if applicable): OCP 4.4.0-0.nightly-2020-01-09-013524 CouchBase Operator Version: v1.2.1 How reproducible: Always Steps to Reproduce: 1. Create a subscription on 4.4 Cluster of CouchBase Operator Actual results: Fail to install CouchBase Operator Expected results: Install the CouchBase Operator successfully.