-
Bug
-
Resolution: Not a Bug
-
Blocker
-
2.12.0.GA
-
None
-
False
-
False
-
OCP instance created by cluster bot.
Installation of CRW from catalog source based on 'brew.registry.redhat.io/rh-osbs/iib-pub-pending:v4.6' failed:
crwclt log
+ /mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/bin/crwctl server:deploy --no-olm-suggested-namespace --catalog-source-name=staging-catalog-source --catalog-source-namespace=openshift-marketplace --package-manifest-name=codeready-workspaces --olm-channel=latest --listr-renderer=verbose -n install-crw-using-crwctl › Installer type is set to: 'olm' [15:12:07] Verify Kubernetes API [started] › Current Kubernetes context: 'default/api-ci-ln-64wlngk-f76d1-origin-ci-int-gce-dev-openshift-com:6443/admin' [15:12:07] Verify Kubernetes API...OK [title changed] [15:12:07] Verify Kubernetes API...OK (it's OpenShift) [title changed] [15:12:07] Verify Kubernetes API...OK (it's OpenShift) [completed] [15:12:07] Looking for an already existing CodeReady Workspaces instance [started] [15:12:07] Verify if CodeReady Workspaces is deployed into namespace "install-crw-using-crwctl" [started] [15:12:08] Verify if CodeReady Workspaces is deployed into namespace "install-crw-using-crwctl"...it is not [title changed] [15:12:08] Verify if CodeReady Workspaces is deployed into namespace "install-crw-using-crwctl"...it is not [completed] [15:12:08] Looking for an already existing CodeReady Workspaces instance [completed] [15:12:08] Openshift preflight checklist [started] [15:12:08] Verify if oc is installed [started] [15:12:08] Verify if oc is installed...done. [title changed] [15:12:08] Verify if oc is installed...done. [completed] [15:12:08] Verify if openshift is running [started] [15:12:08] Verify if openshift is running...done. [title changed] [15:12:08] Verify if openshift is running...done. [completed] [15:12:08] Check OpenShift version [started] [15:12:09] Check OpenShift version: 4.x [title changed] [15:12:09] Check OpenShift version: 4.x [completed] [15:12:09] Check Kubernetes version [started] [15:12:09] Check Kubernetes version: Unknown. [title changed] [15:12:09] Check Kubernetes version: Unknown. [completed] [15:12:09] Openshift preflight checklist [completed] [15:12:09] Following CodeReady Workspaces logs [started] [15:12:09] Start following Operator logs [started] [15:12:09] Start following Operator logs...done [title changed] [15:12:09] Start following Operator logs...done [completed] [15:12:09] Start following CodeReady Workspaces Server logs [started] [15:12:09] Start following CodeReady Workspaces Server logs...done [title changed] [15:12:09] Start following CodeReady Workspaces Server logs...done [completed] [15:12:09] Start following PostgreSQL logs [started] [15:12:09] Start following PostgreSQL logs...done [title changed] [15:12:09] Start following PostgreSQL logs...done [completed] [15:12:09] Start following Keycloak logs [started] [15:12:09] Start following Keycloak logs...done [title changed] [15:12:09] Start following Keycloak logs...done [completed] [15:12:09] Start following Plug-in Registry logs [started] [15:12:09] Start following Plug-in Registry logs...done [title changed] [15:12:09] Start following Plug-in Registry logs...done [completed] [15:12:09] Start following Devfile Registry logs [started] [15:12:09] Start following Devfile Registry logs...done [title changed] [15:12:09] Start following Devfile Registry logs...done [completed] [15:12:09] Start following CodeReady Workspaces Dashboard logs [started] [15:12:09] Start following CodeReady Workspaces Dashboard logs...done [title changed] [15:12:09] Start following CodeReady Workspaces Dashboard logs...done [completed] [15:12:09] Start following namespace events [started] [15:12:09] Start following namespace events...done [title changed] [15:12:09] Start following namespace events...done [completed] [15:12:09] Following CodeReady Workspaces logs [completed] [15:12:09] Running Olm installaion CodeReady Workspaces [started] [15:12:09] Check if OLM is pre-installed on the platform [started] [15:12:09] Check if OLM is pre-installed on the platform...done. [title changed] [15:12:09] Check if OLM is pre-installed on the platform...done. [completed] [15:12:09] Create Namespace (install-crw-using-crwctl) [started] [15:12:09] Create Namespace (install-crw-using-crwctl)...Done. [title changed] [15:12:09] Create Namespace (install-crw-using-crwctl)...Done. [completed] [15:12:09] Create operator group [started] [15:12:10] Create operator group...created new one. [title changed] [15:12:10] Create operator group...created new one. [completed] [15:12:10] Configure context information [started] [15:12:10] Configure context information...done. [title changed] [15:12:10] Configure context information...done. [completed] [15:12:10] Create operator subscription [started] [15:12:10] Create operator subscription...created new one. [title changed] [15:12:10] Create operator subscription...created new one. [completed] [15:12:10] Wait while subscription is ready [started] [15:12:16] Wait while subscription is ready...done. [title changed] [15:12:16] Wait while subscription is ready...done. [completed] [15:12:16] Wait while operator installed [started] [15:16:16] Wait while operator installed [failed] [15:16:16] undefined [15:16:16] Running Olm installaion CodeReady Workspaces [failed] [15:16:16] Cannot create property 'context' on string 'Timeout reached while waiting for "install-2tdxb" has go status 'Installed'.' Error: Command server:deploy failed. Error log: /home/hudson/.cache/crwctl/error.log.
There was incorrect digest in installPlan:
registry.stage.redhat.io/codeready-workspaces/crw-2-rhel8-operator-metadata@sha256:10ed487cf07db0d2d2763ed4c87fad787df8703565dbf467c6543046515b2e11
spec: approval: Automatic approved: true clusterServiceVersionNames: - crwoperator.v2.12.0 generation: 1 status: bundleLookups: - catalogSourceRef: name: staging-catalog-source namespace: openshift-marketplace conditions: - message: bundle contents have not yet been persisted to installplan status reason: BundleNotUnpacked status: 'True' type: BundleLookupNotPersisted - lastTransitionTime: '2021-10-13T19:12:17Z' message: unpack job not completed reason: JobIncomplete status: 'True' type: BundleLookupPending identifier: crwoperator.v2.12.0 path: >- registry.stage.redhat.io/codeready-workspaces/crw-2-rhel8-operator-metadata@sha256:10ed487cf07db0d2d2763ed4c87fad787df8703565dbf467c6543046515b2e11 properties: >- {"properties":[{"type":"olm.gvk","value":{"group":"org.eclipse.che","kind":"CheBackupServerConfiguration","version":"v1"}},{"type":"olm.gvk","value":{"group":"org.eclipse.che","kind":"CheCluster","version":"v1"}},{"type":"olm.gvk","value":{"group":"org.eclipse.che","kind":"CheClusterBackup","version":"v1"}},{"type":"olm.gvk","value":{"group":"org.eclipse.che","kind":"CheClusterRestore","version":"v1"}},{"type":"olm.package","value":{"packageName":"codeready-workspaces","version":"2.12.0"}}]} replaces: crwoperator.v2.11.0 catalogSources: [] phase: Installing
Correct digest for latest quay.io/repository/crw/crw-2-rhel8-operator-metadata:2.12-124 : sha256:7bf569df198e5d6c07164d9acd5b8b75e6b47ce18aa97cb69e6ffe3ec66f5b91
docker inspect
$ docker inspect registry.stage.redhat.io/codeready-workspaces/crw-2-rhel8-operator-metadata:2.12 [ { "Id": "sha256:35f9d3243511613c6e64b0bf7b94522378d913001bef1fc11bf1df42cb2fcf10", "RepoTags": [ "registry.stage.redhat.io/codeready-workspaces/crw-2-rhel8-operator-metadata:2.12" ], "RepoDigests": [ "registry.stage.redhat.io/codeready-workspaces/crw-2-rhel8-operator-metadata@sha256:10ed487cf07db0d2d2763ed4c87fad787df8703565dbf467c6543046515b2e11", "registry.stage.redhat.io/codeready-workspaces/crw-2-rhel8-operator-metadata@sha256:7bf569df198e5d6c07164d9acd5b8b75e6b47ce18aa97cb69e6ffe3ec66f5b91" ], "Parent": "", ...
There is only one RepoDigest in 2.11:
$ docker inspect registry.stage.redhat.io/codeready-workspaces/crw-2-rhel8-operator-metadata:2.11 [ { "Id": "sha256:687acf557c660439346d106eb187dd138316d626f75dcea8c039eb1c9da72b82", "RepoTags": [ "registry.stage.redhat.io/codeready-workspaces/crw-2-rhel8-operator-metadata:2.11" ], "RepoDigests": [ "registry.stage.redhat.io/codeready-workspaces/crw-2-rhel8-operator-metadata@sha256:19161cd377074dc9ac8699bb0dfe9d9643e3794f89485ebecd93a1771c4e37ce" ], "Parent": "",
Update: CRW installed successfully with metadata image on brew registry having 10ed487cf07db0d2d2763ed4c87fad787df8703565dbf467c6543046515b2e11 digest :
spec: approval: Automatic approved: true clusterServiceVersionNames: - crwoperator.v2.12.0 generation: 1 status: bundleLookups: - catalogSourceRef: name: crw-2-12-osbs-latest namespace: openshift-marketplace identifier: crwoperator.v2.12.0 path: >- registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata@sha256:10ed487cf07db0d2d2763ed4c87fad787df8703565dbf467c6543046515b2e11 properties: >- {"properties":[{"type":"olm.gvk","value":{"group":"org.eclipse.che","kind":"CheBackupServerConfiguration","version":"v1"}},{"type":"olm.gvk","value":{"group":"org.eclipse.che","kind":"CheCluster","version":"v1"}},{"type":"olm.gvk","value":{"group":"org.eclipse.che","kind":"CheClusterBackup","version":"v1"}},{"type":"olm.gvk","value":{"group":"org.eclipse.che","kind":"CheClusterRestore","version":"v1"}},{"type":"olm.package","value":{"packageName":"codeready-workspaces","version":"2.12.0"}}]} replaces: crwoperator.v2.11.0