-
Notifications
You must be signed in to change notification settings - Fork 64
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
Not all Pods are Terminating with Kubernetes and Kathara 3.7.3 #277
Comments
It seems, that this occurs only sometimes. |
Also with The Kathara-CLI some pods do not terminate with |
Hi @BMG-DYNAMIT, Could you please enable debugging from the settings (using Thanks, |
Because the output was too long, here a smaller example using kathara Starting:
And if I try to Stop it with
|
I noticed it only happens sometimes. With more machines it happens more often, like in the following lab: |
Hi @BMG-DYNAMIT, I should have patched this behaviour by moving the deploy/undeploy watchlists methods in a separate thread, that is started before the actual deployment/undeployment of devices is started. Before merging this change in the You can find the patched code in the Install the requirements in python3 -m pip install src/requirements.txt And then you can use:
To test it. Thanks, |
Hi @Skazza94 , Thank you for your time and nice work! I tested you changes in my environment and it works now! Before:
After:
Thanks, |
Hi @BMG-DYNAMIT, I will merge the patch in |
Operating System
Ubuntu 22.04
Kathará Version
3.7.3
Bug Description
Hi,
I am using the Python-API to create a Network Scenario.
I am using Kathara with Kubernetes and Megalos with Kathara version 3.7.3
I am using Flannel CNI.
If I create a scenario with and deploy the lab with the Python-API it works.
If I try to stop the scenario with
Kathara.undeploy_lab
it hangs up.kubectl show that some pods stay in
state.
I have to terminate the scenario with kathara wipe
Steps To Reproduce
deploy a scenario with the Python-API, Kubernetes and Kathara 3.7.3.
Undeploy the scenario with
Kathara.undeploy_lab
Expected Behavior
Kathara.undeploy_lab
should delete all kathara podsCheck Command Output
No response
The text was updated successfully, but these errors were encountered: