-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Annotation key is too long
error when starting workspace, created from devfile
#13303
Comments
It tries to use |
Annotation key is too long
error when starting workspace, created from devfile
The only 2 viable solutions I see here is to:
|
I don't think we should bother Che users with internal stuff like length of generated name. I would try to use full form and if it fails, make it shorter. |
So what about:
e.g. split the annotation in 2 with predictable names and free-form values. |
This is the piece of code that adds these annotations. Notice that the machine name is always already contained in the key of the annotation. I don't think this piece of info gives any useful information. |
I hit the same issue while trying the new vscode kubernetes plugin support, so I tried to use a shorter alias but it does not seems to be picked up (using nightly)
|
@lehmanju Thanks for sharing your case. I believe you're right and workaround with short alias work only with |
@sleshchenko, thanks for confirming. I believe that there is no workaround then and because of that it's not possible to use the latest che with vscode plugins currently (and potentially other plugins with long name) |
hitting same issue with OpenShift Connector extension:
|
I don't understand this issue: I don't see spec.template.annotations anywhere in the devfile. If it is something that is generated by our own tooling, we need to insure that we can translate values in the input to valid values in the output. |
it seems to be something generated by Che itself internally. Currently, there is not even a "burden" to the user as the initially proposed workaround is reported as not working for VS Code extension, working only for dockerfile see #13303 (comment) My current understanding is that there is no way to use some of the VS Code Extensions proposed by the default registry. |
@skabashnyuk can you confirm that some of the plugins in che-plugin-registry do not work currently? That would mean it's a 7.0.0 issue, IMO. If it's only a problem for 3rd party plugins, I would tent towards 7.1.0. |
it is a problem for: |
Ok, that's a 7.0 for me then. What we ship should at least start up out of the box. |
Finally closed 🎉 |
Description
When try to start workspace form some devfiles it fails to start with error message:
Reproduction Steps
POST /workspace/devfile
API methodNote, that this problem occurs when replace
mongo
with something longer, sayeclipse/che-theia-dev:nightly
.The text was updated successfully, but these errors were encountered: