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

Checkout service not starting successfully when using Docker compose deployment #1874

Open
saurabhdes opened this issue Dec 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@saurabhdes
Copy link
Contributor

saurabhdes commented Dec 29, 2024

Bug Report

Which version of the demo you are using? (please provide either a specific
[7543c59]

Symptom

Checkout service not starting successfully when using Docker compose deployment. It keeps restarting.

What is the expected behavior?
Checkout service starts successfully

What is the actual behavior?
2024-12-28 14:52:24 goroutine 1 [running]: 2024-12-28 14:52:24 main.mustMapEnv(0x400030c8f0, {0xbe3efb, 0x15}) 2024-12-28 14:52:24 /usr/src/app/main.go:229 +0xb8 2024-12-28 14:52:24 main.main() 2024-12-28 14:52:24 /usr/src/app/main.go:170 +0x230 2024-12-28 14:52:37 panic: environment variable "SHIPPING_SERVICE_ADDR" not set

Reproduce

https://opentelemetry.io/docs/demo/docker-deployment/
make start
Go to Docker Desktop > Opentelemetery Docker compose stack > checkout service logs and notice the above mentioned error message displayed and checkout service keeps restarting.

Additional Context

@saurabhdes saurabhdes added the bug Something isn't working label Dec 29, 2024
@CharlieTLe
Copy link
Contributor

This was updated recently in fca8fd1.

Running make start will pull a tagged image, but there hasn't been a release since #1763 to update the images.

Can you try running make redeploy service=checkoutservice until a new release is published?

cc: @julianocosta89

@saurabhdes
Copy link
Contributor Author

thanks @CharlieTLe for the workaround. I deployed checkoutservice with the command you suggested and now it's running fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants