adoptium / infrastructure

This repo contains all information about machine maintenance.
Apache License 2.0
85 stars 101 forks source link

jenkins: openpower-controller.osuosl.org: Name or service not known #3487

Open sxa opened 4 months ago

sxa commented 4 months ago

The following is happening about 144 times per day. Each instance generates about 50 lines of exception trace in the jenkins log so is therefore now a good proportion of the size of the logs :-)

java.net.UnknownHostException: openpower-controller.osuosl.org: Name or service not known
    at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:934)
[...]
    at org.openstack4j.connectors.okhttp.HttpExecutorServiceImpl.invoke(HttpExecutorServiceImpl.java:52)
[...]

This is the hostname referenced in the OSUOSL cloud configuration under the openstack plugin at https://ci.adoptium.net/manage/cloud/osuosl/

sxa commented 4 months ago

The endpoint has changed to openpower-openstack.osuosl.org although the credential we're using no longer seems to be valid for that instance so I've set the credential to None for now in order to alleviate the log pollution. We'll need to decide whether to keep using this and acquire a suitable set of automation credentials, or delete the configuration. Noting that jenkins doesn't seem to provide a way to disable a particular cloud configuration, otherwise I would have done that instead. It's still giving one warning in the log every ten minutes:

WARNING j.p.o.c.JCloudsCleanupThread#execute: Unable to authenticate: No credentials found for cloud osuosl (id=)