-
Notifications
You must be signed in to change notification settings - Fork 159
Resolve disk name collisions for attached regional disks #111
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
Resolve disk name collisions for attached regional disks #111
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: davidz627 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 |
status.Error(codes.Internal, fmt.Sprintf("error getting device name: %v", err)) | ||
} | ||
|
||
devicePaths := ns.DeviceUtils.GetDiskByIdPaths(deviceName, partition) | ||
devicePath, err := ns.DeviceUtils.VerifyDevicePath(devicePaths) |
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.
did you merge that udev fix that used scsi_id and validated the device name? I wonder if that will have issues with this change.
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.
hmm I'm not really sure what you're talking about. I have a vague memory of something like that but I can't find a PR about it...
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.
do you mean the change you made to k8s/k8s where you try to rerun udevadm trigger
a bunch of times after doing some file parsing for validation? If so, then no I haven't merged that
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.
ok we may have to revisit this in that PR then
/lgtm |
Fixes: #109
/assign @msau42
/assign @verult