mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
rbd: add exclusive-lock and journaling image features for rbd image
Current rbd plugin only supports the layering feature for rbd image. Add exclusive-lock and journaling image features for the rbd. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com> Signed-off-by: woohhan <woohyung_han@tmax.co.kr>
This commit is contained in:
committed by
mergify[bot]
parent
2f6fca0862
commit
d8f7b38d3d
12
e2e/rbd.go
12
e2e/rbd.go
@ -467,6 +467,18 @@ var _ = Describe("RBD", func() {
|
||||
}
|
||||
})
|
||||
|
||||
// TODO: enable this test when we support rbd-nbd mounter in E2E.
|
||||
// nbd module should be present on the host machine to run use the
|
||||
// rbd-nbd mounter.
|
||||
|
||||
// By("create a PVC and Bind it to an app with journaling/exclusive-lock image-features and rbd-nbd mounter", func() {
|
||||
// deleteResource(rbdExamplePath + "storageclass.yaml")
|
||||
// createRBDStorageClass(f.ClientSet, f, nil, map[string]string{"imageFeatures": "layering,journaling,exclusive-lock", "mounter": "rbd-nbd"})
|
||||
// validatePVCAndAppBinding(pvcPath, appPath, f)
|
||||
// deleteResource(rbdExamplePath + "storageclass.yaml")
|
||||
// createRBDStorageClass(f.ClientSet, f, nil, make(map[string]string))
|
||||
// })
|
||||
|
||||
By("create a PVC clone and bind it to an app", func() {
|
||||
// snapshot beta is only supported from v1.17+
|
||||
if k8sVersionGreaterEquals(f.ClientSet, 1, 17) {
|
||||
|
Reference in New Issue
Block a user