-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Don't fail if iface is being used by iSCSI session #74524
Conversation
f65742a
to
8c8fb40
Compare
/assign @bswartz @bertinatto, did you test it with containerized kubelet? I hope that exit codes are not lost somewhere there. |
I check containerized kubelet code and we execute iscsiadm in the container with kubelet, so kubelet gets authentic iscsiadm exit code, without any nsenter translation. |
So code-wise lgtm from me, anyone from iscsi side has has opinion? |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bertinatto, rootfs 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 |
8c8fb40
to
8b9fb04
Compare
/lgtm |
8b9fb04
to
df1701f
Compare
/lgtm |
df1701f
to
d60d7e9
Compare
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR prevents k8s failing to create a PV if an iscsi iface already exists and is being used by a session.
Which issue(s) this PR fixes:
Fixes #74523.
Does this PR introduce a user-facing change?:
/sig storage