-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Disallow local loopback for volume hosts #97934
Conversation
/lgtm similar change should be made to cloud-provider-gcp |
anything else blocking this? |
Nope, just needs approval |
ack, will let walter tag |
/lgtm |
/triage accepted |
/priority important-soon |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheftako, mattcary 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 |
/retest |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
3 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
|
/hold https://prow.k8s.io/pr-history/?org=kubernetes&repo=kubernetes&pr=97934 shows consistent failure on this test |
seen in the controller manager log:
|
Yeah, I don't know, it seems to be getting the host here:
https://github.com/kubernetes/kubernetes/blob/master/test/e2e/storage/volume_provisioning.go#L773
.
Not sure if this is something wrong with the test setup (maybe the pod was
rescheduled), or something caused by the change. Although it looks like the
error is in the Post and not in the new dial context filtering. Hmm.
…On Tue, Jan 26, 2021 at 8:16 AM Jordan Liggitt ***@***.***> wrote:
seen in the controller manager log:
glusterfs.go:838] failed to create volume: Post "http://10.64.3.127:8081/volumes": lookup 10.64.3.127:8081: no such host
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#97934 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJCBABW77E7RQA2AKJAKWTS33THTANCNFSM4V6LCXHQ>
.
|
if I'm reading the filtered proxy dialer correctly, I don't actually see how it could be working... DialContext is given a host:port. LookupIPAddr expects just the host. Opened #98436 to fix this (will need to be picked to 1.20) |
if you want to rebase this PR on #98436, we can verify that allows the function to work properly |
Thanks, I think you're right. I'll pull in your change.
…On Tue, Jan 26, 2021 at 9:04 AM Jordan Liggitt ***@***.***> wrote:
if you want to rebase this PR on #98436
<#98436>, we can verify that
allows the function to work properly
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#97934 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJCBAFS52E7YNEWTX3CCWLS33YZ3ANCNFSM4V6LCXHQ>
.
|
Change-Id: Ic356c3f859057153cfad97327f1938792a1a512c
157e845
to
9a7dcd3
Compare
/lgtm |
/hold cancel |
/retest Review the full test history for this PR. Silence the bot with an |
1 similar comment
/retest Review the full test history for this PR. Silence the bot with an |
/kind bug
What this PR does / why we need it:
This is another part of the fix for #91542
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
/cc @liggitt @msau42
/sig storage