-
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
Unable to start workspaces due to Syntax error in che-plugin-registry #14704
Comments
I successfully deployed che on minkube using the following command @davidwindell |
@tolusha no, I'm using Rancher/Vanilla K8s so no chectl. I've just forced the helm chart to use 7.2.0 instead of nightly and it works. From what I can tell therefore is that there is definitely a bug in |
I haven't tested on k8s but |
@amisevsk any ideas on how I could provide helpful debug for this? Where might the syntax error be coming from? |
@davidwindell I'm kind of at a loss -- we don't do any modification to the Apache config from the upstream In my working container, the referenced line is
and the
Could you check your deploy is similar? Perhaps it's a permissions issue related to UID stuff. |
I've just pulled today's nightly image and it randomly seems to be resolved. I'm going to close for now, thank you for looking into it. |
@davidwindell Let us know if it crops up again -- I don't like when issues mysteriously go away. |
Neither do I, will do 👍 |
There something about my node(s) that doesn't want to run it, but I've no idea why. It runs fine on my local docker and anything non-k8s |
Ah, I've just tried to force the container to run as UID 0 (root) and that worked:
tldr; setting the below on the plugin registry in our helm chart fixes this for me
I'd really like to understand why a simple docker run on our K8's cluster throws the error but locally it doesn't! |
Thanks for the analysis @davidwindell -- looks like it's still a bug somewhere, since running as root should not be necessary. |
Just FYI this is also now happening on the latest devfile-registry images (not just plugin-registry). Something must have changed upstream that broke running as non-root. |
This is still an issue with 7.5.1 |
Also reproduced in 7.6.0. I think it could be something to do with the permissions of the /var/log/httpd24 folder which is current The helm chart doesn't by default specify a runasuser |
@davidwindell From my experience, the user that runs in k8s/OpenShift container is a member of the root group (and so should have write permissions to |
@amisevsk here's the output when I force the image to run with a custom entrypoint: |
It looks like this is now fixed somehow, closing. |
Describe the bug
Unable to start workspaces as the che-plugin-registry is failing to start.
Che version
Steps to reproduce
Try to start any new or existing workspace.
Runtime
Installation method
Environment
The text was updated successfully, but these errors were encountered: