FudanSELab / train-ticket

Train Ticket - A Benchmark Microservice System
http://139.196.152.44:32677
Apache License 2.0
712 stars 244 forks source link

Cant run TrainTicket in either docker-compose or k8s #281

Open sadmanamin opened 6 months ago

sadmanamin commented 6 months ago

Summary

I have trying to run TrainTicket using docker-compose and k8s.

For docker-compose, as per the doc, i need to build the docker-compose first and then run docker-compose up. However, its not building showing error to many of the dockerfiles that contains java image instead of openjdk. When i change it to openjdk, it shows some internal error.

For docker-compose from deployment/docker-compose-manifests/docker-compose-with-jaeger.yml, it doesn't run showing some images have been removed from the codewisdom repo.

For k8s with istio, initially it didn't find ts-gateway-service. Later I have added it and ran. However, login doesn't work. It cant seem to find other services inside the cluster and gives 503 everytime.

To sum up, I want to run TrainTicket with Jaeger enabled for observability and monitoring tests. However, its not working as told previously.

Expected behaviour

TrainTicket should run and should be able to have proper api responses.

Current behaviour

Showing error in deployment. After deployment, showing error in inter service communication.

Steps to reproduce

\# for docker-compose
cd deployment/docker-compose-manifests/
docker-compose -f docker-compose-with-jaeger.yml up

\# for k8s with istio
kubectl create namespace trainticket
kubectl label namespace trainticket istio-injection=enabled
kubectl apply -f deployment/kubernetes-manifests/k8s-with-istio/. -n trainticket

Your environment

OS(e.g: cat /etc/os-release): Ubuntu 22.04.4 LT

docker version(e.g docker version): 26.0.0

docker-compose version (e.g `docker-compose --version`): docker-compose version 1.29.2, build 5becea4c Kubernetes version(use `kubectl version`): v1.28.7
YiXIEz commented 4 months ago

same issue

dinghanfei commented 3 days ago

I'm having the same problem. I can successfully run and see the train-ticket page. However when I try to log in it fails. I can't see the CAPTCHA image in the login page. I tried logging into the admin panel and that didn't work either. Have you solved the problem now?