Skip to content
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

fix(ci): Fix OpenShift DNS node configuration #2104

Merged
merged 2 commits into from
Mar 9, 2021
Merged

fix(ci): Fix OpenShift DNS node configuration #2104

merged 2 commits into from
Mar 9, 2021

Conversation

astefanutti
Copy link
Member

This fixes OpenShift CI workflow.

Release Note

NONE

@astefanutti
Copy link
Member Author

There is still one test TestRunRest/Service_works that fails with:

Caused by: [java.net.UnknownHostException - rest-consumer]: java.net.UnknownHostException: rest-consumer

While it fixes external hostname lookups, it may be the dnsIP setting overrides support for local DNS lookups.

@astefanutti astefanutti changed the title fix(ci): Set dnsIP in OpenShift node configuration fix(ci): Fix OpenShift DNS node configuration Mar 8, 2021
@astefanutti
Copy link
Member Author

astefanutti commented Mar 8, 2021

It seems a recent update to the ubuntu-latest image brings a newer version of resolvconf, that breaks the existing configuration for the node DNS.

Appending naming servers to openshift.local.clusterup/kubedns/resolv.conf, for external lookups, manages to work-around the issue.

@astefanutti
Copy link
Member Author

astefanutti commented Mar 9, 2021

After a deeper look, the failure is caused by the Ubuntu upgrade, that now relies on systemd-resolved instead of resolveconf. I've updated the configuration of external DNS servers, and it fixes the OpenShift workflow.

Now the Yaks tests are very flaky. So let's merge this and look at the Yaks tests.

@astefanutti astefanutti merged commit 672e3b8 into apache:master Mar 9, 2021
@astefanutti astefanutti deleted the pr-214 branch March 9, 2021 08:57
@nicolaferraro nicolaferraro mentioned this pull request Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants