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

GCP vm disk loss requires server in terminated state #562

Open
pawanphalak opened this issue Aug 1, 2022 · 0 comments
Open

GCP vm disk loss requires server in terminated state #562

pawanphalak opened this issue Aug 1, 2022 · 0 comments

Comments

@pawanphalak
Copy link

While trying out the GCP VM disk loss experiment(https://litmuschaos.github.io/litmus/experiments/categories/gcp/gcp-vm-disk-loss/). It requires the server to be in terminated state so the test can be completed, I get following error while executing this test

time="2022-08-01T09:24:38Z" level=info msg="[Chaos]: Detaching the disk volume from the instance"
time="2022-08-01T09:24:38Z" level=error msg="Chaos injection failed, err: disk detachment failed, err: googleapi: Error 400: Invalid resource usage: 'To detach the boot disk, the instance must be in TERMINATED state.'., invalidResourceUsage"

Is there a way to force detach the disk from the server while the server is still in running state? We want to test this experiment on a GKE node and we cant stop the node of the GKE nodepool to execute this experiment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant