-
Notifications
You must be signed in to change notification settings - Fork 246
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
Several pods stuck in CrashLoopBackoff #263
Comments
Use the |
I got an error, but it was an IllegalStateExcpetion that occurred right after a service tried to connect to Mongo. This message stood out to me:
It looks like Mongo is out of date, but I just pulled the newest image for Docker. Is the Train Ticket application trying to use deprecated commands, or is there something else I could be missing? |
Update: It was an issue with Mongo. In the ts-deployment-part1.yaml file, the Mongo services need to pull the mongo:5.0.15 image, and not the latest. |
Summary
I am attempting to run train ticket with Jaeger. However, most of the site is inaccessible due to pods being unable to connect to services and crashing.
Expected behaviour
All services should be accessible and pods shouldn't crash
Current behaviour
auth-service, config-service, consign-price-service, contacts-service, food-map-service, inside-payment-service, order-other-service, order-service, payment-service, price-service, route-service, security-service, station-service, train-service, travel-service, travel2-service, and user-service have all been crashing and restarting. They seem to be unable to connect to various parts of the API. When using the site, attempting to search returns a 502 error for travelservice/trips/left, logging in gets a 502 from users/login, and the advanced search returns a 500 for its options. It seems like something was not connected properly but I'm not sure what.
Steps to reproduce
The installation instructions weren't super clear to me. I want to use Jaeger, so first I ran the kubectl apply command on the Jaeger deployment files. I later used the make deploy command to add the naocs pods. This strange deployment method may be the cause of the errors, but I also remember having similar issues when I first installed train ticket with just the basic make deploy.
Your environment
OS(e.g:
cat /etc/os-release
): Ubuntu 22.04.2 LTSdocker version(e.g
docker version
): 4.16.2Kubernetes version(use
kubectl version
): Client: 1.26.3, Server: 1.25.4Additional context
I've heard resources could be an issue, but currently Docker has 7 CPUs and 27.3 gigs of RAM, and I don't have much more to give.
The text was updated successfully, but these errors were encountered: