-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add support for raw (non-formatted) volume #2651
Add support for raw (non-formatted) volume #2651
Conversation
Hello slaperche-scality,My role is to assist you with the merge of this Status report is not available. |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/2.6/feature/2421-add-support-for-raw-block-volume origin/development/2.6
$ git merge origin/feature/2421-add-support-for-raw-block-volume
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/2.6/feature/2421-add-support-for-raw-block-volume |
Will do some more manual testing, but code is ready for review |
Refs: #2615 Signed-off-by: Sylvain Laperche <[email protected]>
Having a set of "KEP-style" docs is too heavy for our needs. Signed-off-by: Sylvain Laperche <[email protected]>
This options allows to skip the formatting of the device. It's optional and will be set to false by default (i.e., format the device) to preserve the backward compatibility. Refs: #2421 Signed-off-by: Sylvain Laperche <[email protected]>
Refs: #2421 Signed-off-by: Sylvain Laperche <[email protected]>
ed7c3f1
to
2265621
Compare
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.
Some early comments, most of it looks good to me :)
Refs: #2421 Signed-off-by: Sylvain Laperche <[email protected]>
Refs: #2421 Signed-off-by: Sylvain Laperche <[email protected]>
dd66215
to
6b589f0
Compare
/reset |
Reset completeI have successfully deleted this pull request's integration branches. |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/2.6/feature/2421-add-support-for-raw-block-volume origin/development/2.6
$ git merge origin/feature/2421-add-support-for-raw-block-volume
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/2.6/feature/2421-add-support-for-raw-block-volume |
807172b
to
2ec24f5
Compare
/reset |
2ec24f5
to
2355d00
Compare
Reset completeI have successfully deleted this pull request's integration branches. |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/2.6/feature/2421-add-support-for-raw-block-volume origin/development/2.6
$ git merge origin/feature/2421-add-support-for-raw-block-volume
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/2.6/feature/2421-add-support-for-raw-block-volume |
12fd228
to
c131560
Compare
746d3d2
to
1ce9bb9
Compare
This makes Volume closer to the underlying PersistentVolume (which simplify the code and also helps the user already familiar with PersistentVolume). Refs: #2421 Signed-off-by: Sylvain Laperche <[email protected]>
Will be less confusing. Refs: #2421 Signed-off-by: Sylvain Laperche <[email protected]>
By using sgdisk we can change the partition GUID to match the volume UUID. Haven't found how to do it with parted… Refs: #2421 Signed-off-by: Sylvain Laperche <[email protected]>
In some case, this trigger an infinite reconciliation loop… Refs: #2421 Signed-off-by: Sylvain Laperche <[email protected]>
1ce9bb9
to
b0eca3d
Compare
Ready for a new round of review, I've applied all the requested changes and tested manually the different cases for Block mode (whole disk, partition and LVM volume) and they work. That being said, unlike Filesystem mode, we now some distinct codepaths for Block mode (partition and LVM cases are specific to |
/reset |
Reset completeI have successfully deleted this pull request's integration branches. |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/2.6/feature/2421-add-support-for-raw-block-volume origin/development/2.6
$ git merge origin/feature/2421-add-support-for-raw-block-volume
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/2.6/feature/2421-add-support-for-raw-block-volume |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: |
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.
Refs: #2421 Signed-off-by: Sylvain Laperche <[email protected]>
/approve |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: The following options are set: approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye slaperche-scality. |
Component:
operator, salt
Context:
We want to support the provisioning of non-formatted block device.
Summary:
Add a new parameter
noFormat
in the Volume CRD and update Salt code to adapt the provisioning accordingly.Acceptance criteria:
Tests are passing (
sparseLoopDevice
)Manual testing (
rawBlockDevice
)Closes: #2421, #2963