Open ildar opened 3 years ago
I finally found that it is documented: openshift/installer#1382 (comment) and https://github.com/openshift/installer/tree/master/docs/dev/libvirt#console-doesnt-come-up
Shouldn't it be fixed in crc-xxxxx network configuration?
$ cat /etc/NetworkManager/dnsmasq.d/openshift.conf
server=/tt.testing/192.168.126.1
address=/.apps.tt.testing/192.168.126.51
configures the host system to:
crc-xxxx
libvirt network in order to resolve *.tt.testing
(there are only a handful of domains to resolve in that subdomain, which are all present in the libvirt network definition*.apps.tt.testing
), and since we can't predict which hostnames will need to de resolved in .apps.tt.testing
, this bypasses the libvirt network and directly resolves these hostnames to the single node VMMaybe 2. can be done differently now that it's possible to have dnsmasq passthrough options in libvirt network xml https://libvirt.org/formatnetwork.html#elementsNamespaces
.crc.testing
pattern (found in crc-snc.conf). It has dash but not dot: https://oauth-openshift.apps-crc.testing ---
What did go wrong?Emm, sorry, (3) was pointless. Adding:
snc.sh
- Correct me if I'm wrong, but openshift.conf is created only in createdisk.sh, which isn't called before snc.sh
It is done near the beginning of snc.sh
https://github.com/code-ready/snc/blob/0c3b4aab068174aaee09b13c8ecfd85b14b11851/snc.sh#L96-L102
The networking configuration snc does is really basic, and follows openshift-install
documentation. It's probably possible to make it better (it does not have to /add checks when it's not good enough/... Initially snc.sh had no checks at all for network configuration. Some basic ones were added to make thing more 'user-friendly'. Patches are welcome to improve this some more :)
Installation advanced quite far but cannot finish. Bootstrap is destroyed already but Console web can't start.
openshift-console
namespace are inCrashLoopBackOff
stateshows this error:
Shouldn't it be fixed in
crc-xxxxx
network configuration?