Cloudstack allows you to create snapshots with the same name for the same volume
維護者通常 1 天內回覆
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 58/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- java
- 領域
- cloud, infrastructure
研究方向
先在一個磁碟區上為兩個名稱相同的快照重現列出的步驟,然後追蹤涉及的快照建立與刪除路徑。完成的標準是 CloudStack 拒絕重複項目,或是在刪除其中一個快照時,維持快照項目與 secondary-storage 檔案的一致性。
由索引模型根據 Issue 內容生成。
描述
problem
Bug report:
CloudStack allows creating multiple snapshots of the same volume with identical names.
The snapshot file on secondary storage is overwritten when a snapshot with the same name is created
When one of these snapshots is deleted via CloudStack. The snapshot file is removed from secondary storage. Other snapshot entries remain in CloudStack but no longer have a corresponding file.
Deleted a snapshot in Cloudstack
The first snapshot was deleted from CloudStack. During the deletion process, CloudStack also removed the snapshot file from secondary storage.
However, a second snapshot entry still remains in the database and references a file on secondary storage that no longer exists.
versions
ACS: 4.20.2.0
Hypervisor: KVM
Primary Storage: Linstor
Secondary Storage: NFS
The steps to reproduce the bug
- Create a volume
- Create snapshot with name for example "test-snapshot"
- Create another snapshot with the same name "test-snapshot"
- Verify that both snapshots exist in CloudStack and only one exists on the secondary storage
- Delete ONE of the snapshots via CloudStack
- Check secondary storage — snapshot file is removed
- Check remaining snapshot in CloudStack
What to do about it?
Prevent creating snapshots with the same name for the same volume. Deleting one breaks the other.
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 10 天 6 小時
- 30 天內合併 PR
- 11
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
apache/cloudstack 的其他 Issue
-
[UI] "canceled - Unable to reach the management server" notification when switching from project to default view on Instances page (4.20.3)可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug
難度 2/5 1-3 小時 新手友好度 65/100
apache/cloudstack#14381 ·
維護者通常 1 天內回覆
-
Routed network ACL rules with a protocol number are not applied on the VR (ip nexthdr instead of ip protocol)可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉component:virtual-router
難度 2/5 1-3 小時 新手友好度 82/100
apache/cloudstack#14351 ·
維護者通常 1 天內回覆
-
listPublicIpAddresses NullPointerException on shared networks with a VR (4.22)可能已有人在做 @MitchDrage 於 18 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 80/100
apache/cloudstack#14248 ·
維護者通常 1 天內回覆
-
CKS: upgradeKubernetesCluster fails on control node when binaries ISO ships headlamp.yaml instead of dashboard.yaml可能已有人在做 @mw-0 於 19 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 68/100
apache/cloudstack#14244 · 1 則留言 ·
維護者通常 1 天內回覆
-
Resize volume API validation errors are not displayed in the UI可能已有人在做 @sathvikaragi 於 21 天前認領。 未關閉bug
難度 1/5 1 小時以內 新手友好度 90/100
apache/cloudstack#14222 · 2 則留言 ·
維護者通常 1 天內回覆
查看 apache/cloudstack 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
objectionary/lints#1556 ·
維護者通常 3 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
wildfly/wildfly-launcher#99 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
apache/rocketmq#11427 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
-
難度 1/5 1 小時以內 新手友好度 88/100
objectionary/phino#1884 · 1 則留言 ·
維護者通常 1 天內回覆