apache / apache/cloudstack

snapshot as Abnormal residue on rbd

未關閉
#12,002 2 則留言 0 個 reaction 已指派 1 人 已被 @Damans227 認領 在 GitHub 檢視
component:ceph
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

### problem

when use ceph rbd store to primary store. and turn off [snapshot.backup.to.secondary]
take Instance volume snapshot, and then Destroy Instance and expunge,
the snapshot will Abnormal residue.

because Destroy Instance and expunge, will remove rbd image and its snap. after this the cloudstack job go [ StorpoolSnapshotStrategy] to delete snap, however ,this time the snap is not exit
so cloudstack will hung,and the snapshot whill Abnormal residue in MySQL and UI. and can not delete!

### versions

CloudStack 4.21.0.0

### The steps to reproduce the bug

1.use ceph rbd store to primary store.
2.turn off [snapshot.backup.to.secondary]
3.take a Instance volume snapshot
4.Destroy Instance and expunge,
5. check the snapshot

### What to do about it?

to fix this ,you can fix the msyql snapshot ‘status’ ,fix ‘backedup' to 'CreatedOnPrimary',it may work

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。