-
Notifications
You must be signed in to change notification settings - Fork 200
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
feat(cstor-operator): add a support to create pools on unclaimed BD in manual mode #1255
Conversation
… BD in manual mode Signed-off-by: mittachaitu <[email protected]>
Signed-off-by: mittachaitu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found some fixes!
P.S. share your ideas, feedbacks or issues with us at https://github.com/fixmie/feedback (this message will be removed after the beta stage).
…and removes unwanted code Signed-off-by: mittachaitu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found some fixes!
P.S. share your ideas, feedbacks or issues with us at https://github.com/fixmie/feedback (this message will be removed after the beta stage).
…during manual provisioning Signed-off-by: mittachaitu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have some comments. PTAL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filter
in GetBlockDevice
need to be specific to auto and manual modes
Signed-off-by: mittachaitu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found some fixes!
P.S. share your ideas, feedbacks or issues with us at https://github.com/fixmie/feedback (this message will be removed after the beta stage).
Signed-off-by: mittachaitu <[email protected]>
Signed-off-by: mittachaitu <[email protected]>
Signed-off-by: mittachaitu <[email protected]>
Signed-off-by: mittachaitu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes are good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm -- Some test cases and minor comments can be taken in a new PR.
For some reason, travis is showing as 'in-progress' in the PR, but, clicking on the travis link shows that travis is passed. Hence, merging the PR. |
…n manual mode (openebs-archive#1255) Signed-off-by: mittachaitu <[email protected]>
…unclaimed BD in manual mode (#1267) * refact(cstor-pool,sparse): Update SPC type to blockdevice (#1264) With latest changes, to create StoragePoolClaim we have to use spc type blockdevice as common type instead of sparse/disk for creating sparse or disk based cstor pools ``` apiVersion: openebs.io/v1alpha1 kind: StoragePoolClaim metadata: name: sparse-claim-auto spec: name: sparse-claim-auto type: blockdevice maxPools: 1 minPools: 1 poolSpec: poolType: striped cacheFile: /var/openebs/sparse/sparse-claim-auto.cache overProvisioning: false ``` Signed-off-by: prateekpandey14 <[email protected]> * feat(cstor-operator): add a support to create pools on unclaimed BD in manual mode (#1255) Signed-off-by: mittachaitu <[email protected]>
…ckdeviceclaim (#1270) * refact(cstor-pool,sparse): Update SPC type to blockdevice (#1264) With latest changes, to create StoragePoolClaim we have to use spc type blockdevice as common type instead of sparse/disk for creating sparse or disk based cstor pools ``` apiVersion: openebs.io/v1alpha1 kind: StoragePoolClaim metadata: name: sparse-claim-auto spec: name: sparse-claim-auto type: blockdevice maxPools: 1 minPools: 1 poolSpec: poolType: striped cacheFile: /var/openebs/sparse/sparse-claim-auto.cache overProvisioning: false ``` Signed-off-by: prateekpandey14 <[email protected]> * feat(cstor-operator): add a support to create pools on unclaimed BD in manual mode (#1255) Signed-off-by: mittachaitu <[email protected]> * fix(blockdeviceclaims): fix openebs version type in blockdeviceclaim (#1269) Signed-off-by: mittachaitu <[email protected]>
What this PR does / why we need it:
This PR adds the support to create pool on unclaimed block devices.
Steps to create a pool on unclaimed block devices:
kubectl apply -f <file_name>
.Manual provisioning (supported): Manual provisioning implies specifying exact blockdevices on which cStor pools need to be created. In other words, update blockDeviceList field with unclaimed blockdevices available on which pools need to be created.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
TODO:
Checklist:
documentation
tagbreaking-changes
tagrequires-upgrade
tag