-
Notifications
You must be signed in to change notification settings - Fork 185
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
storageclassrequest: reconcile RADOS Namespace for blockpool request #2478
storageclassrequest: reconcile RADOS Namespace for blockpool request #2478
Conversation
Skipping CI for Draft Pull Request. |
9b2f572
to
33f5168
Compare
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
33f5168
to
e321c97
Compare
Address most of the review comments, going to step away for a bit for the afternoon. Still not done with removing storage profiles (getting there...) but pushing what I have thus far just in case. |
bd9870b
to
6aa7135
Compare
Aaaand finally I can consider this ready for review. I still need to do another round of rigorous testing based on all the recent review changes, but for now this is close enough. NOTE: StorageProfiles still remain, but only for SubvolumeGroups. Apart from being out of scope for this PR, I'll want to have some discussion with folks more familiar with subvolume groups as to how to best determine/set/match device classes. |
/test ocs-operator-bundle-e2e-aws |
1 similar comment
/test ocs-operator-bundle-e2e-aws |
I don't know what's causing the e2e-test to fail.... nothing in the operator Pod logs suggests an error of any kind, the tests just time out waiting for the StorageCluster... which it seems to do by watching for the OperatorCondition to be "Upgradable", I think? But the ocs-must-gather doesn't look like it ran, either, so I can't inspect any of the CRs. Any ideas? |
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
667cdd4
to
765203e
Compare
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
765203e
to
661ae59
Compare
b4ad713
to
80ace6d
Compare
Since a StorageClass resource *must* always be returned as one of the external resources in the StorageClassClaimConfig, we might as well start defining it outside the loop over the StorageClassRequest's CephResources. This enables the upcoming enhancement to add RADOS namespace information. Signed-off-by: Jose A. Rivera <[email protected]>
Signed-off-by: Jose A. Rivera <[email protected]>
Signed-off-by: Jose A. Rivera <[email protected]>
80ace6d
to
5b39995
Compare
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
controllers/storageclassrequest/storageclassrequest_controller.go
Outdated
Show resolved
Hide resolved
5b39995
to
baacc8c
Compare
This set of changes achieves two things: * Reconciles a given CephBlockPool to serve a single storage profile, regardless of consumer. As part of this, also changes the CephBlockPool name generation to remove the UUID portion. * Reconciles a CephBlockPoolRadosNamespace to provide isolation of data for consumers on shared block pools. Signed-off-by: Jose A. Rivera <[email protected]>
baacc8c
to
f8c4eed
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jarrpa, nb-ohad The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
cdbfe1d
into
red-hat-storage:main
Signed-off-by: Jose A. Rivera [email protected]