Skip to content

Instantly share code, notes, and snippets.

@bradfordcp
Created October 11, 2019 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradfordcp/cce618e5a72d55f65ea4e9d83e9e9722 to your computer and use it in GitHub Desktop.
Save bradfordcp/cce618e5a72d55f65ea4e9d83e9e9722 to your computer and use it in GitHub Desktop.
bradfordcp@domino ~> crc start -p ~/Downloads/pull-secret --log-level debug
DEBU No new version available, latest version at mirror is 1.0.0-rc.0
INFO Checking if running as non-root
INFO Checking if oc binary is cached
DEBU oc binary already cached
INFO Checking if Virtualization is enabled
DEBU Checking if the vmx/svm flags are present in /proc/cpuinfo
DEBU CPU virtualization flags are good
INFO Checking if KVM is enabled
DEBU Checking if /dev/kvm exists
DEBU /dev/kvm was found
INFO Checking if libvirt is installed
DEBU Checking if 'virsh' is available
DEBU 'virsh' was found in /usr/bin/virsh
INFO Checking if user is part of libvirt group
DEBU Checking if current user is part of the libvirt group
DEBU Current user is already in the libvirt group
INFO Checking if libvirt is enabled
DEBU Checking if libvirtd.service is enabled
DEBU libvirtd.service is already enabled
INFO Checking if libvirt daemon is running
DEBU Checking if libvirtd.service is running
DEBU libvirtd.service is already running
INFO Checking if a supported libvirt version is installed
DEBU Checking if libvirt version is >=3.4.0
INFO Checking if crc-driver-libvirt is installed
DEBU Checking if crc-driver-libvirt is installed
DEBU crc-driver-libvirt is already installed in /home/bradfordcp/.crc/bin/crc-driver-libvirt
INFO Checking if libvirt 'crc' network is available
DEBU Checking if libvirt 'crc' network exists
DEBU libvirt 'crc' network exists
INFO Checking if libvirt 'crc' network is active
DEBU Checking if libvirt 'crc' network is active
DEBU libvirt 'crc' network is already active
INFO Checking if NetworkManager is installed
DEBU Checking if 'nmcli' is available
DEBU 'nmcli' was found in /usr/bin/nmcli
INFO Checking if NetworkManager service is running
DEBU Checking if NetworkManager.service is running
DEBU NetworkManager.service is already running
INFO Checking if /etc/NetworkManager/conf.d/crc-nm-dnsmasq.conf exists
DEBU Checking NetworkManager configuration
DEBU NetworkManager configuration is good
INFO Checking if /etc/NetworkManager/dnsmasq.d/crc.conf exists
DEBU Checking dnsmasq configuration
DEBU dnsmasq configuration is good
Checking file: /home/bradfordcp/.crc/machines/crc/.crc-exist
INFO Loading bundle: crc_libvirt_4.2.0-0.nightly-2019-09-26-192831.crcbundle ...
INFO Creating CodeReady Containers VM for OpenShift 4.2.0-0.nightly-2019-09-26-192831...
Found binary path at /home/bradfordcp/.crc/bin/crc-driver-libvirt
Launching plugin server for driver libvirt
Plugin server listening at address 127.0.0.1:35995
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(crc) Calling .GetMachineName
(crc) Calling .DriverName
Running pre-create checks...
(crc) Calling .PreCreateCheck
(crc) DBG | About to check libvirt version
(crc) DBG | Validating network
(crc) Calling .GetConfigRaw
Creating machine...
(crc) Calling .Create
(crc) Downloading /home/bradfordcp/.crc/cache/crc from file:///home/bradfordcp/.crc/cache/crc_libvirt_4.2.0-0.nightly-2019-09-26-192831/crc.qcow2...
(crc) DBG | Verifying executable bit set on /home/bradfordcp/.crc/machines/crc
(crc) DBG | Setting executable bit set on /home/bradfordcp/.crc/machines/crc
(crc) DBG | Verifying executable bit set on /home/bradfordcp/.crc/machines
(crc) DBG | Verifying executable bit set on /home/bradfordcp/.crc
(crc) DBG | Verifying executable bit set on /home/bradfordcp
(crc) DBG | Verifying executable bit set on /home
(crc) DBG | Defining VM...
(crc) DBG | Adding the file: /home/bradfordcp/.crc/machines/crc/.crc-exist
(crc) DBG | Starting VM crc
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 0/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 1/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 2/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 3/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 4/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 5/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 6/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 7/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 8/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 9/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 10/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 11/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 12/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 13/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 14/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 15/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 16/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 17/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 18/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 19/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 20/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 21/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 22/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 23/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 24/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 25/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 26/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 27/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 28/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 29/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 30/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 31/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 32/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 33/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 34/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 35/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 36/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 37/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 38/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 39/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 40/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 41/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 42/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 43/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 44/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 45/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 46/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 47/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 48/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 49/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 50/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 51/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 52/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 53/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 54/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 55/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 56/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 57/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 58/60
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Waiting for machine to come up 59/60
(crc) Unable to determine VM's IP address, did it fail to boot?
(crc) Calling .GetConfigRaw
(crc) Calling .DriverName
(crc) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(crc) Calling .GetState
(crc) DBG | Getting current state...
Machine is up and running!
Machine successfully created
Created /home/bradfordcp/.crc/machines/crc/.crc-exist
(crc) Calling .GetState
(crc) DBG | Getting current state...
Found binary path at /home/bradfordcp/.crc/bin/crc-driver-libvirt
Launching plugin server for driver libvirt
Plugin server listening at address 127.0.0.1:41881
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
DEBU Waiting until ssh is available
(crc) Calling .GetSSHHostname
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) DBG | Fetching VM...
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
&{{{<nil> 0 [] [] []} core [0x744eb0] 0x744e80 <nil> [] 0s} 22 <nil> <nil>}
About to run SSH command:
exit 0
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
SSH cmd err, output: <nil>:
INFO Verifying validity of the cluster certificates ...
(crc) Calling .GetSSHHostname
(crc) DBG | GetIP called for crc
(crc) DBG | Getting current state...
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
&{{{<nil> 0 [] [] []} core [0x744eb0] 0x744e80 <nil> [] 0s} 22 <nil> <nil>}
About to run SSH command:
date --date="$(sudo openssl x509 -in /var/lib/kubelet/pki/kubelet-client-current.pem -noout -enddate | cut -d= -f 2)" --iso-8601=seconds
Error dialing TCP: dial tcp :22: connect: connection refused
Error dialing TCP: dial tcp :22: connect: connection refused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment