Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chectl server:deploy on minikube doesn't deploy DW #20620

Closed
l0rd opened this issue Oct 11, 2021 · 5 comments
Closed

chectl server:deploy on minikube doesn't deploy DW #20620

l0rd opened this issue Oct 11, 2021 · 5 comments
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@l0rd
Copy link
Contributor

l0rd commented Oct 11, 2021

Describe the bug

When I try to deploy Che with using chectl with option --workspace-engine=dev-workspace on minikube, DevWorkspace CRD is not created:

$ kubectl api-resources | grep dw
$
$ kubens
cert-manager
default
ingress-nginx
kube-node-lease
kube-public
kube-system
workspaces-server
$

Che version

next (development version)

Steps to reproduce

  1. minikube delete
  2. minikube start --memory=8192 --vm=true --cpus=4 --addons=ingress
  3. chectl update next
  4. chectl server:deploy --telemetry=on -p minikube --workspace-engine=dev-workspace -n workspaces-server

Expected behavior

DevWorkspace CRD and controller deployed

Runtime

minikube

Screenshots

No response

Installation method

chectl/next

Environment

macOS

chectl logs

chectl: Updating CLI... already on latest version: 0.0.20211011-next.735e1ac
› Installer type is set to: 'operator'
› Current Kubernetes context: 'minikube'
  ✔ Verify Kubernetes API...OK
  ✔ 👀  Looking for an already existing Eclipse Che instance
    ✔ Verify if Eclipse Che is deployed into namespace "workspaces-server"...it is not
  ✔ 🧪  DevWorkspace engine (experimental / technology preview) 🚨
    ✔ Verify cert-manager installation
      ✔ Check Cert Manager deployment...not deployed
      ✔ Deploy Cert Manager...done
      ✔ Wait for Cert Manager...ready
  ✔ ✈️  Minikube preflight checklist
    ✔ Verify if kubectl is installed
    ✔ Verify if minikube is installed
    ✔ Verify if minikube is running
    ↓ Start minikube [skipped]
      → Minikube is already running.
    ✔ Check Kubernetes version: Found v1.22.2.
    ✔ Verify if minikube ingress addon is enabled
    ↓ Enable minikube ingress addon [skipped]
      → Ingress addon is already enabled.
    ✔ Retrieving minikube IP and domain for ingress URLs...192.168.64.5.nip.io.
    ✔ Checking minikube version... 1.23.2
    ↓ Check if cluster accessible [skipped]
  ✔ Following Eclipse Che logs
    ✔ Start following Operator logs...done
    ✔ Start following Eclipse Che Server logs...done
    ✔ Start following PostgreSQL logs...done
    ✔ Start following Keycloak logs...done
    ✔ Start following Plug-in Registry logs...done
    ✔ Start following Devfile Registry logs...done
    ✔ Start following Eclipse Che Dashboard logs...done
    ✔ Start following namespace events...done
  ✔ Create Namespace workspaces-server...[OK]
  ✔ 🏃‍  Running the Eclipse Che operator
    ✔ Create ServiceAccount che-operator in namespace workspaces-server...done.
    ✔ Read Roles and Bindings...done.
    ✔ Creating Roles and Bindings...done.
    ✔ Create CRD checlusters.org.eclipse.che...done.
    ✔ Create backup and restore CRDs...done.
    ✔ Waiting 5 seconds for the new Kubernetes resources to get flushed...done.
    ✔ Create deployment che-operator in namespace workspaces-server...done.
    ✔ Operator pod bootstrap
      ✔ Scheduling...done
      ✔ Downloading images...done
      ✔ Starting...done
    ✔ Prepare Eclipse Che cluster CR...Done.
    ✔ Create the Custom Resource of type checlusters.org.eclipse.che in the namespace workspaces-server...done.
  ✔ ✅  Post installation checklist
    ✔ PostgreSQL pod bootstrap
      ✔ Scheduling...done
      ✔ Downloading images...done
      ✔ Starting...done
    ✔ Keycloak pod bootstrap
      ✔ Scheduling...done
      ✔ Downloading images...done
      ✔ Starting...done
    ✔ Devfile Registry pod bootstrap
      ✔ Scheduling...done
      ✔ Downloading images...done
      ✔ Starting...done
    ✔ Plug-in Registry pod bootstrap
      ✔ Scheduling...done
      ✔ Downloading images...done
      ✔ Starting...done
    ✔ Eclipse Che Dashboard pod bootstrap
      ✔ Scheduling...done
      ✔ Downloading images...done
      ✔ Starting...done
    ✔ Eclipse Che Server pod bootstrap
      ✔ Scheduling...done
      ✔ Downloading images...done
      ✔ Starting...done
    ✔ Eclipse Che status check...done
  ✔ Retrieving Che self-signed CA certificate...OK
  ✔ Prepare post installation output...done
  ✔ Show important messages
    ✔ Eclipse Che 7.38.0-SNAPSHOT has been successfully deployed.
    ✔ Documentation             : https://www.eclipse.org/che/docs/
    ✔ -------------------------------------------------------------------------------
    ✔ Users Dashboard           : https://192.168.64.5.nip.io
    ✔ Admin user login          : "admin:admin". NOTE: must change after first login.
    ✔ -------------------------------------------------------------------------------
    ✔ Plug-in Registry          : https://192.168.64.5.nip.io/plugin-registry/v3/
    ✔ Devfile Registry          : https://192.168.64.5.nip.io/devfile-registry/
    ✔ -------------------------------------------------------------------------------
    ✔ Identity Provider URL     : https://192.168.64.5.nip.io/auth/
    ✔ Identity Provider login   : "admin:0pl5OOKIe07U".
    ✔ -------------------------------------------------------------------------------
