Monday, February 17, 2020
Otherwise a normal day.
Libvirt go XML parser
Keep this article for further reference.
Error starting CRC
Installing CRC following these instructions. The first run fails:
crc> crc startINFO Checking if oc binary is cached INFO Checking if running as non-root INFO Checking if Virtualization is enabled INFO Checking if KVM is enabled INFO Checking if libvirt is installed INFO Checking if user is part of libvirt group INFO Checking if libvirt is enabled INFO Checking if libvirt daemon is running INFO Checking if a supported libvirt version is installed INFO Checking if crc-driver-libvirt is installed INFO Checking if libvirt 'crc' network is available INFO Checking if libvirt 'crc' network is active INFO Checking if NetworkManager is installed INFO Checking if NetworkManager service is running INFO Checking if /etc/NetworkManager/conf.d/crc-nm-dnsmasq.conf exists INFO Checking if /etc/NetworkManager/dnsmasq.d/crc.conf exists ? Image pull secret [? for help] INFO Extracting bundle: crc_libvirt_4.2.14.crcbundle ... INFO Creating CodeReady Containers VM for OpenShift 4.2.14-x86_64... INFO Verifying validity of the cluster certificates ... INFO Check internal and public DNS query ... INFO Check DNS query from host ... INFO Copying kubeconfig file to instance dir ... INFO Adding user's pull secret ... INFO Updating cluster ID ... INFO Starting OpenShift cluster ... [waiting 3m] INFO Starting OpenShift cluster ... [waiting 3m] ERRO Error approving the node csr Not able to approve csr (exit status 1 : The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
I suspect another timeout caused by my home network. crc stop followed by crc start seems to fix it:
One things that does not seem to work is to login as kubeadmin on the console (it does work from the terminal).