VM instance snapshot fails if "Quiesce Instance" snapshot parameter is true
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.4k
- 平均マージ
- 6日 19時間
- マージ済み PR(30日)
- 32
説明
### 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_
コントリビューションガイド
調査の方向性
まず、リンクされた pull request #13941 と、それが変更するスナップショットパスを確認し、次に "Quiesce Instance" オプションを使用して Ceph 上の KVM VM で障害を再現します。quiescence を有効にした状態で要求されたスナップショットが成功し、観測された guest agent の freeze/thaw 動作が変更またはそのテストでカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- cloud, infrastructure
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100