Huawei / eSDK_K8S_Plugin

Container-Storage-Interface (CSI) for Huawei storage
Apache License 2.0
82 stars 47 forks source link

Raw Block Volume support (volume provisioning) #32

Closed kumarashit closed 3 years ago

kumarashit commented 3 years ago

What this PR does / Why we need it:

The changes related to create and delete volume and then stage/unstage on the node and publish/unpublish it to the app.

Tests Done:

a) Create volume, publish volume to POD [Oceanstor SAN] b) Delete volume, unpublish volume from POD [Oceanstor SAN] c) Create volume, publish volume to POD [Fusionstorage SAN] d) Delete volume, unpublish volume from POD [Fusionstorage SAN] e) Verified that pod gets the RBD as block disk f) Verified the volume creation and mapping from storage side g) Verified provisioning and de-provisioning from the node

PravinRanjan10 commented 3 years ago

What this PR does / Why we need it:

The changes related to create and delete volume and then stage/unstage on the node and publish/unpublish it to the app.

  • [x] Support for Create Volume
  • [x] Support for RBD attached to POD
  • [x] Support for Delete Volume
  • [x] Support for RBD detach from POD
  • [x] Multipath as well as non-multipath test
  • [ ] UT

Tests Done:

a) Create volume, publish volume to POD [Oceanstor SAN] b) Delete volume, unpublish volume from POD [Oceanstor SAN] c) Create volume, publish volume to POD [Fusionstorage SAN] d) Delete volume, unpublish volume from POD [Fusionstorage SAN] e) Verified that pod gets the RBD as block disk f) Verified the volume creation and mapping from storage side g) Verified provisioning and de-provisioning from the node

h) Verified Creating Snapshot i) Verified Creating pod using snapshot pvc j) Verified deleting snapshot k) Verfied cloning l) Verified expanding volume