claimSize from CR is not taken into account during workspace startup
See original GitHub issueDescribe the bug
claimSize from CR is not taken into account during workspace startup (the default value is used)
Che version
7.54@latest
Steps to reproduce
Set the following configuration in the CR and start a workspace
storage:
pvcStrategy: per-workspace
perWorkspaceStrategyPvcConfig:
claimSize: 4Gi
ERROR: PVC is provisioned with the default size 5Gi, not 4Gi as defined in the config
Expected behavior
PVC with 4Gi is provisioned
Runtime
OpenShift
Screenshots
No response
Installation method
OperatorHub
Environment
Amazon
Eclipse Che Logs
In the operator logs after update I can see the following:
I1006 13:04:38.242291 1 request.go:668] Waited for 1.048214451s due to client-side throttling, not priority and fairness, request: GET:https://172.30.0.1:443/apis/oauth.openshift.io/v1?timeout=32s
time="2022-10-06T13:04:40Z" level=info msg="Updating existing object: v1alpha1.DevWorkspaceOperatorConfig, name: devworkspace-config"
I1006 13:04:48.290808 1 request.go:668] Waited for 2.998730784s due to client-side throttling, not priority and fairness, request: GET:https://172.30.0.1:443/apis/apps.openshift.io/v1?timeout=32s
time="2022-10-06T13:04:54Z" level=info msg="Successfully reconciled."
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Cannot open workspace at PDS startup - Progress Community
The workspace used when Progress Developer studio was last shut down will not open the next time PDS is started. Error message is...
Read more >Switch to Business Starter edition - Google Support
Sign in to compare features. If you're already an administrator for a G Suite or Google Workspace account, sign in now to compare...
Read more >Asynchronously attach PVs to Workspaces #15384 - GitHub
Containers in the Workspace Pod are started but are not allowed to write in the ephemeral volume ... In the "Startup data sync...
Read more >Apps & Tools for Startup Management - Google Workspace
Explore startup apps and tools to help scale your management, collaboration, and productivity no matter where you are in your journey.
Read more >How do I account for a startup that has a live / workspace ...
We've seen a few startups rent a 4 bedroom house under the name of their startup as opposed to their personal names, believing...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Testing this on our dogfooding cluster:
controller.devfile.io/devworkspace-config
attribute to specify a custom config. These workspaces respect the storage size configured in the CheCluster (currently 2Gi). This works for both the existing devfile and no devfile case.controller.devfile.io/devworkspace-config
attribute and use the global defaults for storage size (5Gi)This appears to be an issue in how the dashboard is handling workspaces. To verify if a workspace is configured to use the dwoc created by Che:
in addition, checking the devworkspace operator logs shows any non default values in the config used for a particular workspace:
Two DevWorkspaceOperatorConfigs is expected; one is created by Eclipse Che and the other is the default DevWorkspace Operator DWOC – someone created the main DWOC (probably me, to be honest) to enable experimental features in the cluster. One thing this does is enable logging diffs when objects need to be updated.
The
devworkspace-operator-config
dwoc can be removed if nobody needs the additional debug information, but it’s useful to have available if there are issues starting workspaces.