Comments (6)
Nice!
Can you close this issue then?
from okd.
The log says:
[tls] certificate is valid for *.apps.oc.domain.tld, *.oc.domain.tld, oc.domain.tld, not login.domain.tld
So you have to generate a new SSL certificate that includes login.domain.tld
from okd.
@codespearhead thanks for the tip. However "login.domain.tld" is the URL of our SSO. This is running on an external server with its own Let's Encrypt certificate.
I think this issue is most probably an issue with how the domain is being resolved, because we are getting the following errors in the DNS:
dns-default-9x8qn linux/amd64, go1.20.12 X:strictfipsruntime,
dns-default-9x8qn [INFO] 10.128.0.100:39274 - 64042 "A IN login.domain.tld.oc.domain.tld. udp 63 false 1232" - - 0 6.002317855s
dns-default-9x8qn [ERROR] plugin/errors: 2 login.domain.tld.oc.domain.tld. A: read udp 10.128.0.39:46929->9.9.9.9:53: i/o timeout
dns-default-9x8qn [INFO] 10.128.0.121:32824 - 32981 "A IN infogw.api.openshift.com.oc.domain.tld. udp 74 false 1232" - - 0 6.001218683s
dns-default-9x8qn [ERROR] plugin/errors: 2 infogw.api.openshift.com.oc.domain.tld. A: read udp 10.128.0.39:39464->9.9.9.9:53: i/o timeout
dns-default-9x8qn [INFO] 10.128.0.47:53644 - 40718 "A IN api.oc.domain.tld. udp 53 false 1232" - - 0 6.002321304s
dns-default-9x8qn [ERROR] plugin/errors: 2 api.oc.domain.tld. A: read udp 10.128.0.39:38144->9.9.9.9:53: i/o timeout
Somehow whenever it checks an external FQDN for .e.g infogw.api.openshift.com
/ login.domain.tld
it checks the following instead infogw.api.openshift.com.oc.domain.tld
/ login.domain.tld.oc.domain.tld
which is always appending the base domain of our cluster at the end.
from okd.
Show us what base domain is set in your cluster.
- Log into the cluster:
oc login --server=<your-cluster-api-url> -u <username> -p <password>
- Output its base domain:
oc get ingresses.config.openshift.io cluster -o jsonpath='{.spec.domain}'
from okd.
This is the output of the command. The domain.tld
is used to replace the real domain.
$ oc get ingresses.config.openshift.io cluster -o jsonpath='{.spec.domain}'
apps.oc.domain.tld
from okd.
I managed to find out the cause. It looks like the /etc/resolv.conf
of the host has the search
parameter configured, which is the reason why the base domain of the cluster is always appending on every DNS queries on the cluster.
# Generated by NetworkManager
###search oc.domain.tld
nameserver .....
I removed this parameter and it works.
from okd.
Related Issues (20)
- Bug: Style issue in all versions of docs HOT 8
- Kernel version: v1.28.2-3598+6e2789bbd58938-dirty causes installation to fail
- Bootstrap process could not start in Disconnected installation
- [AWS] Cluster failed with: ERROR failed to initialize the cluster: Cluster operators authentication, console, image-registry, ingress, monitoring, storage are not available
- OKD on SCOS (4.14 2024-01-30) deployment fails on vSphere UPI, SCOS bad shim signature HOT 3
- crc start cannot enable dnsmasq service because it's masked HOT 3
- Documentation on "Mirroring images for a disconnected installation using the oc-mirror plugin" seems to be incomplete HOT 1
- Issue with machine-config on 4.14
- kube-apiserver failing to bump to new revision on SNI error HOT 1
- OKD went into failed update status overnight without input resulting in a master node status being NotReady HOT 2
- crc setup does Not download latest crcbundle 4.15.0-0.okd-2024-03-10-010116
- Error with clusterversion object, when updating 4.14 -> 4.15
- Nodes become unhealthy after from 4.11 to 4.12
- No CNI configuration file in /etc/kubernetes/cni/net.d/. Has your network provider started? HOT 1
- Baremetal on OCI: HOT 2
- [OKD 4.15] worker.ign uploaded successfully but cannot join existing cluster
- Unable to access the terminal of the work node on the UI page HOT 1
- [OKD 4.15] Disable Auto Cluster Update HOT 1
- Can't add new node with vSphere IPI installation HOT 1
- External LB move problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okd.