Repository navigation
[DO NOT MERGE] Add hostname to IP resolution to all Dockerfiles that use yum - #9230
stevekuznetsov wants to merge 1 commit into
Conversation
|
[test] |
| ENV GOPATH=/go \ | ||
| PATH=$PATH:$GOROOT/bin:$GOPATH/bin | ||
|
|
||
| RUN getent hosts mirrorlist.centos.org |
There was a problem hiding this comment.
don't we want a single RUN statement for all of these to avoid adding another layer? I would expect this command &&-ed with the other commands
There was a problem hiding this comment.
Why do we want to avoid the layer?
There was a problem hiding this comment.
I was thinking we wouldn't merge this but just kick it until it failed -- was merging this and making it part of the images for a while a possiblity?
There was a problem hiding this comment.
didn't realize this was non-merging debug code
yumyum
|
re[test] |
|
@wshearn we have our first hit: re[test] |
|
So in this instance you're attempting to pull the mirrorlist info over ipv6. I was under the impression that ec2 lacked ipv6 support, but I don't regularly use aws so I could be mistaken, or working from older information. |
|
@jperrin my debug statement seems to be resolving an IPv6 host but that may be an error on my part ... the IP resolved by I can switch over to using |
bda41d7 to
a3028d7
Compare
Signed-off-by: Steve Kuznetsov <[email protected]>
a3028d7 to
230c799
Compare
|
@danmcp is this a vagrant plugin timeout on a command firing? |
|
@stevekuznetsov Yes |
|
re[test] |
|
flake, gosh darn it re[test] |
|
Forcing the flake is somehow seeming fruitless ... @wshearn is there a more targeted test I could do with the output from re[test] |
|
yes. I would need to know if it's a specific centos.org machine that's acting up, or if it's something in amazon's networking. If it's one of ours then we can address it, but we've had no other complaints like this. My immediate reaction is to blame amazon's network, but I'd like to have proof one way or the other. |
|
Woooo! Flake: re[test] |
|
Evaluated for origin test up to 230c799 |
|
Using the ip above, I set this in my local dns, and ran the following In 100 iterations, the one query stood out as the slowest, at 1.270s, everything else averages 0.28 seconds. I don't think 1.2 seconds should be enough for yum to time out. I'll continue to test, but I don't see anything amazingly abnormal on this end. |
|
Discussing this with our infra guy, and it appears this is likely related to another issue. https://bugs.centos.org/view.php?id=10685 |
|
Running this 1000 times in EC2 I see the following times (top thirty longest) in seconds for |
|
I can stick Here's the log from the most egregious failure: |
|
yup. that's consistent with what was reported in our bugtracker. |
|
Is there any way to configure |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/4812/) |
|
For reference, we have the following |
|
there's no way that I'm aware of to configure yum to retry the connection. |
|
@jperrin how can we best approach this? Since I seem to be able to repro it on the EC2 instances... is there other data I can collect for you? That bug report looks like the root cause (of the 503) hasn't been determined |
|
Origin Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again |
|
Just to add that we went "live" with the new backend code behind mirrorlist.centos.org and at first sight (on monitoring side/status/response time) the intermittent error should have disappeared. Can you confirm that it fixes the issue for you too ? |
|
@arrfab over 5k pings we see this distribution on AWS EC2 (logarithmic scale on frequency axis): Long tail, slowest 30 are: However, nothing that will cause failures I believe. |

Signed-off-by: Steve Kuznetsov [email protected]
/cc @wshearn