-
Bug
-
Resolution: Done
-
Critical
-
1.2.2.GA
-
None
Installation Codeready Workspaces on OCP 4.1 by using deploy.sh doesn't work. I indicated in the environment the last operator image, but really this problem begins from the operator-image
quay.io/crw/operator-rhel8:1.2-14
and I got the same result that is on the last operator image (in general, all operators-images after quay.io/crw/operator-rhel8:1.2-14 give the same affect).
Command to deploy CRW:
[ashmaraiev@localhost codeready-workspaces-operator-installer-1.2.2.GA]$ ./deploy.sh -d --server-image=quay.io/crw/server-rhel8 --version=1.2-54 --operator-image=quay.io/crw/operator-rhel8:1.2-26 -p=crw-deploy-test
Logs of codeready-operator container:
time="2019-09-06T09:08:49Z" level=info msg="Go Version: go1.11.6" time="2019-09-06T09:08:49Z" level=info msg="Go OS/Arch: linux/amd64" time="2019-09-06T09:08:49Z" level=info msg="operator-sdk Version: v0.5.0" time="2019-09-06T09:08:49Z" level=info msg="Operator is running on OpenShift v4.x" time="2019-09-06T09:08:50Z" level=info msg="Registering Components" time="2019-09-06T09:08:50Z" level=info msg="Starting the Cmd" E0906 09:08:50.324094 1 runtime.go:66] Observed a panic: &runtime.TypeAssertionError{_interface:(*runtime._type)(0x11d45e0), concrete:(*runtime._type)(0x1192dc0), asserted:(*runtime._type)(0x11d8f60), missingMethod:""} (interface conversion: interface {} is string, not map[string]interface {}) /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:72 /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65 /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51 /opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/asm_amd64.s:522 /opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/panic.go:513 /opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/iface.go:248 /go/src/github.com/eclipse/che-operator/pkg/util/util.go:180 /go/src/github.com/eclipse/che-operator/pkg/util/util.go:111 /go/src/github.com/eclipse/che-operator/pkg/controller/che/che_controller.go:228 /go/src/github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:213 /go/src/github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158 /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 /opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/asm_amd64.s:1333 panic: interface conversion: interface {} is string, not map[string]interface {} [recovered] panic: interface conversion: interface {} is string, not map[string]interface {} goroutine 333 [running]: github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0) /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x108 panic(0x1207d00, 0xc00053aa50) /opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/panic.go:513 +0x1b9 github.com/eclipse/che-operator/pkg/util.GetClusterPublicHostnameForOpenshiftV4(0x0, 0x0, 0x0, 0x0) /go/src/github.com/eclipse/che-operator/pkg/util/util.go:180 +0x7ba github.com/eclipse/che-operator/pkg/util.GetClusterPublicHostname(0xc0003b9501, 0xc0002fbc00, 0x0, 0x0, 0x1370b05) /go/src/github.com/eclipse/che-operator/pkg/util/util.go:111 +0x2f github.com/eclipse/che-operator/pkg/controller/che.(*ReconcileChe).Reconcile(0xc0003b95e0, 0xc0003e5b79, 0x7, 0xc0003e5b70, 0x9, 0x2027a60, 0x74c, 0xc0008a0d58, 0x6261b8) /go/src/github.com/eclipse/che-operator/pkg/controller/che/che_controller.go:228 +0x242 github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc00017e3c0, 0x0) /go/src/github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:213 +0x1d3 github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1() /go/src/github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158 +0x36 github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc000517480) /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 +0x54 github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc000517480, 0x3b9aca00, 0x0, 0x1, 0xc0000c64e0) /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 +0xbe github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until(0xc000517480, 0x3b9aca00, 0xc0000c64e0) /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x4d created by github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start /go/src/github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:157 +0x32a
It's not deploy.sh specific problem, because we had the same error when installing CRW 1.2.2.RC1 using quay.io/crw/operator-rhel8:1.2-26 and CRW operator from OperatorHub:
time="2019-09-09T13:46:30Z" level=info msg="Go Version: go1.11.6" time="2019-09-09T13:46:30Z" level=info msg="Go OS/Arch: linux/amd64" time="2019-09-09T13:46:30Z" level=info msg="operator-sdk Version: v0.5.0" time="2019-09-09T13:46:30Z" level=info msg="Operator is running on OpenShift v4.x" time="2019-09-09T13:46:31Z" level=info msg="Registering Components" time="2019-09-09T13:46:31Z" level=info msg="Starting the Cmd" E0909 13:46:31.340293 1 runtime.go:66] Observed a panic: &runtime.TypeAssertionError{_interface:(*runtime._type)(0x11d45e0), concrete:(*runtime._type)(0x1192dc0), asserted:(*runtime._type)(0x11d8f60), missingMethod:""} (interface conversion: interface {} is string, not map[string]interface {}) /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:72 /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65 /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51 /opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/asm_amd64.s:522 /opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/panic.go:513 /opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/iface.go:248 /go/src/github.com/eclipse/che-operator/pkg/util/util.go:180 /go/src/github.com/eclipse/che-operator/pkg/util/util.go:111 /go/src/github.com/eclipse/che-operator/pkg/controller/che/che_controller.go:228 /go/src/github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:213 /go/src/github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158 /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 /opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/asm_amd64.s:1333 panic: interface conversion: interface {} is string, not map[string]interface {} [recovered] panic: interface conversion: interface {} is string, not map[string]interface {} goroutine 396 [running]: github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0) /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x108 panic(0x1207d00, 0xc00085c4e0) /opt/rh/go-toolset-1.11/root/usr/lib/go-toolset-1.11-golang/src/runtime/panic.go:513 +0x1b9 github.com/eclipse/che-operator/pkg/util.GetClusterPublicHostnameForOpenshiftV4(0x0, 0x0, 0x0, 0x0) /go/src/github.com/eclipse/che-operator/pkg/util/util.go:180 +0x7ba github.com/eclipse/che-operator/pkg/util.GetClusterPublicHostname(0xc0005bc801, 0xc000381800, 0x0, 0x0, 0x1370b05) /go/src/github.com/eclipse/che-operator/pkg/util/util.go:111 +0x2f github.com/eclipse/che-operator/pkg/controller/che.(*ReconcileChe).Reconcile(0xc0005bc880, 0xc00044e7e0, 0xd, 0xc00044e7c0, 0x9, 0x2027a60, 0x505, 0xc0004d4558, 0x6261b8) /go/src/github.com/eclipse/che-operator/pkg/controller/che/che_controller.go:228 +0x242 github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc000390460, 0x0) /go/src/github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:213 +0x1d3 github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1() /go/src/github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158 +0x36 github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc0009580a0) /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133 +0x54 github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc0009580a0, 0x3b9aca00, 0x0, 0x1, 0xc0003720c0) /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134 +0xbe github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until(0xc0009580a0, 0x3b9aca00, 0xc0003720c0) /go/src/github.com/eclipse/che-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x4d created by github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start /go/src/github.com/eclipse/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:157 +0x32a
- relates to
-
CRW-361 "Failed to apply cluster_role.yaml! " error when install CRW 1.2.2.RC1 on OCP 3.11 using deploy.sh --oauth
- Closed