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

Change default pvcStrategy using chectl with operator #16007

Closed
3 of 13 tasks
Katka92 opened this issue Feb 12, 2020 · 2 comments
Closed
3 of 13 tasks

Change default pvcStrategy using chectl with operator #16007

Katka92 opened this issue Feb 12, 2020 · 2 comments
Assignees
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.

Comments

@Katka92
Copy link
Contributor

Katka92 commented Feb 12, 2020

Describe the bug

Che installed by chectl using the operator in default configuration uses pvcStrategy: common, but the PV has access mode set to ReadWriteOnce. This combination results in problems when multiple workspaces are started. It can happen that one workspace starts on one node, another workspace starts in another node - and then, because of ReadWriteOnce access, only the first one can access the PV. The solution could be to change the default pvcStrategy from common to per-workspace.

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

  1. Deploy Che by chectl using operator, e.g. chectl server:start -a operator -p openshift
  2. Create two users
  3. Start workspace with one user
  4. Start workspace with the second user

Expected behavior

From time to time workspace starts, but usually, it fails with the message Multi-Attach error for volume <pvc> Volume is already used by pod(s) <pod_id>.

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Installation method

  • chectl
  • che-operator
  • minishift-addon
  • I don't know
@Katka92 Katka92 added the kind/bug Outline of a bug - must adhere to the bug report template. label Feb 12, 2020
@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 Feb 12, 2020
@benoitf benoitf 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 Feb 12, 2020
@tolusha
Copy link
Contributor

tolusha commented Feb 13, 2020

Will be done as part of
#15684

@tolusha tolusha self-assigned this Feb 14, 2020
@tolusha
Copy link
Contributor

tolusha commented Feb 14, 2020

@Katka92
Pls check the description of PR.
che-incubator/chectl#508

@tolusha tolusha closed this as completed Feb 14, 2020
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

4 participants