Bug 1790612 - [ISV][AUTO] Couchbase Operator stays stuck with UpgradePending status
Summary: [ISV][AUTO] Couchbase Operator stays stuck with UpgradePending status
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ISV Operators
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Matt Dorn
QA Contact: Salvatore Colangelo
URL:
Whiteboard:
: 1785102 1811512 1815304 (view as bug list)
Depends On: 1791399
Blocks: 1779858
TreeView+ depends on / blocked
 
Reported: 2020-01-13 18:13 UTC by Bruno Andrade
Modified: 2022-08-25 20:33 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-25 20:33:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bruno Andrade 2020-01-13 18:13:38 UTC
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.

Comment 9 Melvin Hillsman 2020-01-24 20:34:06 UTC
*** Bug 1785102 has been marked as a duplicate of this bug. ***

Comment 15 Matt Dorn 2020-03-19 19:25:05 UTC
*** Bug 1811512 has been marked as a duplicate of this bug. ***

Comment 16 Bruno Andrade 2020-03-20 00:20:24 UTC
*** Bug 1815304 has been marked as a duplicate of this bug. ***

Comment 19 Salvatore Colangelo 2020-05-05 12:43:25 UTC
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!


Note You need to log in before you can comment on or make changes to this bug.