Command server:deploy has completed successfully in 04:37.

che operator logs

2021-10-11T13:35:12.291Z	INFO	Binary info 	{"Go version": "go1.15.14"}
2021-10-11T13:35:12.291Z	INFO	Binary info 	{"OS": "linux", "Arch": "amd64"}
2021-10-11T13:35:12.291Z	INFO	Address 	{"Metrics": ":60000"}
2021-10-11T13:35:12.291Z	INFO	Address 	{"Probe": ":6789"}
2021-10-11T13:35:12.291Z	INFO	Operator is running on 	{"Infrastructure": "Kubernetes"}
2021-10-11T13:35:13.200Z	INFO	controller-runtime.metrics	metrics server is starting to listen	{"addr": ":60000"}
time="2021-10-11T13:35:13Z" level=info msg="Use 'terminationGracePeriodSeconds' 20 sec. from operator deployment."
time="2021-10-11T13:35:13Z" level=info msg="Set up process signal handler"
2021-10-11T13:35:14.118Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:35:14.118Z	INFO	setup	DevWorkspace support disabled. Will initiate restart when CheCluster with devworkspaces enabled will appear
2021-10-11T13:35:14.118Z	INFO	setup	starting manager
2021-10-11T13:35:14.118Z	INFO	controller-runtime.manager	starting metrics server	{"path": "/metrics"}
I1011 13:35:14.118409       1 leaderelection.go:243] attempting to acquire leader lease workspaces-server/e79b08a4.org.eclipse.che...
I1011 13:35:40.419309       1 leaderelection.go:253] successfully acquired lease workspaces-server/e79b08a4.org.eclipse.che
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting Controller	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster"}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checluster	Starting Controller	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster"}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checlusterbackup-controller	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheClusterBackup", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checlusterbackup-controller	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheClusterBackup", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checlusterbackup-controller	Starting Controller	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheClusterBackup"}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checlusterrestore-controller	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheClusterRestore", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checlusterrestore-controller	Starting EventSource	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheClusterRestore", "source": "kind source: /, Kind="}
2021-10-11T13:35:40.419Z	INFO	controller-runtime.manager.controller.checlusterrestore-controller	Starting Controller	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheClusterRestore"}
2021-10-11T13:35:40.520Z	INFO	controller-runtime.manager.controller.checluster	Starting workers	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "worker count": 1}
2021-10-11T13:35:40.523Z	INFO	controller-runtime.manager.controller.checluster	Starting workers	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheCluster", "worker count": 1}
2021-10-11T13:35:40.523Z	INFO	controller-runtime.manager.controller.checlusterbackup-controller	Starting workers	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheClusterBackup", "worker count": 1}
2021-10-11T13:35:40.524Z	INFO	controller-runtime.manager.controller.checlusterrestore-controller	Starting workers	{"reconciler group": "org.eclipse.che", "reconciler kind": "CheClusterRestore", "worker count": 1}
I1011 13:35:42.124210       1 request.go:668] Waited for 1.04657618s due to client-side throttling, not priority and fairness, request: GET:https://10.96.0.1:443/apis/acme.cert-manager.io/v1beta1?timeout=32s
time="2021-10-11T13:35:42Z" level=warning msg="DevWorkspace Che operator can't be enabled on a Kubernetes cluster without explicitly enabled k8s API on che-server. To enable DevWorkspace Che operator set 'spec.server.customCheProperties[CHE_INFRA_KUBERNETES_ENABLE__UNSUPPORTED__K8S]' to 'true'."
time="2021-10-11T13:35:43Z" level=info msg="Running exec for 'Update redirect URI-s and webOrigins' in the pod 'keycloak-67b84db4b7-6ljzt'"
time="2021-10-11T13:35:45Z" level=info msg="Exec successfully completed."
time="2021-10-11T13:35:48Z" level=warning msg="DevWorkspace Che operator can't be enabled on a Kubernetes cluster without explicitly enabled k8s API on che-server. To enable DevWorkspace Che operator set 'spec.server.customCheProperties[CHE_INFRA_KUBERNETES_ENABLE__UNSUPPORTED__K8S]' to 'true'."
2021-10-11T13:36:14.128Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:37:14.134Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:38:14.141Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:39:14.146Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:40:14.152Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:41:14.162Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:42:14.167Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:43:14.173Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:44:14.183Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:45:14.192Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:46:14.199Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:47:14.204Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:48:14.209Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:49:14.215Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:50:14.224Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:51:14.233Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:52:14.243Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:53:14.250Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:54:14.257Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:55:14.266Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:56:14.272Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:57:14.281Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:58:14.292Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T13:59:14.299Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:00:14.306Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:01:14.314Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:02:14.321Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:03:14.328Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:04:14.334Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:05:14.342Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:06:14.350Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:07:14.359Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:08:14.366Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:09:14.373Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:10:14.380Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:11:14.387Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:12:14.393Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:13:14.401Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:14:14.408Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:15:14.422Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:16:14.428Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:17:14.435Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:18:14.443Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:19:14.452Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:20:14.457Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:21:14.463Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:22:14.473Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:23:14.480Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:24:14.488Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:25:14.495Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:26:14.505Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:27:14.513Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:28:14.521Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:29:14.529Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:30:14.537Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:31:14.545Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:32:14.552Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:33:14.557Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:34:14.563Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:35:14.570Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:36:14.581Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:37:14.590Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:38:14.599Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:39:14.609Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:40:14.618Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:41:14.628Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:42:14.634Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:43:14.643Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:44:14.651Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:45:14.660Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:46:14.663Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:47:14.671Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:48:14.678Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:49:14.683Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:50:14.689Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:51:14.698Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:52:14.707Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:53:14.714Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:54:14.721Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:55:14.732Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:56:14.742Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:57:14.752Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:58:14.759Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T14:59:14.768Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T15:00:14.782Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T15:01:14.790Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T15:02:14.799Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T15:03:14.807Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T15:04:14.816Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
2021-10-11T15:05:14.821Z	INFO	devworkspace-che	WARN: there is a CheCluster with DevWorkspace enabled but devworkspace api group 'controller.devfile.io' is not available.DevWorkspace mode is not activating assuming that Che Operator will install it and initiate reboot
@l0rd l0rd added the kind/bug Outline of a bug - must adhere to the bug report template. label Oct 11, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Oct 11, 2021
@l0rd l0rd changed the title chectl server:deploy on minikube with devworkpsace enabled doesn't work properly chectl server:deploy on minikube doesn't deploy DW Oct 11, 2021
@sleshchenko

This comment has been minimized.

@sleshchenko
Copy link
Member

time="2021-10-11T13:35:42Z" level=warning msg="DevWorkspace Che operator can't be enabled on a Kubernetes cluster without explicitly enabled k8s API on che-server. To enable DevWorkspace Che operator set 'spec.server.customCheProperties[CHE_INFRA_KUBERNETES_ENABLE__UNSUPPORTED__K8S]' to 'true'."

you need the following patch to get devworkspace on kubernetes:

spec:
  k8s:
    singleHostExposureType: gateway
  server:
    customCheProperties:
      CHE_INFRA_KUBERNETES_ENABLE__UNSUPPORTED__K8S: "true"

probably chectl can do better and ask in an interactive manner if user accept risk, but it's definitely not a bug.

@l0rd
Copy link
Contributor Author

l0rd commented Oct 11, 2021

Ok thanks. Yes chectl may automatically infer that but I don't understand why the operator deploys an half-broken Che if CHE_INFRA_KUBERNETES_ENABLE__UNSUPPORTED__K8S: "true" is not set. @tolusha what's the reason for that? Documentation needs some love ❤️ too but I will create a PR for that.

@ScrewTSW ScrewTSW added area/chectl Issues related to chectl, the CLI of Che severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Oct 11, 2021
@benoitf
Copy link
Contributor

benoitf commented Oct 11, 2021

I think it's not infer automatically because it's like a security risk that the user need to grant for Kubernetes installation
(It's in the warning section of the documentation for devWorkspaces)

@l0rd
Copy link
Contributor Author

l0rd commented Oct 11, 2021

What I mean is that if I enable "devworkspace" but I don't enable "unsupported k8s", the dashboard will show the devfile v2 samples but those won't work because DW is not deployed (half-broken).

image

I think that providing a warning at the beginning of chectl deployment, maybe asking to the user to confirm that's what he wants, is better then just ignoring "devworkspace" if "unsupported k8s" is not specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

6 participants