-
Notifications
You must be signed in to change notification settings - Fork 243
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
[BUG] Fails to resolve nameserver when run own DNS server through docker. #4144
Comments
The workaround does not apply to me as I routinely disable system-resolved and run by own DNS server through docker. So not convinced it can necessarily be closed since my setup is different and the workaround is not really a resolution. |
Needless to say I was running 2.27 and everything was working without a problem. |
If required, I can post the configuration of my |
@praveenkumar should be able to provide more details next week. My understanding is that there are 2 bugs.
This allows the processes running inside the cluster to resolve (for example) This means with 4.15 bundles, the guest will rely on the host DNS resolution to resolve Given your custom DNS configuration, I would guess your host knows nothing about |
I can see the you skipped the
but if you login to the VM (in current case) you will see only following
try something which @cfergeau suggested #4144 (comment) and see if that works. |
So
|
What about other domain like |
@phantomjinx Thanks for all the info, I am working on it to resolve this issue. |
@phantomjinx can you try to download the artifact from https://github.com/crc-org/crc/actions/runs/8985004693 one and extract it (which will have the crc binary and rpm) use that crc binary and see if that works for you? |
Unfortunately, crc could not start ...
|
@phantomjinx you had to do |
@praveenkumar ran
Just to avoid any confusion, I execute a script
|
@phantomjinx Did you use |
Yes. I have been using So I have successfully started up a cluster with the downloaded artifact but in order to get around the version checks, I had to compile the following separately and drop into the
So, upshot is that whatever was changed in the download snapshot did fix the DNS issues and allowed the pull secret to be correctly installed. |
For what it's worth, I've just checked that if I download https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/2.35.0/crc-linux-amd64.tar.xz , after running
|
(checking the gh actions artifact now...). It seems to be embedding an older version indeed, we'd need to fix that :) |
https://github.com/crc-org/crc/blob/main/images/rpmbuild/Containerfile.in <- these versions need to be updated. |
`make test-rpmbuild` uses a container images with preinstalled admin-helper/machine-driver-libvirt RPMs to generate a `crc` binary/rpm embedding these binaries. However, the versions used no longer match what crc expects, which is causing issues. This was reported in crc-org#4144 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
`make test-rpmbuild` uses a container images with preinstalled admin-helper/machine-driver-libvirt RPMs to generate a `crc` binary/rpm embedding these binaries. However, the versions used no longer match what crc expects, which is causing issues. This was reported in #4144 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
@phantomjinx We just released 2.36.0 which have the fix, can you try that version and close this issue if it is working for you? |
2.36.0 is good. Thanks for sorting this. |
General information
crc setup
before starting it (Yes/No)? YesCRC version
CRC status
CRC config
Host Operating System
Steps to reproduce
crc setup
-> reports crc is setup correctlycrc start --log-level info --nameserver 192.168.200.1 -p crc-pull-secret.json
Expected
crc to validate pull-secret and continue starting ...
Actual
Logs
Before gather the logs try following if that fix your issue - Have tried the following:
Please consider posting the output of
crc start --log-level debug
on http://gist.github.com/ and post the link in the issue.https://gist.github.com/phantomjinx/2e87e94860df04d4a0275bed88e52d19
The text was updated successfully, but these errors were encountered: