Volumes not destroyed after VM expunging
- Langage dominant
- Java
- Étoiles
- 3.1k
- Forks
- 1.4k
- Merge moyen
- 6 j 19 h
- PR mergées (30 j)
- 32
Description
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
~~~
core
~~~
##### CLOUDSTACK VERSION
~~~
4.19.0.1
~~~
##### CONFIGURATION
##### OS / ENVIRONMENT
KVM hosts (both Ubuntu 22 and OL8 as OS) with NFS v4 primary storage
Using library: libvirt 8.0.0
Using API: QEMU 8.0.0
Running hypervisor: QEMU 6.2.0
##### SUMMARY
Some volumes (only ROOT volumes) remains in Destroy state after the related VM is correctly expunged. Trying to manually delete them results in the following error: "cannot unlock file 'path-to-the-qcow2': Permission denied. Libvirtd run as root on the hosts and I found no permission/ownership issues on the qcow2 disks.
##### STEPS TO REPRODUCE
~~~
I'm not really sure on how to reproduce the issue, seems related only to root disks in our environnement, as data disks give no issues if I try to delete them.
~~~
##### EXPECTED RESULTS
~~~
When the VM is expunged also the root disk is deleted as well
~~~
##### ACTUAL RESULTS
~~~
The root disk remain in the UI in "Destroy" state
~~~
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
L’issue n’indique aucun fichier source, test ni point d’entrée. Commencez par suivre le nettoyage des volumes core lors de la suppression des VM dans l’environnement KVM/NFS signalé et recherchez pourquoi les volumes racine restent dans l’état Destroy ; le travail est terminé lorsque le volume racine est supprimé avec la VM supprimée sans l’erreur d’autorisation signalée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- cloud, infrastructure
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100