eclipse-che/che-operator

Che deployment fails on OKD/OpenShift 3.11

johnmcollier opened this issue · 2 comments

I tried deploying Che via the Che operator on OKD 3.10 and was met with the following error

johns-mbp-3:che-operator johncollier$ oc logs -f che-operator-c84f899d-zt9dl
time="2019-05-22T16:13:16Z" level=info msg="Go Version: go1.11.5" 
time="2019-05-22T16:13:16Z" level=info msg="Go OS/Arch: linux/amd64" 
time="2019-05-22T16:13:16Z" level=info msg="operator-sdk Version: v0.5.0" 
time="2019-05-22T16:13:16Z" level=info msg="Operator is running on OpenShift" 
time="2019-05-22T16:13:20Z" level=info msg="Registering Components" 
time="2019-05-22T16:13:20Z" level=info msg="Starting the Cmd" 
time="2019-05-22T16:13:22Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:22Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:23Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:23Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:24Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:24Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:25Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:25Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:26Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:26Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:27Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:27Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:29Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:29Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:30Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:30Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:31Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:31Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:32Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:32Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:35Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:35Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:40Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:40Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-22T16:13:51Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-22T16:13:51Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 

Closing as it appears the operator doesn't support OKD/OpenShift < 3.11, my bad!

Reopening as I can reproduce now on both OKD 3.11 and OpenShift 3.11

Same error as before:

che-operator-5b6d58f5f6-sbqpd   1/1     Running   0          1m
Johns-MacBook-Pro-3:che-operator johncollier$ k logs -f che-operator-5b6d58f5f6-sbqpd
time="2019-05-29T04:09:22Z" level=info msg="Go Version: go1.11.5" 
time="2019-05-29T04:09:22Z" level=info msg="Go OS/Arch: linux/amd64" 
time="2019-05-29T04:09:22Z" level=info msg="operator-sdk Version: v0.5.0" 
time="2019-05-29T04:09:22Z" level=info msg="Operator is running on OpenShift" 
time="2019-05-29T04:09:22Z" level=info msg="Registering Components" 
time="2019-05-29T04:09:22Z" level=info msg="Starting the Cmd" 
time="2019-05-29T04:10:14Z" level=info msg="Creating a new object: Secret, name: openshift-api-crt" 
time="2019-05-29T04:10:14Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:14Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-29T04:10:15Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:15Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-29T04:10:16Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:16Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-29T04:10:17Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:17Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-29T04:10:18Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:18Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-29T04:10:19Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:19Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-29T04:10:20Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:20Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-29T04:10:21Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:21Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-29T04:10:22Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:22Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-29T04:10:23Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:23Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 
time="2019-05-29T04:10:26Z" level=info msg="Updating eclipse-che CR with status: Che API: Unavailable" 
time="2019-05-29T04:10:26Z" level=warning msg="Failed to update eclipse-che CR. Fetching the latest CR version: the server could not find the requested resource (put checlusters.org.eclipse.che eclipse-che)" 

Edit: What's odd is if I try on a new install of OpenShift 3.11 (and Minishift), it's fine. So maybe something weird is going on with my cluster.

Edit 2: The Kube level on both problematics clusters are 1.10 (Depsite being on OKD/OS 3.11), so I think that's the problem here. Gonna close this out