dell / csi-baremetal

Bare-metal CSI Driver
Apache License 2.0
72 stars 33 forks source link

[ISSUE-1018] Refine Storage Group Feature on OBS Release 1.3 branch #1044

Closed CraneShiEMC closed 1 year ago

CraneShiEMC commented 1 year ago

Purpose

Resolves #1018

Refine Storage Group Feature: 1) Add StorageGroupStatus 2) If we perform drive removal on the drive selected by some storagegroup with numberDrivesPerNode>0, the storagegroup's reconcilation should be triggered and it can select another drive if applicable. 3) Block StorageGroupSpec Update 4) Add StorageGroupController UT 5) For the drive with existing volumes that matches the driveSelector of some storage group, the drive should be selected into its matching storage group when its exsiting volumes removed. 6) The blocked storagegroup deletion can continue instantly after all exisitng volumes on drives of this storage group is removed.

PR checklist

Testing

Manual test passed. Custom CI passed: https://asd-ecs-jenkins.isus.emc.com/job/csi-custom-ci/1559/ Custom Acceptance Passed: https://asd-ecs-jenkins.isus.emc.com/job/csi-custom-acceptance-tar_b_ona/36/