Closed hazem-soussi closed 11 months ago
Logs :
> machine-0: 20:40:54 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:54 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:54 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:54 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:54 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:54 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:54 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:54 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:54 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:54 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:55 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
> machine-0: 20:40:55 WARNING juju.state cleanup failed in model b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb for forceStorage("b2545c6d-5f0d-4ee8-88c5-8e5f2e3db4eb"): removing volume 0: volume is not dead
Hi. Sorry for the delay.
I can confirm that is the correct command, and the issue seems to be with Juju and/or the cluster rather than with the documentation. Obviously from the logs it looks like the storage is the issue - may be helpful to include what type of storage was set up for the cluster. Juju bugs are tracked in launchpad - sorry I can't just move this issue here. If it is still a problem you can file a bug on launchpad
@evilnick That was fixed by investigating the attached volumes to the model Thanks for contributing
Overview Encountered an issue while using the Juju destroy-model command to remove a Kubernetes model (k8s-model). The process seems to be stuck at the "Waiting for model to be removed" stage. Steps to Reproduce
`juju
destroy-model k8s-model --force --destroy-storage --debug ` Observed Behavior The destroy-model command is initiated successfully, but it gets stuck at the "Waiting for model to be removed, 3 volume(s)..." stage. The command does not complete, and the model removal process seems to be taking longer than expected.Additional Information Environment Juju Version: 3.2.4 Kubernetes Cluster Status: [destroyed] Operating System: Ubuntu 22.04.3 LTS
### Expected Behavior The destroy-model command should successfully remove the specified Kubernetes model and its associated resources without getting stuck at the "Waiting for model to be removed" stage.
Note
This issue is being documented for further investigation and potential resolution. Any assistance or guidance from the community is highly appreciated.