-
Notifications
You must be signed in to change notification settings - Fork 24
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
Scanning scsi bus removed as it sometimes stuck in the middle #45
Scanning scsi bus removed as it sometimes stuck in the middle #45
Conversation
This code is derived from here: https://github.com/kubernetes-csi/csi-lib-fc, maybe we should start using that module and avoid making any changes here. |
Yes Correct. |
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.
make sure to compare with the upstream code and see whats the difference is in this file?! and also run good amount of tests to confirm this is working fine.
pkg/util/util.go
Outdated
@@ -92,3 +94,13 @@ func GetAccessModes(caps []*csi.VolumeCapability) *[]string { | |||
} | |||
return &modes | |||
} | |||
|
|||
func RemoveMultipathDevice(device string) error { |
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.
We should aim to push this code to https://github.com/kubernetes-csi/csi-lib-fc
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.
PR Raised: kubernetes-retired/csi-lib-fc#4
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 can be merged now, later whenever we merge the upstream code then we can replace with that.
/lgtm
/hold
added hold as well, remove the hold whenever you are comfortable.
@Madhan-SWE I see conflicts here as well, the following instructions can help you rebase your code.
and also fix the build error |
e4f1692
to
27617a1
Compare
1b175c4
to
18f4430
Compare
Raised separate issue to use upstream fibre channel. |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Madhan-SWE, mkumatag 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 |
Fixes: #19