Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1038

"E_PLATFORM_NOT_READY: oc status command failed" error when installing CRW using crwctl on OCP 4.x

XMLWordPrintable

    • Hide

      Execute "oc project default" command and then execute "crwctl server:start" command again.

      Show
      Execute " oc project default " command and then execute " crwctl server:start " command again.

      crwctl server:start with operator installer failed several times on OCP 4.5 because of the next error:

      + /mnt/hudson_workspace/workspace/install-crw-using-crwctl/crwctl/bin/crwctl server:start --che-operator-cr-yaml=/mnt/hudson_workspace/workspace/install-crw-using-crwctl/custom-resource.yaml --che-operator-image=registry.stage.redhat.io/codeready-workspaces/crw-2-rhel8-operator:2.2 --listr-renderer=verbose --k8spodreadytimeout=300000 -a operator -n crw-crwctl-tls-oauth
      › Current Kubernetes context: 'crw-crwctl-tls-oauth/api-osp-ocp45-crw-qe-com:6443/admin'
      [12:18:05] Verify Kubernetes API [started]
      [12:18:05] Verify Kubernetes API...OK [title changed]
      [12:18:05] Verify Kubernetes API...OK (it's OpenShift) [title changed]
      [12:18:05] Verify Kubernetes API...OK (it's OpenShift) [completed]
      [12:18:05]   Looking for an already existing CodeReady Workspaces instance [started]
      [12:18:05] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth" [started]
      [12:18:05] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth"...it is not [title changed]
      [12:18:05] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth"...it is not [completed]
      [12:18:05]   Looking for an already existing CodeReady Workspaces instance [completed]
          Warning: --che-operator-cr-yaml is used. The following flag(s) will be 
          ignored: --tls	--cheimage
      [12:18:05]   Openshift preflight checklist [started]
      [12:18:05] Verify if oc is installed [started]
      [12:18:05] Verify if oc is installed...done. [title changed]
      [12:18:05] Verify if oc is installed...done. [completed]
      [12:18:05] Verify if openshift is running [started]
      [12:18:05] Verify if openshift is running [failed]
      [12:18:05]  E_PLATFORM_NOT_READY: oc status command failed. If there is no project, please create it before by running "oc new-project crw-crwctl-tls-oauth"
      [12:18:05]   Openshift preflight checklist [failed]
      [12:18:05]  E_PLATFORM_NOT_READY: oc status command failed. If there is no project, please create it before by running "oc new-project crw-crwctl-tls-oauth"
       ›   Error: Error: E_PLATFORM_NOT_READY: oc status command failed. If there is 
       ›   no project, please create it before by running "oc new-project 
       ›   crw-crwctl-tls-oauth"
       ›   Installation failed, check logs in '/tmp/crwctl-logs/1593188285179'
      

      Latest occurrence was with crwctl 2.2.0-RC1-06-25-fb9a0a9

              abazko Anatolii Bazko
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: