Skip to content

Instantly share code, notes, and snippets.

@brightzheng100
Last active May 6, 2020 08:11
Show Gist options
  • Save brightzheng100/1bac3d552a58a3f0b9ab51054a87c4d1 to your computer and use it in GitHub Desktop.
Save brightzheng100/1bac3d552a58a3f0b9ab51054a87c4d1 to your computer and use it in GitHub Desktop.
CRC Debugging
➜ CRC crc delete
Do you want to delete the OpenShift cluster? [y/N]: y
Deleted the OpenShift cluster
➜ CRC crc cleanup
INFO Unload CodeReady Containers tray
INFO Unload CodeReady Containers daemon
INFO Removing launchd configuration for tray
INFO Removing launchd configuration for daemon
INFO Removing current user permission for /etc/hosts file
INFO Will use root access: change ownership of /etc/hosts
Password:
INFO Removing /etc/resolver/testing file
INFO Will use root access: Remove file /etc/resolver/testing
Cleanup finished
➜ CRC rm -rf ~/.crc
➜ CRC crc setup
INFO Checking if oc binary is cached
INFO Caching oc binary
INFO Checking if podman remote binary is cached
INFO Caching podman remote binary
INFO Checking if CRC bundle is cached in '$HOME/.crc'
INFO Unpacking bundle from the CRC binary
INFO Checking if running as non-root
INFO Checking if HyperKit is installed
INFO Setting up virtualization with HyperKit
INFO Will use root access: change ownership of /Users/brightzheng/.crc/bin/hyperkit
INFO Will use root access: set suid for /Users/brightzheng/.crc/bin/hyperkit
INFO Checking if crc-driver-hyperkit is installed
INFO Installing crc-machine-hyperkit
INFO Will use root access: change ownership of /Users/brightzheng/.crc/bin/crc-driver-hyperkit
INFO Will use root access: set suid for /Users/brightzheng/.crc/bin/crc-driver-hyperkit
INFO Checking file permissions for /etc/resolver/testing
INFO Setting file permissions for /etc/resolver/testing
INFO Will use root access: create file /etc/resolver/testing
INFO Will use root access: change ownership of /etc/resolver/testing
INFO Checking file permissions for /etc/hosts
INFO Setting file permissions for /etc/hosts
INFO Will use root access: change ownership of /etc/hosts
Setup is complete, you can now run 'crc start' to start the OpenShift cluster
➜ CRC crc start --log-level debug
WARN A new version (1.10.0) has been published on https://cloud.redhat.com/openshift/install/crc/installer-provisioned
INFO Checking if oc binary is cached
DEBU oc binary already cached
INFO Checking if podman remote binary is cached
DEBU podman remote binary already cached
INFO Checking if running as non-root
INFO Checking if HyperKit is installed
DEBU Checking if hyperkit is installed
INFO Checking if crc-driver-hyperkit is installed
DEBU Checking if crc-driver-hyperkit is installed
DEBU Running '/Users/brightzheng/.crc/bin/crc-driver-hyperkit version'
DEBU crc-driver-hyperkit is already installed in /Users/brightzheng/.crc/bin/crc-driver-hyperkit
INFO Checking file permissions for /etc/resolver/testing
INFO Checking file permissions for /etc/hosts
Checking file: /Users/brightzheng/.crc/machines/crc/.crc-exist
? Image pull secret [? for help] ***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************INFO Extracting bundle: crc_hyperkit_4.3.10.crcbundle ... ******************************************************************************DEBU Uncompressing /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10.crcbundle to /Users/brightzheng/.crc/cache ****************************************************************************************************************************************************************INFO Checking size of the disk image /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/crc.qcow2 ... ***********************************INFO Creating CodeReady Containers VM for OpenShift 4.3.10... **************************************************************************Found binary path at /Users/brightzheng/.crc/bin/crc-driver-hyperkit********************************************************************Launching plugin server for driver hyperkit*********************************************************************************************Plugin server listening at address 127.0.0.1:53809**************************************************************************************() 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 | exe=/Users/brightzheng/.crc/bin/crc-driver-hyperkit uid=0*******************************************************************(crc) Calling .GetConfigRaw********************************
Creating machine...
(crc) Calling .Create
(crc) DBG | exe=/Users/brightzheng/.crc/bin/crc-driver-hyperkit uid=0
(crc) Downloading /Users/brightzheng/.crc/cache/crc.disk from file:///Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/crc.qcow2...
(crc) DBG | exe=/Users/brightzheng/.crc/bin/crc-driver-hyperkit uid=0
(crc) DBG | clean start, hyperkit pid file doesn't exist: /Users/brightzheng/.crc/machines/crc/hyperkit.pid
(crc) DBG | Using hyperkit binary from /Users/brightzheng/.crc/bin/hyperkit
(crc) DBG | Using UUID c3d68012-0208-11ea-9fd7-f2189899ab08
(crc) DBG | Generated MAC e:f0:e3:c7:4f:be
(crc) DBG | Starting with cmdline: BOOT_IMAGE=(hd0,gpt1)/ostree/rhcos-27bcceba8a2fcb7ffbb20f157cdc45d881b19fcbca0e4a79d5d6b9b7d3428571/vmlinuz-4.18.0-147.5.1.el8_1.x86_64 rhcos.root=crypt_rootfs console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard ostree=/ostree/boot.1/rhcos/27bcceba8a2fcb7ffbb20f157cdc45d881b19fcbca0e4a79d5d6b9b7d3428571/0
(crc) DBG | Trying to execute /Users/brightzheng/.crc/bin/hyperkit -A -u -F /Users/brightzheng/.crc/machines/crc/hyperkit.pid -c 4 -m 8192M -s 0:0,hostbridge -s 31,lpc -s 1:0,virtio-net -U c3d68012-0208-11ea-9fd7-f2189899ab08 -s 2:0,virtio-blk,file:///Users/brightzheng/.crc/machines/crc/crc.disk,format=qcow -s 3,virtio-rnd -l com1,autopty=/Users/brightzheng/.crc/machines/crc/tty,log=/Users/brightzheng/.crc/machines/crc/console-ring -f kexec,/Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/vmlinuz-4.18.0-147.5.1.el8_1.x86_64,/Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/initramfs-4.18.0-147.5.1.el8_1.x86_64.img,earlyprintk=serial BOOT_IMAGE=(hd0,gpt1)/ostree/rhcos-27bcceba8a2fcb7ffbb20f157cdc45d881b19fcbca0e4a79d5d6b9b7d3428571/vmlinuz-4.18.0-147.5.1.el8_1.x86_64 rhcos.root=crypt_rootfs console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard ostree=/ostree/boot.1/rhcos/27bcceba8a2fcb7ffbb20f157cdc45d881b19fcbca0e4a79d5d6b9b7d3428571/0
(crc) DBG | exe=/Users/brightzheng/.crc/bin/crc-driver-hyperkit uid=0
(crc) DBG | hyperkit pid from json: 77244
(crc) DBG | Searching for e:f0:e3:c7:4f:be in /var/db/dhcpd_leases ...
(crc) DBG | Found 1 entries in /var/db/dhcpd_leases!
(crc) DBG | dhcp entry: {Name:crc-bq5fv-master-0 IPAddress:192.168.64.2 HWAddress:e:f0:e3:c7:4f:be ID:1,e:f0:e3:c7:4f:be Lease:0x5eb3b94a}
(crc) DBG | Found match: e:f0:e3:c7:4f:be
(crc) DBG | IP: 192.168.64.2
(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 | exe=/Users/brightzheng/.crc/bin/crc-driver-hyperkit uid=0
(crc) DBG | hyperkit pid from json: 77244
Machine is up and running!
Machine successfully created
Created /Users/brightzheng/.crc/machines/crc/.crc-exist
(crc) Calling .GetState
(crc) DBG | exe=/Users/brightzheng/.crc/bin/crc-driver-hyperkit uid=0
(crc) DBG | hyperkit pid from json: 77244
Found binary path at /Users/brightzheng/.crc/bin/crc-driver-hyperkit
Launching plugin server for driver hyperkit
Plugin server listening at address 127.0.0.1:53822
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
DEBU Waiting until ssh is available
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
exit 0
DEBU SSH cmd err, output: <nil>:
INFO Verifying validity of the cluster certificates ...
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU 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
DEBU SSH cmd err, output: <nil>: 2020-05-16T15:05:27+00:00
(crc) Calling .GetIP
(crc) Calling .DriverName
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
echo 'dXNlcj1yb290CnBvcnQ9IDUzCmJpbmQtaW50ZXJmYWNlcwpleHBhbmQtaG9zdHMKbG9nLXF1ZXJpZXMKc3J2LWhvc3Q9X2V0Y2Qtc2VydmVyLXNzbC5fdGNwLmNyYy50ZXN0aW5nLGV0Y2QtMC5jcmMudGVzdGluZywyMzgwLDEwCmxvY2FsPS9jcmMudGVzdGluZy8KZG9tYWluPWNyYy50ZXN0aW5nCmFkZHJlc3M9L2FwcHMtY3JjLnRlc3RpbmcvMTkyLjE2OC42NC4yCmFkZHJlc3M9L2V0Y2QtMC5jcmMudGVzdGluZy8xOTIuMTY4LjY0LjIKYWRkcmVzcz0vYXBpLmNyYy50ZXN0aW5nLzE5Mi4xNjguNjQuMgphZGRyZXNzPS9hcGktaW50LmNyYy50ZXN0aW5nLzE5Mi4xNjguNjQuMgphZGRyZXNzPS9jcmMtYnE1ZnYtbWFzdGVyLTAuY3JjLnRlc3RpbmcvMTkyLjE2OC42NC4yCg==' | openssl enc -base64 -d | sudo tee /var/srv/dnsmasq.conf > /dev/null
DEBU SSH cmd err, output: <nil>:
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo podman rm -f dnsmasq
DEBU SSH cmd err, output: exit status 1: Error: Failed to evict container: "": Failed to find container "dnsmasq" in state: no container with name or ID dnsmasq found: no such container
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo rm -f /var/lib/cni/networks/podman/10.88.0.8
DEBU SSH cmd err, output: <nil>:
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo podman run --ip 10.88.0.8 --name dnsmasq -v /var/srv/dnsmasq.conf:/etc/dnsmasq.conf -p 53:53/udp --privileged -d quay.io/crcont/dnsmasq:latest
DEBU SSH cmd err, output: <nil>: 985a07a0569cfd3d7be073aea6c08840d18c4c1c709a50dd9d1f81c607cff66e
DEBU Updating api.crc.testing to 192.168.64.2 in /etc/hosts file
DEBU Updating oauth-openshift.apps-crc.testing to 192.168.64.2 in /etc/hosts file
INFO Restarting the host network
DEBU Running 'networksetup -listallnetworkservices'
DEBU Running 'networksetup -setnetworkserviceenabled iPhone USB off'
DEBU Disabling the iPhone USB Device (stdout: ), (stderr: )
DEBU Running 'networksetup -setnetworkserviceenabled iPhone USB on'
DEBU Enabling the iPhone USB Device (stdout: ), (stderr: )
DEBU Running 'networksetup -setnetworkserviceenabled Wi-Fi off'
DEBU Disabling the Wi-Fi Device (stdout: ), (stderr: )
DEBU Running 'networksetup -setnetworkserviceenabled Wi-Fi on'
DEBU Enabling the Wi-Fi Device (stdout: ), (stderr: )
DEBU Running 'networksetup -setnetworkserviceenabled Bluetooth PAN off'
DEBU Disabling the Bluetooth PAN Device (stdout: ), (stderr: )
DEBU Running 'networksetup -setnetworkserviceenabled Bluetooth PAN on'
DEBU Enabling the Bluetooth PAN Device (stdout: ), (stderr: )
DEBU Running 'networksetup -setnetworkserviceenabled Thunderbolt Bridge off'
DEBU Disabling the Thunderbolt Bridge Device (stdout: ), (stderr: )
DEBU Running 'networksetup -setnetworkserviceenabled Thunderbolt Bridge on'
DEBU Enabling the Thunderbolt Bridge Device (stdout: ), (stderr: )
DEBU Not able read file: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory
DEBU error: Temporary Error: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory - sleeping 1s
DEBU retry loop 1
DEBU Not able read file: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory
DEBU error: Temporary Error: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory - sleeping 1s
DEBU retry loop 2
DEBU Not able read file: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory
DEBU error: Temporary Error: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory - sleeping 1s
DEBU retry loop 3
DEBU Not able read file: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory
DEBU error: Temporary Error: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory - sleeping 1s
DEBU retry loop 4
DEBU Not able read file: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory
DEBU error: Temporary Error: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory - sleeping 1s
DEBU retry loop 5
DEBU Not able read file: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory
DEBU error: Temporary Error: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory - sleeping 1s
DEBU retry loop 6
DEBU Not able read file: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory
DEBU error: Temporary Error: Failed to read resolv.conf: open /etc/resolv.conf: no such file or directory - sleeping 1s
DEBU retry loop 7
DEBU Running 'ping -c4 192.168.1.1'
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
cat /etc/resolv.conf
DEBU SSH cmd err, output: <nil>: # Generated by NetworkManager
search 192.168.1.1
nameserver 192.168.64.1
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
echo IyBHZW5lcmF0ZWQgYnkgQ1JDCnNlYXJjaCBjcmMudGVzdGluZwpuYW1lc2VydmVyIDEwLjg4LjAuOApuYW1lc2VydmVyIDE5Mi4xNjguNjQuMQoK | base64 --decode | sudo tee /etc/resolv.conf > /dev/null
DEBU SSH cmd err, output: <nil>:
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
host -R 3 foo.apps-crc.testing
DEBU SSH cmd err, output: <nil>: foo.apps-crc.testing has address 192.168.64.2
INFO Check internal and public DNS query ...
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
host -R 3 quay.io
DEBU SSH cmd err, output: exit status 1: ;; connection timed out; no servers could be reached
WARN Failed public DNS query from the cluster: ssh command error:
command : host -R 3 quay.io
err : exit status 1
output : ;; connection timed out; no servers could be reached
:
INFO Check DNS query from host ...
DEBU api.crc.testing resolved to [192.168.64.2]
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/id_rsa_crc -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDaQ2zf3x8wKQGLgQtiaghFgfeEtwtDsxfjSr0bRgZxyFNx/H6E2eo0gIT4t94j396+EBYFh22nKzn1/xzvwKvAn4NkewUEPUt3iQmTD1lYmMDlMwTWSyrU6OaQ7tytJpBEBaUqsiPRNkgSM/rY/1lzLkdBdOreC59lVX+UsLAKjkKaVs+AL0I2RBdCnKOfH3HNYiqTjd9YMFNW9XbQumI6gJkpLewZ/KfT+J9SZpWmN7XiQo84xtC5T00m/gga1DCg1xV8ptLgphq/b6/0xEWkx3yd7MyhsHhsPaX9Pr0+PKZhmHyqh6RJiYWq7jxHP5YqunXDI0lZHfdWRHNj0VgJ
' > /home/core/.ssh/authorized_keys
DEBU SSH cmd err, output: <nil>:
INFO Copying kubeconfig file to instance dir ...
DEBU Copying '/Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/kubeconfig' to '/Users/brightzheng/.crc/machines/crc/kubeconfig'
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo systemctl daemon-reload
DEBU SSH cmd err, output: <nil>:
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo systemctl -f start kubelet
DEBU SSH cmd err, output: <nil>:
INFO Adding user's pull secret ...
DEBU Creating /var/lib/kubelet/config.json with permissions 0600 in the CRC VM
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command with hidden output
DEBU Running '/Users/brightzheng/.crc/bin/oc get secret --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU error: Temporary Error: exit status 1 - sleeping 1s
DEBU retry loop 1
DEBU Running '/Users/brightzheng/.crc/bin/oc get secret --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU error: Temporary Error: exit status 1 - sleeping 1s
DEBU retry loop 2
DEBU Running '/Users/brightzheng/.crc/bin/oc get secret --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU error: Temporary Error: exit status 1 - sleeping 1s
DEBU retry loop 3
DEBU Running '/Users/brightzheng/.crc/bin/oc get secret --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU error: Temporary Error: exit status 1 - sleeping 1s
DEBU retry loop 4
DEBU Running '/Users/brightzheng/.crc/bin/oc get secret --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU NAME TYPE DATA AGE
builder-dockercfg-q9pmv kubernetes.io/dockercfg 1 19d
builder-token-hhj5q kubernetes.io/service-account-token 4 19d
builder-token-vflcc kubernetes.io/service-account-token 4 19d
default-dockercfg-jqhs8 kubernetes.io/dockercfg 1 19d
default-token-mp42j kubernetes.io/service-account-token 4 19d
default-token-zhcnt kubernetes.io/service-account-token 4 19d
deployer-dockercfg-fb2hw kubernetes.io/dockercfg 1 19d
deployer-token-l5528 kubernetes.io/service-account-token 4 19d
deployer-token-xzfwq kubernetes.io/service-account-token 4 19d
DEBU About to run a hidden command
INFO Updating cluster ID ...
DEBU Running '/Users/brightzheng/.crc/bin/oc get clusterversion --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.3.10 True False 19d Cluster version is 4.3.10
DEBU Running '/Users/brightzheng/.crc/bin/oc patch clusterversion version -p {"spec":{"clusterID":"8d80c174-14ac-4bad-93f0-666d54e5711d"}} --type merge --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo systemctl -f stop kubelet
DEBU SSH cmd err, output: <nil>:
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo bash -c 'export pods=$(crictl pods -q) && crictl stopp ${pods} && crictl rmp ${pods}'
DEBU SSH cmd err, output: <nil>: Stopped sandbox d75e1b63db1d983364d8cac608cd844a5c40b1d4a1cf5bdb398d18d6b210daec
Stopped sandbox 53cf3f7e5b1d92ddbfea3a16cd2cd452934b6fa45e59018a1a83a6af17703ed3
Stopped sandbox 325f4cd1f06c600ffe853f4d7d87f3b026f4f4fb3dfcee5724f2ec9def914f65
Stopped sandbox 9642089f5a9161bb1c409716fc0e247f9d4d4b5133f229e2101af6f3fcbc5c23
Stopped sandbox b533e7202c3ae8a3b36c1b01234b501b253ef693310148bae4445de7083ebca7
Stopped sandbox 5a339e61561582bdbd1d975c4a2e81f2425a6082ba99d94fbb5984ba3808e2d7
Stopped sandbox 23df53019b78f01baf9f21d0830b663b00b44e54ae35d5e25efd25f53f31ecee
Stopped sandbox bf6c35db4558999f22cebcbe50f9e65e9ff6818a49b3c537ac76caeb6f2ee8fe
Stopped sandbox 2f288f71922d3fd6b727cd54ba2f37c0126013cc82b32ec03bd2f58b888b37a9
Stopped sandbox 930e127611d729b7e65ccf94ecc18fec748706ada80e945d27f4491c822f82cb
Stopped sandbox 3ad2caf8de123df978395a9aba683b839f6a9457b0f3446785e6ffc1de35aa5c
Stopped sandbox bbf90ccae987646ec3f3eca554c33938caace8a103417654c033402d77f4609a
Stopped sandbox 302d026122fd5be47479fff7659f5d48167fbd1c5e3bb368996ad0dbba7040b3
Stopped sandbox 89e9ca5ad032342b3102f0599d7e1110b103d29695bd3c2ee83a24ac89695102
Stopped sandbox 453f249ca88916a87d0898ddadc6a3c56548a04da57495960e802af7a7798a98
Stopped sandbox ba48176efc08199c2129d09dc05e41bd13f621e44ee674d50d51412f559da6e0
Stopped sandbox b638fbf79d65d40966c5dbc8974c8a513872c177fa1eed300f51da939a233aa2
Stopped sandbox ec6fb75e256bf24557de3f2462b3db145fc021c70887bb7fb0fe48b0bc3c9b2f
Stopped sandbox c3b1d068ca167b747c88a17ebdfca41f3028de72de5209e3950699c0b130fd4b
Stopped sandbox 7c1c573a146e4a8596b6f7bace725c093fb5dd0c235cc5b31cba734aa7c4b446
Stopped sandbox d0087c76d907309846b6c3d5fde9bc7f547888088eff5df4824545d347d9c55b
Stopped sandbox 3651005bae0bfcd89da5e967d65ce4cbd9131fc1722afa12bed4eb04b0dbc2ec
Stopped sandbox afd5fbd8abb601431a103b473e70869347fd1124f330389319a7bcb28f65e314
Stopped sandbox b2916034aff56f78ee7631e8e30d22221be3709f52301495e4e2697eebf9d1c1
Stopped sandbox f803452d0e085a31f5d83973ad112c95119005f549c9b735dd05d57433a55941
Stopped sandbox d6767d165cf2b87fa8c1f8e6d370db14ea402328f1a401e7195ab8a4833708c5
Stopped sandbox c245cd7af4af0d513ca845748e340caf33a317aef0759aece56974ff174c4330
Stopped sandbox 23effe67cc6de7d370553e9cfe86ea1f0918295e94f459a8cca4f5431e344921
Stopped sandbox 5fd7cb8f452c434fd82dbbe8cc4ec7594095980c95eab8d16073169e7c0ce623
Stopped sandbox 77bfdd926a160fb8420146e4774f934f2044cd817d06c0d4407749b8c64c2e02
Stopped sandbox 42d2bd0d3c629a4178d331dcf5941643c02104ff6f7116ff1c88a4bd4c9d3923
Stopped sandbox 37f3825707e1f35d920e3e622058a74f09b7595a7b0d64c3be93e25ee18a9722
Stopped sandbox ce437352cba8c13bade47933c3a740f04df1be1234cde4a1e36743940fb974a7
Stopped sandbox c583430288cee2b152740e8ffe7d7b28b2a8f495c49f74612bd35c8cccfa9998
Stopped sandbox 6fa99df7aefb10bbe49a7dd5c293183c0d05b881db539a69227c5ce2c6744248
Stopped sandbox 6f2764e311d3298e66778c2af91b59f477e35cd8edaf0559fdb4e050cc29d225
Stopped sandbox d2604eedb36e9d51e86a0fdf512b77f705064c3374b70f1417630f4618ffe925
Stopped sandbox b8b7b65a74cd4b3fcb82f2ec5bf28b530402a6936613e505b387dedf28bdad01
Stopped sandbox b1570d16feef16758eabeb6f428889c1d4526fabe9c0bea64c1d058452a4cf0e
Stopped sandbox 39a181fe0e24bed2911fa45970628d953f247ef7249e5c3cc19fd0899c8de08a
Removed sandbox d75e1b63db1d983364d8cac608cd844a5c40b1d4a1cf5bdb398d18d6b210daec
Removed sandbox 53cf3f7e5b1d92ddbfea3a16cd2cd452934b6fa45e59018a1a83a6af17703ed3
Removed sandbox 325f4cd1f06c600ffe853f4d7d87f3b026f4f4fb3dfcee5724f2ec9def914f65
Removed sandbox 9642089f5a9161bb1c409716fc0e247f9d4d4b5133f229e2101af6f3fcbc5c23
Removed sandbox b533e7202c3ae8a3b36c1b01234b501b253ef693310148bae4445de7083ebca7
Removed sandbox 5a339e61561582bdbd1d975c4a2e81f2425a6082ba99d94fbb5984ba3808e2d7
Removed sandbox 23df53019b78f01baf9f21d0830b663b00b44e54ae35d5e25efd25f53f31ecee
Removed sandbox bf6c35db4558999f22cebcbe50f9e65e9ff6818a49b3c537ac76caeb6f2ee8fe
Removed sandbox 2f288f71922d3fd6b727cd54ba2f37c0126013cc82b32ec03bd2f58b888b37a9
Removed sandbox 930e127611d729b7e65ccf94ecc18fec748706ada80e945d27f4491c822f82cb
Removed sandbox 3ad2caf8de123df978395a9aba683b839f6a9457b0f3446785e6ffc1de35aa5c
Removed sandbox bbf90ccae987646ec3f3eca554c33938caace8a103417654c033402d77f4609a
Removed sandbox 302d026122fd5be47479fff7659f5d48167fbd1c5e3bb368996ad0dbba7040b3
Removed sandbox 89e9ca5ad032342b3102f0599d7e1110b103d29695bd3c2ee83a24ac89695102
Removed sandbox 453f249ca88916a87d0898ddadc6a3c56548a04da57495960e802af7a7798a98
Removed sandbox ba48176efc08199c2129d09dc05e41bd13f621e44ee674d50d51412f559da6e0
Removed sandbox b638fbf79d65d40966c5dbc8974c8a513872c177fa1eed300f51da939a233aa2
Removed sandbox ec6fb75e256bf24557de3f2462b3db145fc021c70887bb7fb0fe48b0bc3c9b2f
Removed sandbox c3b1d068ca167b747c88a17ebdfca41f3028de72de5209e3950699c0b130fd4b
Removed sandbox 7c1c573a146e4a8596b6f7bace725c093fb5dd0c235cc5b31cba734aa7c4b446
Removed sandbox d0087c76d907309846b6c3d5fde9bc7f547888088eff5df4824545d347d9c55b
Removed sandbox 3651005bae0bfcd89da5e967d65ce4cbd9131fc1722afa12bed4eb04b0dbc2ec
Removed sandbox afd5fbd8abb601431a103b473e70869347fd1124f330389319a7bcb28f65e314
Removed sandbox b2916034aff56f78ee7631e8e30d22221be3709f52301495e4e2697eebf9d1c1
Removed sandbox f803452d0e085a31f5d83973ad112c95119005f549c9b735dd05d57433a55941
Removed sandbox d6767d165cf2b87fa8c1f8e6d370db14ea402328f1a401e7195ab8a4833708c5
Removed sandbox c245cd7af4af0d513ca845748e340caf33a317aef0759aece56974ff174c4330
Removed sandbox 23effe67cc6de7d370553e9cfe86ea1f0918295e94f459a8cca4f5431e344921
Removed sandbox 5fd7cb8f452c434fd82dbbe8cc4ec7594095980c95eab8d16073169e7c0ce623
Removed sandbox 77bfdd926a160fb8420146e4774f934f2044cd817d06c0d4407749b8c64c2e02
Removed sandbox 42d2bd0d3c629a4178d331dcf5941643c02104ff6f7116ff1c88a4bd4c9d3923
Removed sandbox 37f3825707e1f35d920e3e622058a74f09b7595a7b0d64c3be93e25ee18a9722
Removed sandbox ce437352cba8c13bade47933c3a740f04df1be1234cde4a1e36743940fb974a7
Removed sandbox c583430288cee2b152740e8ffe7d7b28b2a8f495c49f74612bd35c8cccfa9998
Removed sandbox 6fa99df7aefb10bbe49a7dd5c293183c0d05b881db539a69227c5ce2c6744248
Removed sandbox 6f2764e311d3298e66778c2af91b59f477e35cd8edaf0559fdb4e050cc29d225
Removed sandbox d2604eedb36e9d51e86a0fdf512b77f705064c3374b70f1417630f4618ffe925
Removed sandbox b8b7b65a74cd4b3fcb82f2ec5bf28b530402a6936613e505b387dedf28bdad01
Removed sandbox b1570d16feef16758eabeb6f428889c1d4526fabe9c0bea64c1d058452a4cf0e
Removed sandbox 39a181fe0e24bed2911fa45970628d953f247ef7249e5c3cc19fd0899c8de08a
DEBU Output of sudo bash -c 'export pods=$(crictl pods -q) && crictl stopp ${pods} && crictl rmp ${pods}': Stopped sandbox d75e1b63db1d983364d8cac608cd844a5c40b1d4a1cf5bdb398d18d6b210daec
Stopped sandbox 53cf3f7e5b1d92ddbfea3a16cd2cd452934b6fa45e59018a1a83a6af17703ed3
Stopped sandbox 325f4cd1f06c600ffe853f4d7d87f3b026f4f4fb3dfcee5724f2ec9def914f65
Stopped sandbox 9642089f5a9161bb1c409716fc0e247f9d4d4b5133f229e2101af6f3fcbc5c23
Stopped sandbox b533e7202c3ae8a3b36c1b01234b501b253ef693310148bae4445de7083ebca7
Stopped sandbox 5a339e61561582bdbd1d975c4a2e81f2425a6082ba99d94fbb5984ba3808e2d7
Stopped sandbox 23df53019b78f01baf9f21d0830b663b00b44e54ae35d5e25efd25f53f31ecee
Stopped sandbox bf6c35db4558999f22cebcbe50f9e65e9ff6818a49b3c537ac76caeb6f2ee8fe
Stopped sandbox 2f288f71922d3fd6b727cd54ba2f37c0126013cc82b32ec03bd2f58b888b37a9
Stopped sandbox 930e127611d729b7e65ccf94ecc18fec748706ada80e945d27f4491c822f82cb
Stopped sandbox 3ad2caf8de123df978395a9aba683b839f6a9457b0f3446785e6ffc1de35aa5c
Stopped sandbox bbf90ccae987646ec3f3eca554c33938caace8a103417654c033402d77f4609a
Stopped sandbox 302d026122fd5be47479fff7659f5d48167fbd1c5e3bb368996ad0dbba7040b3
Stopped sandbox 89e9ca5ad032342b3102f0599d7e1110b103d29695bd3c2ee83a24ac89695102
Stopped sandbox 453f249ca88916a87d0898ddadc6a3c56548a04da57495960e802af7a7798a98
Stopped sandbox ba48176efc08199c2129d09dc05e41bd13f621e44ee674d50d51412f559da6e0
Stopped sandbox b638fbf79d65d40966c5dbc8974c8a513872c177fa1eed300f51da939a233aa2
Stopped sandbox ec6fb75e256bf24557de3f2462b3db145fc021c70887bb7fb0fe48b0bc3c9b2f
Stopped sandbox c3b1d068ca167b747c88a17ebdfca41f3028de72de5209e3950699c0b130fd4b
Stopped sandbox 7c1c573a146e4a8596b6f7bace725c093fb5dd0c235cc5b31cba734aa7c4b446
Stopped sandbox d0087c76d907309846b6c3d5fde9bc7f547888088eff5df4824545d347d9c55b
Stopped sandbox 3651005bae0bfcd89da5e967d65ce4cbd9131fc1722afa12bed4eb04b0dbc2ec
Stopped sandbox afd5fbd8abb601431a103b473e70869347fd1124f330389319a7bcb28f65e314
Stopped sandbox b2916034aff56f78ee7631e8e30d22221be3709f52301495e4e2697eebf9d1c1
Stopped sandbox f803452d0e085a31f5d83973ad112c95119005f549c9b735dd05d57433a55941
Stopped sandbox d6767d165cf2b87fa8c1f8e6d370db14ea402328f1a401e7195ab8a4833708c5
Stopped sandbox c245cd7af4af0d513ca845748e340caf33a317aef0759aece56974ff174c4330
Stopped sandbox 23effe67cc6de7d370553e9cfe86ea1f0918295e94f459a8cca4f5431e344921
Stopped sandbox 5fd7cb8f452c434fd82dbbe8cc4ec7594095980c95eab8d16073169e7c0ce623
Stopped sandbox 77bfdd926a160fb8420146e4774f934f2044cd817d06c0d4407749b8c64c2e02
Stopped sandbox 42d2bd0d3c629a4178d331dcf5941643c02104ff6f7116ff1c88a4bd4c9d3923
Stopped sandbox 37f3825707e1f35d920e3e622058a74f09b7595a7b0d64c3be93e25ee18a9722
Stopped sandbox ce437352cba8c13bade47933c3a740f04df1be1234cde4a1e36743940fb974a7
Stopped sandbox c583430288cee2b152740e8ffe7d7b28b2a8f495c49f74612bd35c8cccfa9998
Stopped sandbox 6fa99df7aefb10bbe49a7dd5c293183c0d05b881db539a69227c5ce2c6744248
Stopped sandbox 6f2764e311d3298e66778c2af91b59f477e35cd8edaf0559fdb4e050cc29d225
Stopped sandbox d2604eedb36e9d51e86a0fdf512b77f705064c3374b70f1417630f4618ffe925
Stopped sandbox b8b7b65a74cd4b3fcb82f2ec5bf28b530402a6936613e505b387dedf28bdad01
Stopped sandbox b1570d16feef16758eabeb6f428889c1d4526fabe9c0bea64c1d058452a4cf0e
Stopped sandbox 39a181fe0e24bed2911fa45970628d953f247ef7249e5c3cc19fd0899c8de08a
Removed sandbox d75e1b63db1d983364d8cac608cd844a5c40b1d4a1cf5bdb398d18d6b210daec
Removed sandbox 53cf3f7e5b1d92ddbfea3a16cd2cd452934b6fa45e59018a1a83a6af17703ed3
Removed sandbox 325f4cd1f06c600ffe853f4d7d87f3b026f4f4fb3dfcee5724f2ec9def914f65
Removed sandbox 9642089f5a9161bb1c409716fc0e247f9d4d4b5133f229e2101af6f3fcbc5c23
Removed sandbox b533e7202c3ae8a3b36c1b01234b501b253ef693310148bae4445de7083ebca7
Removed sandbox 5a339e61561582bdbd1d975c4a2e81f2425a6082ba99d94fbb5984ba3808e2d7
Removed sandbox 23df53019b78f01baf9f21d0830b663b00b44e54ae35d5e25efd25f53f31ecee
Removed sandbox bf6c35db4558999f22cebcbe50f9e65e9ff6818a49b3c537ac76caeb6f2ee8fe
Removed sandbox 2f288f71922d3fd6b727cd54ba2f37c0126013cc82b32ec03bd2f58b888b37a9
Removed sandbox 930e127611d729b7e65ccf94ecc18fec748706ada80e945d27f4491c822f82cb
Removed sandbox 3ad2caf8de123df978395a9aba683b839f6a9457b0f3446785e6ffc1de35aa5c
Removed sandbox bbf90ccae987646ec3f3eca554c33938caace8a103417654c033402d77f4609a
Removed sandbox 302d026122fd5be47479fff7659f5d48167fbd1c5e3bb368996ad0dbba7040b3
Removed sandbox 89e9ca5ad032342b3102f0599d7e1110b103d29695bd3c2ee83a24ac89695102
Removed sandbox 453f249ca88916a87d0898ddadc6a3c56548a04da57495960e802af7a7798a98
Removed sandbox ba48176efc08199c2129d09dc05e41bd13f621e44ee674d50d51412f559da6e0
Removed sandbox b638fbf79d65d40966c5dbc8974c8a513872c177fa1eed300f51da939a233aa2
Removed sandbox ec6fb75e256bf24557de3f2462b3db145fc021c70887bb7fb0fe48b0bc3c9b2f
Removed sandbox c3b1d068ca167b747c88a17ebdfca41f3028de72de5209e3950699c0b130fd4b
Removed sandbox 7c1c573a146e4a8596b6f7bace725c093fb5dd0c235cc5b31cba734aa7c4b446
Removed sandbox d0087c76d907309846b6c3d5fde9bc7f547888088eff5df4824545d347d9c55b
Removed sandbox 3651005bae0bfcd89da5e967d65ce4cbd9131fc1722afa12bed4eb04b0dbc2ec
Removed sandbox afd5fbd8abb601431a103b473e70869347fd1124f330389319a7bcb28f65e314
Removed sandbox b2916034aff56f78ee7631e8e30d22221be3709f52301495e4e2697eebf9d1c1
Removed sandbox f803452d0e085a31f5d83973ad112c95119005f549c9b735dd05d57433a55941
Removed sandbox d6767d165cf2b87fa8c1f8e6d370db14ea402328f1a401e7195ab8a4833708c5
Removed sandbox c245cd7af4af0d513ca845748e340caf33a317aef0759aece56974ff174c4330
Removed sandbox 23effe67cc6de7d370553e9cfe86ea1f0918295e94f459a8cca4f5431e344921
Removed sandbox 5fd7cb8f452c434fd82dbbe8cc4ec7594095980c95eab8d16073169e7c0ce623
Removed sandbox 77bfdd926a160fb8420146e4774f934f2044cd817d06c0d4407749b8c64c2e02
Removed sandbox 42d2bd0d3c629a4178d331dcf5941643c02104ff6f7116ff1c88a4bd4c9d3923
Removed sandbox 37f3825707e1f35d920e3e622058a74f09b7595a7b0d64c3be93e25ee18a9722
Removed sandbox ce437352cba8c13bade47933c3a740f04df1be1234cde4a1e36743940fb974a7
Removed sandbox c583430288cee2b152740e8ffe7d7b28b2a8f495c49f74612bd35c8cccfa9998
Removed sandbox 6fa99df7aefb10bbe49a7dd5c293183c0d05b881db539a69227c5ce2c6744248
Removed sandbox 6f2764e311d3298e66778c2af91b59f477e35cd8edaf0559fdb4e050cc29d225
Removed sandbox d2604eedb36e9d51e86a0fdf512b77f705064c3374b70f1417630f4618ffe925
Removed sandbox b8b7b65a74cd4b3fcb82f2ec5bf28b530402a6936613e505b387dedf28bdad01
Removed sandbox b1570d16feef16758eabeb6f428889c1d4526fabe9c0bea64c1d058452a4cf0e
Removed sandbox 39a181fe0e24bed2911fa45970628d953f247ef7249e5c3cc19fd0899c8de08a
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo systemctl daemon-reload
DEBU SSH cmd err, output: <nil>:
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo systemctl -f start kubelet
DEBU SSH cmd err, output: <nil>:
DEBU Waiting for update of client-ca request header ...
DEBU Running '/Users/brightzheng/.crc/bin/oc get configmaps --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU error: Temporary Error: exit status 1 - sleeping 1s
DEBU retry loop 1
DEBU Running '/Users/brightzheng/.crc/bin/oc get configmaps --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU error: Temporary Error: exit status 1 - sleeping 1s
DEBU retry loop 2
DEBU Running '/Users/brightzheng/.crc/bin/oc get configmaps --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU error: Temporary Error: exit status 1 - sleeping 1s
DEBU retry loop 3
DEBU Running '/Users/brightzheng/.crc/bin/oc get configmaps --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU error: Temporary Error: exit status 1 - sleeping 1s
DEBU retry loop 4
DEBU Running '/Users/brightzheng/.crc/bin/oc get configmaps --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU
DEBU Running '/Users/brightzheng/.crc/bin/oc get configmaps/extension-apiserver-authentication -ojsonpath={.data.requestheader-client-ca-file} -n kube-system --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Found .data.requestheader-client-ca-file: -----BEGIN CERTIFICATE-----
MIIDfjCCAmagAwIBAgIBATANBgkqhkiG9w0BAQsFADBQMU4wTAYDVQQDDEVvcGVu
c2hpZnQta3ViZS1hcGlzZXJ2ZXItb3BlcmF0b3JfYWdncmVnYXRvci1jbGllbnQt
c2lnbmVyQDE1ODcxMTUyNjQwHhcNMjAwNDE3MDkyMTAzWhcNMjAwNTE3MDkyMTA0
WjBQMU4wTAYDVQQDDEVvcGVuc2hpZnQta3ViZS1hcGlzZXJ2ZXItb3BlcmF0b3Jf
YWdncmVnYXRvci1jbGllbnQtc2lnbmVyQDE1ODcxMTUyNjQwggEiMA0GCSqGSIb3
DQEBAQUAA4IBDwAwggEKAoIBAQCkYvj/Z7bfTap7NGJLuheCdeisgg6fJdq3tTbM
CkTx7zpUMSODoOB8pP+4RaHdsvgcoPBZNYTuGJqmGhHRXUAT0UF6GuJTZkpAJ7ZS
AhEuXLigqoTD61GpYk/YQ/d2V4nI9NXT750W4iVxWoPFdzgbVG8TtkiiFtTCGRu8
e1Y69QVp8XM0eBFZVfyvCmdy5H/8TkHb2I7lmnWlVfWHgIoqKbrbsjTOISoPMbwv
9jCRne/kbITot+2rAU+N2CLWDl3oOQYTwCN1Jht3Q8ofTPOz82wwGMGTThMVd9Qp
bd8Q8eaY+EObLBAm6PMdzsYFWLWDaBMcNit7Hrap6U4yyJN3AgMBAAGjYzBhMA4G
A1UdDwEB/wQEAwICpDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRKx7eSW4QT
G9dY0fIjHGk23txVdTAfBgNVHSMEGDAWgBRKx7eSW4QTG9dY0fIjHGk23txVdTAN
BgkqhkiG9w0BAQsFAAOCAQEAN4BrlWq3GDt2c/nHkuW3pA3kCgMJQYl7jK3vKD8K
8D2jJGHn2Dg5H98Mef5ldbcJT54OwO2wHsWbmzzWn2ydWC6ERTu4mb0lBRj2Q6z0
/fIqqt2BrpGJVwJJsgjCuTzlPc3d0RSZWY+pSuHK26eO9v1MgBCWalaJqk7jMHdo
Tjv3j/25EG1AIuFWtWZlSP1yZ3GNP7sV1rCVCEjlcSDGR6doyavsxCHgUJiFLXPE
pPByQkRFfGFAYRbtodynQxKyE8Y6JlZysw/hEnnQQwyg+/U10yddxDpu/kseVtLB
+NzCaDFDxL/yoWNMoGarF1WF7BZFxsY/HFE5jgNQgKc94Q==
-----END CERTIFICATE-----
DEBU Running '/Users/brightzheng/.crc/bin/oc get pod --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU
DEBU Running '/Users/brightzheng/.crc/bin/oc delete pod --all -n openshift-apiserver --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
INFO Starting OpenShift cluster ... [waiting 3m]
DEBU Running '/Users/brightzheng/.crc/bin/oc get csr --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
DEBU error: Temporary Error: exit status 1 - sleeping 1s
DEBU retry loop 1
DEBU Running '/Users/brightzheng/.crc/bin/oc get csr --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU NAME AGE REQUESTOR CONDITION
csr-2vts7 4m50s system:node:crc-bq5fv-master-0 Pending
csr-hjgvq 3m26s system:node:crc-bq5fv-master-0 Pending
DEBU Running '/Users/brightzheng/.crc/bin/oc get csr -ojson --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Approving csr csr-2vts7
DEBU Running '/Users/brightzheng/.crc/bin/oc adm certificate approve csr-2vts7 --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Approving csr csr-hjgvq
DEBU Running '/Users/brightzheng/.crc/bin/oc adm certificate approve csr-hjgvq --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
INFO
INFO To access the cluster, first set up your environment by following 'crc oc-env' instructions
INFO Then you can access it by running 'oc login -u developer -p developer https://api.crc.testing:6443'
INFO To login as an admin, run 'oc login -u kubeadmin -p HeJWN-ckbCA-Q96Ds-Sj763 https://api.crc.testing:6443'
INFO
INFO You can now run 'crc console' and use these credentials to access the OpenShift web console
Making call to close driver server
(crc) Calling .Close
Successfully made call to close driver server
(crc) DBG | Closing plugin on server side
Making call to close connection to plugin binary
Making call to close driver server
(crc) Calling .Close
Successfully made call to close driver server
Making call to close connection to plugin binary
Started the OpenShift cluster
WARN The cluster might report a degraded or error state. This is expected since several operators have been disabled to lower the resource usage. For more information, please consult the documentation
➜ CRC
➜ CRC ssh -i ~/.crc/machines/crc/id_rsa -o IdentitiesOnly=yes core@"$(crc ip)"
Red Hat Enterprise Linux CoreOS 43.81.202003310153.0
Part of OpenShift 4.3, RHCOS is a Kubernetes native operating system
managed by the Machine Config Operator (`clusteroperator/machine-config`).
WARNING: Direct SSH access to machines is not recommended; instead,
make configuration changes via `machineconfig` objects:
https://docs.openshift.com/container-platform/4.3/architecture/architecture-rhcos.html
---
[core@crc-bq5fv-master-0 ~]$ dig quay.io
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el8 <<>> quay.io
;; global options: +cmd
;; connection timed out; no servers could be reached
[core@crc-bq5fv-master-0 ~]$ exit
logout
Connection to 192.168.64.2 closed.
➜ CRC dig quay.io
; <<>> DiG 9.10.6 <<>> quay.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27090
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;quay.io. IN A
;; ANSWER SECTION:
quay.io. 38 IN A 54.152.57.199
quay.io. 38 IN A 54.145.51.104
quay.io. 38 IN A 23.20.49.22
quay.io. 38 IN A 34.225.79.222
quay.io. 38 IN A 34.238.236.79
quay.io. 38 IN A 34.200.12.250
;; Query time: 105 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Wed May 06 16:07:46 +08 2020
;; MSG SIZE rcvd: 132
➜ CRC k run nginx --image=bitnami/nginx
kubectl run --generator=deployment/apps.v1 is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead.
deployment.apps/nginx created
➜ CRC kgp -w
NAME READY STATUS RESTARTS AGE
nginx-7b4746f4d-765q6 0/1 ContainerCreating 0 3s
nginx-7b4746f4d-765q6 0/1 ContainerCreating 0 10s
nginx-7b4746f4d-765q6 0/1 ErrImagePull 0 2m3s
nginx-7b4746f4d-765q6 0/1 ImagePullBackOff 0 2m14s
$ crc start -c 4 -m 8192 -p pullsecret -n 8.8.8.8 --log-level debug
DEBU No new version available. The latest version is 1.9.0
INFO Checking if oc binary is cached
DEBU oc binary already cached
INFO Checking if podman remote binary is cached
DEBU podman remote binary already cached
INFO Checking if running as non-root
INFO Checking if HyperKit is installed
DEBU Checking if hyperkit is installed
INFO Checking if crc-driver-hyperkit is installed
DEBU Checking if crc-driver-hyperkit is installed
DEBU Running '/Users/brightzheng/.crc/bin/crc-driver-hyperkit version'
DEBU crc-driver-hyperkit is already installed in /Users/brightzheng/.crc/bin/crc-driver-hyperkit
INFO Checking file permissions for /etc/resolver/testing
INFO Checking file permissions for /etc/hosts
Checking file: /Users/brightzheng/.crc/machines/crc/.crc-exist
Found binary path at /Users/brightzheng/.crc/bin/crc-driver-hyperkit
Launching plugin server for driver hyperkit
Plugin server listening at address 127.0.0.1:58135
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(crc) Calling .GetBundleName
(crc) Calling .GetState
(crc) DBG | exe=/Users/brightzheng/.crc/bin/crc-driver-hyperkit uid=0
(crc) DBG | hyperkit pid from json: 35892
(crc) DBG | hyperkit pid 35892 missing from process table
INFO Starting CodeReady Containers VM for OpenShift 4.3.10...
(crc) Calling .Start
(crc) DBG | exe=/Users/brightzheng/.crc/bin/crc-driver-hyperkit uid=0
(crc) DBG | clean start, hyperkit pid file doesn't exist: /Users/brightzheng/.crc/machines/crc/hyperkit.pid
(crc) DBG | Using hyperkit binary from /Users/brightzheng/.crc/bin/hyperkit
(crc) DBG | Using UUID c3d68012-0208-11ea-9fd7-f2189899ab08
(crc) DBG | Generated MAC e:f0:e3:c7:4f:be
(crc) DBG | Starting with cmdline: BOOT_IMAGE=(hd0,gpt1)/ostree/rhcos-27bcceba8a2fcb7ffbb20f157cdc45d881b19fcbca0e4a79d5d6b9b7d3428571/vmlinuz-4.18.0-147.5.1.el8_1.x86_64 rhcos.root=crypt_rootfs console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard ostree=/ostree/boot.1/rhcos/27bcceba8a2fcb7ffbb20f157cdc45d881b19fcbca0e4a79d5d6b9b7d3428571/0
(crc) DBG | Trying to execute /Users/brightzheng/.crc/bin/hyperkit -A -u -F /Users/brightzheng/.crc/machines/crc/hyperkit.pid -c 4 -m 8192M -s 0:0,hostbridge -s 31,lpc -s 1:0,virtio-net -U c3d68012-0208-11ea-9fd7-f2189899ab08 -s 2:0,virtio-blk,file:///Users/brightzheng/.crc/machines/crc/crc.disk,format=qcow -s 3,virtio-rnd -l com1,autopty=/Users/brightzheng/.crc/machines/crc/tty,log=/Users/brightzheng/.crc/machines/crc/console-ring -f kexec,/Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/vmlinuz-4.18.0-147.5.1.el8_1.x86_64,/Users/brightzheng/.crc/cache/crc_hyperkit_4.3.10/initramfs-4.18.0-147.5.1.el8_1.x86_64.img,earlyprintk=serial BOOT_IMAGE=(hd0,gpt1)/ostree/rhcos-27bcceba8a2fcb7ffbb20f157cdc45d881b19fcbca0e4a79d5d6b9b7d3428571/vmlinuz-4.18.0-147.5.1.el8_1.x86_64 rhcos.root=crypt_rootfs console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard ostree=/ostree/boot.1/rhcos/27bcceba8a2fcb7ffbb20f157cdc45d881b19fcbca0e4a79d5d6b9b7d3428571/0
(crc) DBG | exe=/Users/brightzheng/.crc/bin/crc-driver-hyperkit uid=0
(crc) DBG | hyperkit pid from json: 68064
(crc) DBG | Searching for e:f0:e3:c7:4f:be in /var/db/dhcpd_leases ...
(crc) DBG | Found 1 entries in /var/db/dhcpd_leases!
(crc) DBG | dhcp entry: {Name:crc-bq5fv-master-0 IPAddress:192.168.64.2 HWAddress:e:f0:e3:c7:4f:be ID:1,e:f0:e3:c7:4f:be Lease:0x5eb06031}
(crc) DBG | Found match: e:f0:e3:c7:4f:be
(crc) DBG | IP: 192.168.64.2
(crc) Calling .GetConfigRaw
(crc) Calling .GetState
(crc) DBG | exe=/Users/brightzheng/.crc/bin/crc-driver-hyperkit uid=0
(crc) DBG | hyperkit pid from json: 68064
Found binary path at /Users/brightzheng/.crc/bin/crc-driver-hyperkit
Launching plugin server for driver hyperkit
Plugin server listening at address 127.0.0.1:58143
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
DEBU Waiting until ssh is available
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
exit 0
DEBU SSH cmd err, output: <nil>:
INFO Verifying validity of the cluster certificates ...
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU 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
DEBU SSH cmd err, output: <nil>: 2020-05-16T15:05:27+00:00
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
cat /etc/resolv.conf
DEBU SSH cmd err, output: <nil>: # Generated by NetworkManager
search 8.8.8.8 192.168.1.1
nameserver 192.168.64.1
nameserver fe80::10cf:80e8:f43c:3191%enp0s1
(crc) Calling .GetIP
(crc) Calling .DriverName
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
echo 'dXNlcj1yb290CnBvcnQ9IDUzCmJpbmQtaW50ZXJmYWNlcwpleHBhbmQtaG9zdHMKbG9nLXF1ZXJpZXMKc3J2LWhvc3Q9X2V0Y2Qtc2VydmVyLXNzbC5fdGNwLmNyYy50ZXN0aW5nLGV0Y2QtMC5jcmMudGVzdGluZywyMzgwLDEwCmxvY2FsPS9jcmMudGVzdGluZy8KZG9tYWluPWNyYy50ZXN0aW5nCmFkZHJlc3M9L2FwcHMtY3JjLnRlc3RpbmcvMTkyLjE2OC42NC4yCmFkZHJlc3M9L2V0Y2QtMC5jcmMudGVzdGluZy8xOTIuMTY4LjY0LjIKYWRkcmVzcz0vYXBpLmNyYy50ZXN0aW5nLzE5Mi4xNjguNjQuMgphZGRyZXNzPS9hcGktaW50LmNyYy50ZXN0aW5nLzE5Mi4xNjguNjQuMgphZGRyZXNzPS9jcmMtYnE1ZnYtbWFzdGVyLTAuY3JjLnRlc3RpbmcvMTkyLjE2OC42NC4yCg==' | openssl enc -base64 -d | sudo tee /var/srv/dnsmasq.conf > /dev/null
DEBU SSH cmd err, output: <nil>:
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo podman rm -f dnsmasq
DEBU SSH cmd err, output: <nil>: 1da7d5f42cc52fbd469230b88add77f468bfb678ca23dab41a9395cdd744503c
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo rm -f /var/lib/cni/networks/podman/10.88.0.8
DEBU SSH cmd err, output: <nil>:
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo podman run --ip 10.88.0.8 --name dnsmasq -v /var/srv/dnsmasq.conf:/etc/dnsmasq.conf -p 53:53/udp --privileged -d quay.io/crcont/dnsmasq:latest
DEBU SSH cmd err, output: <nil>: 85ffe622168dc19f467e3b5a58cd4084de6cb14130a39e55650f768972b0cce6
DEBU Updating api.crc.testing to 192.168.64.2 in /etc/hosts file
DEBU Updating oauth-openshift.apps-crc.testing to 192.168.64.2 in /etc/hosts file
INFO Network restart not needed
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
cat /etc/resolv.conf
DEBU SSH cmd err, output: <nil>: # Generated by NetworkManager
search 8.8.8.8 192.168.1.1
nameserver 192.168.64.1
nameserver fe80::10cf:80e8:f43c:3191%enp0s1
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
echo IyBHZW5lcmF0ZWQgYnkgQ1JDCnNlYXJjaCBjcmMudGVzdGluZwpuYW1lc2VydmVyIDEwLjg4LjAuOApuYW1lc2VydmVyIDE5Mi4xNjguNjQuMQpuYW1lc2VydmVyIGZlODA6OjEwY2Y6ODBlODpmNDNjOjMxOTElZW5wMHMxCgo= | base64 --decode | sudo tee /etc/resolv.conf > /dev/null
DEBU SSH cmd err, output: <nil>:
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
host -R 3 foo.apps-crc.testing
DEBU SSH cmd err, output: <nil>: foo.apps-crc.testing has address 192.168.64.2
INFO Check internal and public DNS query ...
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
host -R 3 quay.io
DEBU SSH cmd err, output: exit status 1: ;; connection timed out; no servers could be reached
WARN Failed public DNS query from the cluster: ssh command error:
command : host -R 3 quay.io
err : exit status 1
output : ;; connection timed out; no servers could be reached
:
INFO Check DNS query from host ...
DEBU api.crc.testing resolved to [192.168.64.2]
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo systemctl daemon-reload
DEBU SSH cmd err, output: <nil>:
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/brightzheng/.crc/machines/crc/id_rsa (-rw-------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.64.2 -o IdentitiesOnly=yes -i /Users/brightzheng/.crc/machines/crc/id_rsa -p 22] /usr/bin/ssh <nil>}
DEBU About to run SSH command:
sudo systemctl -f start kubelet
DEBU SSH cmd err, output: <nil>:
DEBU Waiting for update of client-ca request header ...
DEBU Running '/Users/brightzheng/.crc/bin/oc get configmaps --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Command failed: exit status 1
DEBU stdout:
DEBU stderr: error: the server doesn't have a resource type "configmaps"
DEBU error: the server doesn't have a resource type "configmaps"
DEBU error: Temporary Error: exit status 1 - sleeping 1s
DEBU retry loop 1
DEBU Running '/Users/brightzheng/.crc/bin/oc get configmaps --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU
DEBU Running '/Users/brightzheng/.crc/bin/oc get configmaps/extension-apiserver-authentication -ojsonpath={.data.requestheader-client-ca-file} -n kube-system --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU Found .data.requestheader-client-ca-file: -----BEGIN CERTIFICATE-----
MIIDfjCCAmagAwIBAgIBATANBgkqhkiG9w0BAQsFADBQMU4wTAYDVQQDDEVvcGVu
c2hpZnQta3ViZS1hcGlzZXJ2ZXItb3BlcmF0b3JfYWdncmVnYXRvci1jbGllbnQt
c2lnbmVyQDE1ODcxMTUyNjQwHhcNMjAwNDE3MDkyMTAzWhcNMjAwNTE3MDkyMTA0
WjBQMU4wTAYDVQQDDEVvcGVuc2hpZnQta3ViZS1hcGlzZXJ2ZXItb3BlcmF0b3Jf
YWdncmVnYXRvci1jbGllbnQtc2lnbmVyQDE1ODcxMTUyNjQwggEiMA0GCSqGSIb3
DQEBAQUAA4IBDwAwggEKAoIBAQCkYvj/Z7bfTap7NGJLuheCdeisgg6fJdq3tTbM
CkTx7zpUMSODoOB8pP+4RaHdsvgcoPBZNYTuGJqmGhHRXUAT0UF6GuJTZkpAJ7ZS
AhEuXLigqoTD61GpYk/YQ/d2V4nI9NXT750W4iVxWoPFdzgbVG8TtkiiFtTCGRu8
e1Y69QVp8XM0eBFZVfyvCmdy5H/8TkHb2I7lmnWlVfWHgIoqKbrbsjTOISoPMbwv
9jCRne/kbITot+2rAU+N2CLWDl3oOQYTwCN1Jht3Q8ofTPOz82wwGMGTThMVd9Qp
bd8Q8eaY+EObLBAm6PMdzsYFWLWDaBMcNit7Hrap6U4yyJN3AgMBAAGjYzBhMA4G
A1UdDwEB/wQEAwICpDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRKx7eSW4QT
G9dY0fIjHGk23txVdTAfBgNVHSMEGDAWgBRKx7eSW4QTG9dY0fIjHGk23txVdTAN
BgkqhkiG9w0BAQsFAAOCAQEAN4BrlWq3GDt2c/nHkuW3pA3kCgMJQYl7jK3vKD8K
8D2jJGHn2Dg5H98Mef5ldbcJT54OwO2wHsWbmzzWn2ydWC6ERTu4mb0lBRj2Q6z0
/fIqqt2BrpGJVwJJsgjCuTzlPc3d0RSZWY+pSuHK26eO9v1MgBCWalaJqk7jMHdo
Tjv3j/25EG1AIuFWtWZlSP1yZ3GNP7sV1rCVCEjlcSDGR6doyavsxCHgUJiFLXPE
pPByQkRFfGFAYRbtodynQxKyE8Y6JlZysw/hEnnQQwyg+/U10yddxDpu/kseVtLB
+NzCaDFDxL/yoWNMoGarF1WF7BZFxsY/HFE5jgNQgKc94Q==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIDfjCCAmagAwIBAgIBATANBgkqhkiG9w0BAQsFADBQMU4wTAYDVQQDDEVvcGVu
c2hpZnQta3ViZS1hcGlzZXJ2ZXItb3BlcmF0b3JfYWdncmVnYXRvci1jbGllbnQt
c2lnbmVyQDE1ODg0Nzc5ODkwHhcNMjAwNTAzMDM1MzA4WhcNMjAwNjAyMDM1MzA5
WjBQMU4wTAYDVQQDDEVvcGVuc2hpZnQta3ViZS1hcGlzZXJ2ZXItb3BlcmF0b3Jf
YWdncmVnYXRvci1jbGllbnQtc2lnbmVyQDE1ODg0Nzc5ODkwggEiMA0GCSqGSIb3
DQEBAQUAA4IBDwAwggEKAoIBAQDjFCAajFvJ8go2t4UKhVr+iBux8DIAF4q7x0cu
g3BumoNQddtd253uOOuFKX3j5IcIiQk3U2eVuBS6YvbMMt2nfkk2VLzVUOQhdHLe
xFoVC/U8Me/5sGvGXg77yozSHnzyDdWSVVswkDprkBdjvqT0RLNXgxPISlDdpYTC
OPcZzQ6fzD0Jz177paNUwnNdXW0+2vgqFMV+CAhbhQGeJvwSqyEPFP1se6BJzCUF
zoIP4sHdj9tU8ZZtO96fHm/tzOGx6vcD1ILK/a7QGspG4pZd+DzGkF6NA0U2Hv/6
x0ydocHETP7DdpzmxJidsRx8GzvOSY+HiH/wK7ZWRiKb6FGTAgMBAAGjYzBhMA4G
A1UdDwEB/wQEAwICpDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSkVOiPN7Hc
RI3yA0FASB0NDb4t3DAfBgNVHSMEGDAWgBSkVOiPN7HcRI3yA0FASB0NDb4t3DAN
BgkqhkiG9w0BAQsFAAOCAQEAujJgG+3lNBqoO0+ufuGnYtyt8Z+sIysetVdbxjU7
JbTbGrqrcNvWr61hu44rCC9l/073vddNeumRT1EaWujp0/8dAsKEW91m3qAgfQyX
vylHddlbu4uPjg0iyXUran02ihk6aNafizb9uHdvVka2JPc9jizniLELRR+9kCpB
ePW01WK4nvE5m3IrviG/KCMCHS2Xqhkv0S9Ni5o7b14Em8f/KzZ2rilGU88nZWe/
bVHpMNFvGvEf8nc023FiXAGjDLWp/zoTWasRjglUr+tMUDHmSEnLnD+29CZ2HZ3+
V+HxQCeETYWoOxHh0CCQb12JM8lGGh3jSmakQji8UoXBsA==
-----END CERTIFICATE-----
DEBU Running '/Users/brightzheng/.crc/bin/oc get pod --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU
DEBU Running '/Users/brightzheng/.crc/bin/oc delete pod --all -n openshift-apiserver --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
INFO Starting OpenShift cluster ... [waiting 3m]
DEBU Running '/Users/brightzheng/.crc/bin/oc get csr --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
DEBU
DEBU Running '/Users/brightzheng/.crc/bin/oc get csr -ojson --kubeconfig /Users/brightzheng/.crc/machines/crc/kubeconfig --context admin --cluster crc'
INFO
INFO To access the cluster, first set up your environment by following 'crc oc-env' instructions
INFO Then you can access it by running 'oc login -u developer -p developer https://api.crc.testing:6443'
INFO To login as an admin, run 'oc login -u kubeadmin -p HeJWN-ckbCA-Q96Ds-Sj763 https://api.crc.testing:6443'
INFO
INFO You can now run 'crc console' and use these credentials to access the OpenShift web console
Making call to close driver server
(crc) Calling .Close
Successfully made call to close driver server
Making call to close connection to plugin binary
Making call to close driver server
(crc) Calling .Close
Successfully made call to close driver server
Making call to close connection to plugin binary
Started the OpenShift cluster
WARN The cluster might report a degraded or error state. This is expected since several operators have been disabled to lower the resource usage. For more information, please consult the documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment