Cannot create workspace from Custom devfile when using namespace placeholder like <workspaceid>-che
#17656
Closed
4 of 22 tasks
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/P1
Has a major impact to usage or development of the system.
Describe the bug
It seems, when using placeholders to create workspaces in new namespaces, that the system attempts to validate the namespace name literally, without replacing the placeholder text. So a namespace like
<workspaceid>-che
will not even attempt to be created. Creating a workspace with the exact same devfile into the same namespace works if the devfile is added to the devfile registry and is create by clicking the item in the Getting Started pane.Che version
Steps to reproduce
Expected behavior
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2-0-g52c56ce", GitCommit:"b66f2d3", GitTreeState:"clean", BuildDate:"2020-08-11T15:26:36Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:51:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Screenshots
Installation method
chectl version
: chectl/7.17.0 darwin-x64 node-v10.22.0Environment
Eclipse Che Logs
Additional context
This can be worked around by adding the devfile to the devfile registry, and clicking it from getting started, which seems to bypass this erroneous check and create the generated namespace. However the workspace will not start still, due to #17631
The text was updated successfully, but these errors were encountered: