Orphaned snapshots remain after deleting volumes in CLVM_NG primary storage
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 58/100
調査の方向性
まず、CLVM_NG を使用して ACS 4.23 上で記載された volume と snapshot のワークフローを再現し、データベースと GUI のレコードを通じて volume 削除の経路を追跡します。これを明示的な Volume Snapshot 削除の経路と比較します。完了条件は、元の volume を削除してもそれを参照する snapshot が残らず、基盤となる LVM のクリーンアップが引き続き正常に行われることです。
索引モデルが issue の本文から書いたものです。
説明
problem
Issue: Orphaned snapshots remain after deleting volumes in CLVM_NG primary storage
I'm seeing an issue with CLVM_NG primary storage where snapshots persist for volumes that have already been deleted.
Reproduction steps:
- Deploy a VM with a single root volume that has an associated volume snapshot.
- Create a new volume from that snapshot.
- Detach the root volume from the VM.
- Attach the newly created volume to the VM.
- Delete the original volume (the one with the associated snapshot).
Observed behavior:
The snapshot remains in the system, still linked to the deleted volume.
Additional observations:
- When deleting the volume, I can confirm that the LVM logical volumes (LVs) associated with both the root volume and its snapshot are deleted on the KVM hosts. So the underlying storage is cleaned up correctly.
- However, the snapshot entry is not removed from the database/GUI
- If I then manually delete the snapshot from the "Volume Snapshot" section, the operation reports success and the snapshot is no longer displayed in the GUI. This suggests the deletion works, but only when triggered explicitly against the snapshot record.
Expected behavior:
Deleting a volume should also remove (or orphan-clean) any snapshots associated with it, or at minimum the snapshot should no longer reference a non-existent volume.
versions
ACS: 4.23
Primary storage: CLVM_NG
Hypervisor: Rhel9 KVM
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.4k
- 平均マージ
- 6日 20時間
- マージ済み PR(30日)
- 27
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/cloudstack のほかの issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
apache/cloudstack#14222 ·
-
bug component:kubernetes
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
apache/cloudstack#14180 ·
-
bug component:projects component:UI
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
apache/cloudstack#14070 · コメント 5 件 ·
-
component:backup
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
apache/cloudstack#14013 ·
-
KVM agent fails to connect to Ceph RBD storage pool after upgrading Ceph client to Tentacle 20.2.4 オープンbug component:ceph
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/cloudstack#13989 · コメント 3 件 ·
apache/cloudstack の issue をすべて見る
似ている issue
-
bug untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
opensearch-project/ml-commons#5094 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
emitter:client:csharp feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
affects/8.10 affects/8.9 component/clients kind/bug likelihood/mid severity/mid
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 オープンbug frontend maui-pilot
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100