-
Notifications
You must be signed in to change notification settings - Fork 52
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
fix:VolumePath for Block PV is incorrect #97
Conversation
/test |
@zhucan: The
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test all |
Signed-off-by: zhucan <[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
@@ -105,9 +105,13 @@ func runTest(t *testing.T, tc *testCase) { | |||
|
|||
func mockCSInodeServer(nodeServer *driver.MockNodeServer, objects []*mock.CSIVolume) { | |||
for _, volume := range objects { | |||
volumePath := "/var/lib/kubelet/pods/uid/volumes/kubernetes.io~csi/pv/mount" | |||
if volume.IsBlock { | |||
volumePath = "/var/lib/kubelet/pods/uid/volumeDevices/kubernetes.io~csi/pv" |
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.
Reminder to myself: when introducing a parameter for configuring /var/lib/kubelet
, also update this here.
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.
FYI - Volume health monitoring agent is deprecated. We'll remove it once this feature moves to Beta.
/assign @xing-yang for final review and approval. |
/assign |
@zhucan Can you add a release note in the PR description section? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pohly, xing-yang, zhucan 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 |
done |
Signed-off-by: zhucan [email protected]
What type of PR is this?
/kind bug
What this PR does / why we need it:
VolumePath for Block PV is incorrect
Which issue(s) this PR fixes:
Fixes #92
Special notes for your reviewer:
@xing-yang
Does this PR introduce a user-facing change?: