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

CHE_LIMITS_USER_WORKSPACES_COUNT Does not appear work in Che7.11.0 #16675

Closed
4 of 15 tasks
donenocode opened this issue Apr 20, 2020 · 2 comments
Closed
4 of 15 tasks

CHE_LIMITS_USER_WORKSPACES_COUNT Does not appear work in Che7.11.0 #16675

donenocode opened this issue Apr 20, 2020 · 2 comments
Labels
area/che-server kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@donenocode
Copy link

Describe the bug

Setting 'CHE_LIMITS_USER_WORKSPACES_COUNT=0' does not appear to have any effect.
User can continue to create workspaces outside of organizations.

Che version

  • latest
  • nightly
  • other:7.11.0

Steps to reproduce

  1. Deploy Che multiuser to Kubernetes using chectl
  2. Add 'CHE_LIMITS_USER_WORKSPACES_COUNT=0' to 'che' configmap
  3. Rollout restart Che server deployment
  4. Add user(s) to keycloak
  5. Login as a user
  6. Create workspace not in an organization

Expected behavior

User should be prevented from creating workspace

Runtime

  • kubernetes
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.1", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.4", Platform:"linux/amd64"}

Installation method

  • chectl
    chectl server:start --platform=k8s -m -s --chenamespace=che-test --domain=<DOMAIN HERE>

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: Ubuntu 18.04 vSphere VM's

Additional context

I have a Che 6.x multi user installation with 186 developers and this config option works as expected.
Perhaps the option has changed?

@donenocode donenocode added the kind/bug Outline of a bug - must adhere to the bug report template. label Apr 20, 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 Apr 20, 2020
@ericwill ericwill added severity/P2 Has a minor but important impact to the 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 Apr 20, 2020
@donenocode
Copy link
Author

Have created a new installation with the same method (HELM (--install=helm option)) using 7.13.0 and this issue still exists.

I have tested the config option 'CHE_LIMITS_USER_WORKSPACES_RUN_COUNT=0' this works as expected and prevents the user from starting workspaces outside of an organization.
I could use this as a short-term work around.

@che-bot
Copy link
Contributor

che-bot commented Jan 4, 2021

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 4, 2021
@che-bot che-bot closed this as completed Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-server kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants