okd-project / okd

The self-managing, auto-upgrading, Kubernetes distribution for everyone
https://okd.io
Apache License 2.0
1.78k stars 297 forks source link

oVirt IPI bootstrap doesn't complete due to api-int.<cluster> resolution issues #1278

Closed fortinj66 closed 3 months ago

fortinj66 commented 2 years ago

Describe the bug oVirt has the same issue that vSphere used to have with the bootstrap node not able to resolve api-int.<cluster>

Jul 07 20:27:42 2603-6080-c340-0400-b061-2355-9743-0394.res6.spectrum.com bootkube.sh[1751]: Trying again to restore CVO overrides
Jul 07 20:27:43 2603-6080-c340-0400-b061-2355-9743-0394.res6.spectrum.com bootkube.sh[17197]: Unable to connect to the server: dial tcp: lookup api-int.okd4.fortin.pvt: no such host

Version

[root@dev okd]# ./openshift-install version
./openshift-install 4.10.0-0.okd-2022-05-07-021833
built from commit 0adfce2a1bfede7d74ac8930a5d56df1a406a533
release image quay.io/openshift/okd@sha256:249685016c13b5a6890a6999a6b1f0b7e7d5fded1be345b4b9e85764e4eac0e4
release architecture amd64

How reproducible 100% oVirt IPI install

The solution may be similiar to the vSphere solution but I haven't investigated yet.

fortinj66 commented 2 years ago

Well, I had hoped it would be as easy to fix as it was with vSphere... Nope...

My thought was to assign a tag with the domain and then read the tag from within the bootstrap VM. But there doesn't seem to be a way to read the data from within the VM... and any API call requires authentication which is a non-starter...

If anyone has any suggestions??

fortinj66 commented 2 years ago

Opened https://github.com/openshift/installer/issues/6104

JaimeMagiera commented 2 years ago

Thanks John.