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

setCurrency and checkout failing 100% of requests on Locust #822

Closed
vskevakis opened this issue May 12, 2022 · 4 comments
Closed

setCurrency and checkout failing 100% of requests on Locust #822

vskevakis opened this issue May 12, 2022 · 4 comments
Assignees
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@vskevakis
Copy link

Running the loadgenerator locally, either on venv or on a docker container (with the Dockerfile provided), all the setCurrency and checkout requests are failing. Checking on frontend webpage, everything works as it should be ( you can change currency and checkout). Same thing on Postman.

I checked the loadgenerator (that runs on my cluster) logs and I saw that everything is normal there too,

Environment

Kubernetes environment on Google Cloud ( 1.21.10-gke.2000 )
Docker engine v20.10.7 - Windows 11
Conda venv with installed loadgenerator requirements.

@NimJay NimJay added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. priority: p2 Moderately-important priority. Fix may not be included in next release. and removed priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels May 13, 2022
@NimJay NimJay self-assigned this May 13, 2022
@vskevakis
Copy link
Author

A small update. I copied the loadgenerator image, turned off the headless mode so I can access the UI with port-forwarding and pushed it into dockerhub. I then loaded this image to my deployment and I am able to apply requests directly from the loadgenerator deployment.

I noticed that if I use the internal address (frontend:80) I can use the setCurrency and checkout requests. When I use the external address I got from istio-ingressgateway, that's when I get the fails on the above requests.

Hope that's helpful,
Cheers

@mathieu-benoit
Copy link
Contributor

mathieu-benoit commented Sep 27, 2022

Hi @vskevakis, sorry for the delay on this, but just to make sure, are you running the apps locally with Docker? Or on your local Kubernetes cluster with Kind/Minikube?

Also, could you confirm that it is working on your Kubernetes environment on Google Cloud? Is it on GKE?

Also, could you share the logs of the applications in errors please?

Thanks!

@xtineskim
Copy link
Contributor

seeing that the above info is in the initial comment - any help needed with this @NimJay ? (also just cooling down from our SLO!)

@xtineskim xtineskim added priority: p3 Desirable enhancement or fix. May not be included in next release. and removed priority: p2 Moderately-important priority. Fix may not be included in next release. labels Nov 23, 2022
@NimJay
Copy link
Collaborator

NimJay commented Nov 24, 2022

Hi @vskevakis,

In this GitHub issue, we are not running the loadgenerator inside the same Kubernetes cluster (as the rest of the Online Boutique service).
Unfortunately, running the loadgenerator outside the Kubernetes cluster (that Online Boutique is deployed to) is not a use case we currently have the bandwidth to support. :( Sorry.

Please feel free to re-open this GitHub issue if I misinterpreted (i.e., if you are in fact running the loadgenerator inside your GKE cluster).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

4 participants