litmuschaos / litmus

Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
https://litmuschaos.io
Apache License 2.0
4.35k stars 683 forks source link

Litmus Chaos 3.1.0 cleanup-chaos-resources does not work well #4342

Open CindyLizi opened 8 months ago

CindyLizi commented 8 months ago

What happened: cleanup-chaos-resources does not work well, some pods still exist after experiment completed successfully

What you expected to happen: all related chaos resources can be cleaned up after experiment is completed.

Where can this issue be corrected? (optional)

How to reproduce it (as minimally and precisely as possible): Chaos Experiments --> New Experiment --> Templates from ChaosHubs --> Podtoto-head Chaos

run the experiments image

but some resources are still here.

kubectl get pod -n litmus | grep test
test-1702639060018-2219617156               0/2     Completed   0             29m
test-1702639060018-2512681660               0/2     Completed   0             30m
test-1702639060018-2653935615               0/2     Completed   0             27m
test-1702639060018-3378946198               0/2     Completed   0             27m
test-1702639060018-3661524617               0/2     Completed   0             31m

Anything else we need to know?:

amityt commented 7 months ago

Hi @CindyLizi , can you please share the experiment manifest?

CindyLizi commented 7 months ago

i launched this experiment from chao center directly, not use any manifest. Chaos Experiments --> New Experiment --> Templates from ChaosHubs --> Podtoto-head Chaos

CindyLizi commented 7 months ago

podtoto.txt

this is manifest file download from chaos center.

neelanjan00 commented 5 months ago

@amityt can you please check?

sagnik3788 commented 2 months ago

@neelanjan00 is it resolved?