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

[image-builder] workspace images' environment variables are broken #5594

Closed
davidwindell opened this issue Sep 8, 2021 · 8 comments
Closed
Labels

Comments

@davidwindell
Copy link
Contributor

davidwindell commented Sep 8, 2021

Bug description

Did any deployments or changes to Gitpod take place last night?

Since this morning, none of our workspaces are starting as all of the environment variables (ENV in the Dockerfile) from the base image appear to be being wiped out somehow.

Steps to reproduce

https://gitpod.io/#https://github.com/davidwindell/gitpod-test

Expected behavior

No response

Example repository

Docker image used is https://github.com/outeredge/edge-docker-php-dev/blob/main/Dockerfile.common

For example, echo $PHP_DISPLAY_ERRORS and most importantly echo $NGINX_PORT is empty (from the upstream docker image, causing Nginx to stop booting).

Anything else?

No response

@corneliusludmann
Copy link
Contributor

Thanks for reporting. I can confirm the issue with your sample repo. Thanks a lot for that! I'm currently investigating.

@corneliusludmann corneliusludmann added the type: bug Something isn't working label Sep 8, 2021
@corneliusludmann
Copy link
Contributor

@iQQBot
Copy link
Contributor

iQQBot commented Sep 8, 2021

It seem a bug from moby/buildkit

@corneliusludmann
Copy link
Contributor

It seem a bug from moby/buildkit

@iQQBot Do you have more information about this? Or is it just a guess?

@geropl geropl changed the title URGENT all workspaces failing to start services (missing env vars) [incident] workspace images' environment variables are broken Sep 8, 2021
@geropl
Copy link
Member

geropl commented Sep 8, 2021

Thanks everybody for reporting (especially @davidwindell), we identified and are rolling have rolled back our changes from this morning.

We are closing this issue now and will keep this one around until the underlying issue is fixed and deployed.

Link to incident: https://www.gitpodstatus.com/incidents/fk6prflgvvth

@geropl geropl changed the title [incident] workspace images' environment variables are broken [image-builder] workspace images' environment variables are broken Sep 8, 2021
@geropl geropl closed this as completed Sep 8, 2021
@corneliusludmann
Copy link
Contributor

We mitigated the issue for now. Please restart a workspace and try again, @davidwindell. Let us know if it does not work.

@kiselev-nikolay
Copy link

I had this problem too. I just checked. It looks like you fixed the problem. Thanks, gitpod team!

It would be great if such updates would not interfere with all users. Please add a separate "insiders" mode, which will be used by those who care about the "latest" updates. The work of developers (who entrusted gitpod) depends on you. I would not want to waste time because of such things in the future.

@davidwindell
Copy link
Contributor Author

@corneliusludmann thank you for the quick resolution, I can confirm this has fixed the issue for our team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants