VM instance snapshot fails if "Quiesce Instance" snapshot parameter is true
- Lingua principale
- Java
- Stelle
- 3.1k
- Fork
- 1.4k
- Merge medio
- 6g 19h
- PR unite (30g)
- 32
Descrizione
### problem
When I try to take a VM instance snapshot setting "Quiesce Instance" to true the snapshot fails with the following error:
Failed to create vm snapshot: [VMSnapshot {"id":20,"name":"i-4-21-VM_VS_20260320122510","uuid":"e9760223-4c3e-4d79-b900-00b01c2f5884","vmId":21}] due to: can't handle quiescevm equal true for volume snapshot
The VM snapshot succeeds only if I disable the "Quiesce Instance" option.
But even if quiescence option is disabled I can see that inside the VM the guest agent fsfreeze and fsthaw hooks are called.
> Mar 20 13:33:21 sonia qemu-ga[11874]: info: guest-fsfreeze called
> Mar 20 13:33:23 sonia qemu-ga[11874]: info: guest-fsthaw called
So it seems that "Quiesce Instance" option is active anyway.
### versions
CloudStack 4.22.0
KVM hypervisor
Ceph storage
Rocky Linux 10
### The steps to reproduce the bug
1. select "Take Instance Snapshot" for a VM
2. set "Quiesce Instance" to true and press OK
### What to do about it?
_No response_
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia esaminando la pull request #13941 collegata e il percorso dello snapshot che modifica, quindi riproduci il problema con una VM KVM su Ceph utilizzando l’opzione "Quiesce Instance". Il lavoro è completato quando lo snapshot richiesto viene eseguito correttamente con la quiescence abilitata e il comportamento osservato di freeze/thaw del guest agent è coperto dalla modifica o dai relativi test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- cloud, infrastructure
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100