openshift-kni / install-scripts

Installation scripts for OpenShift KNI clusters
14 stars 20 forks source link

CNV deployment fails with Error from server (NotFound): deployments.extensions \"hco-catalogsource-config\" not found #158

Closed mcornea closed 4 years ago

mcornea commented 4 years ago

Excerpt from make CNV stdout:

19:15:15  TASK [Run CNV make] ************************************************************
19:16:11  fatal: [rhhi-node-worker-0]: FAILED! => {"changed": true, "cmd": "set -o pipefail\nexport "+ echo 'Give the cluster 30 seconds to process catalogSourceConfig...'", "+ sleep 30", "+ oc wait deploy hco-catalogsource-config --for condition=available -n openshift-marketplace --timeout=360s", "Error from server (NotFound): deployments.extensions \"hco-catalogsource-config\" not found", "make[1]: *** [Makefile:8: deploy] Error 1", "make: *** [Makefile:25: CNV] Error 2"], "stdout": "", "stdout_lines": []}

We can see that rh-osbs-operators operatorsource failed with the message: 'The OperatorSource endpoint returned an empty manifest list'


[kni@rhhi-node-worker-0 ~]$ oc get pods -n openshift-marketplace
NAME                                    READY   STATUS    RESTARTS   AGE
certified-operators-8d79d5d57-zbmf6     1/1     Running   0          67m
community-operators-6b9d574c5f-s2xtr    1/1     Running   0          67m
local-storage-manifests-hkgkl           1/1     Running   0          56m
marketplace-operator-77957466bd-rsrbl   1/1     Running   0          67m
ocs-catalogsource-rqz6z                 1/1     Running   0          56m
redhat-operators-79bbc88576-bc5w8       1/1     Running   0          67m
[kni@rhhi-node-worker-0 ~]$ 
[kni@rhhi-node-worker-0 ~]$ 

[kni@rhhi-node-worker-0 ~]$ oc get operatorsource -n openshift-marketplace
NAME                  TYPE          ENDPOINT              REGISTRY              DISPLAYNAME           PUBLISHER   STATUS      MESSAGE                                                       AGE
certified-operators   appregistry   https://quay.io/cnr   certified-operators   Certified Operators   Red Hat     Succeeded   The object has been successfully reconciled                   106m
community-operators   appregistry   https://quay.io/cnr   community-operators   Community Operators   Red Hat     Succeeded   The object has been successfully reconciled                   106m
redhat-operators      appregistry   https://quay.io/cnr   redhat-operators      Red Hat Operators     Red Hat     Succeeded   The object has been successfully reconciled                   106m
rh-osbs-operators     appregistry   https://quay.io/cnr   rh-osbs-operators     rh-osbs-operators     Red Hat     Failed      The OperatorSource endpoint returned an empty manifest list   43m

[kni@rhhi-node-worker-0 ~]$ oc describe operatorsource/rh-osbs-operators -n openshift-marketplace 
Name:         rh-osbs-operators
Namespace:    openshift-marketplace
Labels:       <none>
Annotations:  <none>
API Version:  operators.coreos.com/v1
Kind:         OperatorSource
Metadata:
  Creation Timestamp:  2019-09-20T23:15:04Z
  Finalizers:
    finalizer.operatorsources.operators.coreos.com
  Generation:        4
  Resource Version:  36681
  Self Link:         /apis/operators.coreos.com/v1/namespaces/openshift-marketplace/operatorsources/rh-osbs-operators
  UID:               7a43e9a9-dbfc-11e9-bf10-5254000da15a
Spec:
  Authorization Token:
    Secret Name:       quay-registry-rh-osbs-operators
  Display Name:        rh-osbs-operators
  Endpoint:            https://quay.io/cnr
  Publisher:           Red Hat
  Registry Namespace:  rh-osbs-operators
  Type:                appregistry
Status:
  Current Phase:
    Last Transition Time:  2019-09-20T23:15:05Z
    Last Update Time:      2019-09-20T23:15:05Z
    Phase:
      Message:  The OperatorSource endpoint returned an empty manifest list
      Name:     Failed
Events:         <none>
rthallisey commented 4 years ago

it looks like you don't have access to the quay repos. Open the links to verify.

Brew https://quay.io/application/rh-osbs-operators/kubevirt-hyperconverged

Stage https://quay.io/application/redhat-operators-stage/kubevirt-hyperconverged

Fill out this form and ask for permissions https://docs.google.com/spreadsheets/d/1OyUtbu9aiAi3rfkappz5gcq5FjUbMQtJG4jZCNqVT20/edit#gid=0

mcornea commented 4 years ago

Thanks, the token I was using was not correct.