-
Notifications
You must be signed in to change notification settings - Fork 99
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(block): adding raw block volume support for LVM #14
Conversation
Signed-off-by: Pawan <[email protected]>
pkg/driver/agent.go
Outdated
@@ -115,7 +115,8 @@ func (ns *node) NodePublishVolume( | |||
// If the access type is block, do nothing for stage |
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.
Didnt get this comment. This is the publish request.
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.
this is not a vaild comment here, this is for nodestagevolume grpc call.
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.
@pawanpraka1 Can you remove this comment,
volume := vol.Spec.VolGroup + "/" + vol.Name | ||
devicePath := DevPath + volume | ||
|
||
mountopt := []string{"bind"} |
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.
Why do we need to bind mount the device at a path during nodepublish. Is it a requirement from CSI?
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.
yes, we need to moount the device to the path where kubelet wants us to.
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.
given a comment regarding workflow.
Signed-off-by: Pawan <[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.
LGTM. Gave a suggestion on removing the comment.
Signed-off-by: Pawan <[email protected]>
Signed-off-by: Pawan [email protected]
Why is this PR required? What issue does it fix?:
adding raw block volume support for LVM
Does this PR require any upgrade changes?:
No
If the changes in this PR are manually verified, list down the scenarios covered::
tested with the sample fio yaml added in this PR