-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE-1018] Refine Storage Group Feature on OBS Release 1.3 branch #1044
Merged
CraneShiEMC
merged 2 commits into
rel/objectscale-1.3
from
feature-refine-storage-group-release-obs-1.3
Jul 31, 2023
Merged
[ISSUE-1018] Refine Storage Group Feature on OBS Release 1.3 branch #1044
CraneShiEMC
merged 2 commits into
rel/objectscale-1.3
from
feature-refine-storage-group-release-obs-1.3
Jul 31, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: yimingwangdell <[email protected]>
CraneShiEMC
force-pushed
the
feature-refine-storage-group-release-obs-1.3
branch
from
July 30, 2023 20:49
3cd7d62
to
2ba8131
Compare
* add StorageGroupStatus Signed-off-by: Shi, Crane <[email protected]> * support StorageGroupStatus in current workflows Signed-off-by: Shi, Crane <[email protected]> * refine log Signed-off-by: Shi, Crane <[email protected]> * refine error handling Signed-off-by: Shi, Crane <[email protected]> * trigger storage group resync if applicable in drive removal Signed-off-by: Shi, Crane <[email protected]> * A drive whose Usage is REMOVED will not be selected in any storage group and its existing sg label takes no effect Signed-off-by: Shi, Crane <[email protected]> * sg feature will not apply to drive physically removed Signed-off-by: Shi, Crane <[email protected]> * handle the drive removal case of drive with manual sg label Signed-off-by: Shi, Crane <[email protected]> * fix go lint error Signed-off-by: Shi, Crane <[email protected]> * add UT case for drive-removal-triggered sg sync Signed-off-by: Shi, Crane <[email protected]> * improve UT coverage Signed-off-by: Shi, Crane <[email protected]> * refine sg annotation for drive removal Signed-off-by: Shi, Crane <[email protected]> * handle case of invalid sg for drive removal Signed-off-by: Shi, Crane <[email protected]> * also exclude removing sg for trigger sg resync in drive removal Signed-off-by: Shi, Crane <[email protected]> * refine sg removal status handling Signed-off-by: Shi, Crane <[email protected]> * Revert "refine error handling" This reverts commit 06607e7. Signed-off-by: Shi, Crane <[email protected]> * refine log and some code logic Signed-off-by: Shi, Crane <[email protected]> * try to add immutability validation rule to storagegroup spec Signed-off-by: Shi, Crane <[email protected]> * upgrade controller-gen version to v0.9.2 Signed-off-by: Shi, Crane <[email protected]> * add storagegroupcontroller UT initial Signed-off-by: Shi, Crane <[email protected]> * Revert "add storagegroupcontroller UT initial" This reverts commit 1ea8660. Signed-off-by: Shi, Crane <[email protected]> * add storagegroupcontroller UT Signed-off-by: Shi, Crane <[email protected]> * fix Signed-off-by: Shi, Crane <[email protected]> * add storagegroupcontroller UT Signed-off-by: Shi, Crane <[email protected]> * refactor and add UT of storagegroupcontroller Signed-off-by: Shi, Crane <[email protected]> * add storagegroupcontroller UT Signed-off-by: Shi, Crane <[email protected]> * fix storagegroupcontroller UT Signed-off-by: Shi, Crane <[email protected]> * add storagegroupcontroller UT Signed-off-by: Shi, Crane <[email protected]> * refine the logic of sg deletion Signed-off-by: Shi, Crane <[email protected]> * refine Signed-off-by: Shi, Crane <[email protected]> * fix bug Signed-off-by: Shi, Crane <[email protected]> * fix go-lint err Signed-off-by: Shi, Crane <[email protected]> * fix go-lint error Signed-off-by: Shi, Crane <[email protected]> * add drive IsClean support, decrease k8s api call, remove manual sg labeling support Signed-off-by: Shi, Crane <[email protected]> * fix Signed-off-by: Shi, Crane <[email protected]> * fix Signed-off-by: Shi, Crane <[email protected]> * fix UT Signed-off-by: Shi, Crane <[email protected]> * refine corner case handling Signed-off-by: Shi, Crane <[email protected]> * fix Signed-off-by: Shi, Crane <[email protected]> * refine and add UT to storagegroupcontroller Signed-off-by: Shi, Crane <[email protected]> * refine storagegroupcontroller and add UT Signed-off-by: Shi, Crane <[email protected]> * make controller svc's k8scache also sync sg and lvg objs' Signed-off-by: Shi, Crane <[email protected]> * use k8s cache, re-support sg label manual change and refine in sg ctrl Signed-off-by: Shi, Crane <[email protected]> * fix lint err Signed-off-by: Shi, Crane <[email protected]> * add storagegroupcontroller UT Signed-off-by: Shi, Crane <[email protected]> * add storagegroupcontroller UT Signed-off-by: Shi, Crane <[email protected]> * storagegroup controller will not reconcile on drive delete event Signed-off-by: Shi, Crane <[email protected]> * not support Health, Status, Usage and IsClean as DriveSelector's MatchFields Signed-off-by: Shi, Crane <[email protected]> * in storagegroupcontroller's reconcile, only sync drive when reqName is uuid Signed-off-by: Shi, Crane <[email protected]> * refine the logic to avoid nil pointer error Signed-off-by: Shi, Crane <[email protected]> * revert the usage of k8scache Signed-off-by: Shi, Crane <[email protected]> * add custom storage group proposal draft Signed-off-by: Shi, Crane <[email protected]> * refine custom storage group proposal Signed-off-by: Shi, Crane <[email protected]> --------- Signed-off-by: CraneShiEMC <[email protected]>
CraneShiEMC
requested review from
libzhang,
yimingwangdell,
yanxiucai and
aiqiEMC
July 30, 2023 21:09
yimingwangdell
approved these changes
Jul 31, 2023
yanxiucai
approved these changes
Jul 31, 2023
CraneShiEMC
changed the title
[ISSUE-1018] Refine Storage Group Feature Release OBS 1.3
[ISSUE-1018] Refine Storage Group Feature on OBS Release 1.3 branch
Jul 31, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Resolves #1018
Refine Storage Group Feature:
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/