crc icon indicating copy to clipboard operation
crc copied to clipboard

[BUG] unable to establish ssh connection - command results: handshake failed: read tcp 127.0.0.1:62297->127.0.0.1:2222: read: connection reset by peer

Open ahaffar opened this issue 2 years ago • 49 comments

General information

  • OS: macOS
  • Hypervisor: vfkit
  • Did you run crc setup before starting it (Yes/No)? Yes
  • Running CRC on: Laptop

CRC version

# Put `crc version` output here
haffar@Ahmeds-MacBook-Pro ~ % crc version 
CRC version: 2.10.2+065f0741
OpenShift version: 4.11.7
Podman version: 4.2.0
haffar@Ahmeds-MacBook-Pro ~ % 

CRC status

# Put `crc status --log-level debug` output here

CRC config

# Put `crc config view` output here
haffar@Ahmeds-MacBook-Pro ~ % crc status
CRC VM:          Stopped
OpenShift:       Stopped (v4.11.7)
RAM Usage:       0B of 0B
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     36.71GB
Cache Directory: /Users/haffar/.crc/cache
haffar@Ahmeds-MacBook-Pro ~ % 

Host Operating System

haffar@Ahmeds-MacBook-Pro ~ % sw_vers
ProductName:	macOS
ProductVersion:	11.7
BuildVersion:	20G817
haffar@Ahmeds-MacBook-Pro ~ % 

Steps to reproduce

  1. CRC start

Expected

Vm is running

Actual

VM is not running

Logs

Before gather the logs try following if that fix your issue -- No

$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug
#crc start --log-level debuf
haffar@Ahmeds-MacBook-Pro ~ % crc start --log-level debug
DEBU CRC version: 2.10.2+065f0741
DEBU OpenShift version: 4.11.7
DEBU Podman version: 4.2.0
DEBU Running 'crc start'
DEBU Total memory of system is 17179869184 bytes
DEBU No new version available. The latest version is 2.10.2
DEBU Checking file: /Users/haffar/.crc/machines/crc/.crc-exist
INFO Checking if running as non-root
INFO Checking if crc-admin-helper executable is cached
INFO Checking for obsolete admin-helper executable
DEBU Checking if an older admin-helper executable is installed
DEBU No older admin-helper executable found
INFO Checking if running on a supported CPU architecture
DEBU GOARCH is arm64 GOOS is darwin
INFO Checking minimum RAM requirements
DEBU Total memory of system is 17179869184 bytes
INFO Checking if crc executable symlink exists
INFO Checking if running emulated on a M1 CPU
INFO Checking if vfkit is installed
INFO Checking if old launchd config for tray and/or daemon exists
INFO Checking if crc daemon plist file is present and loaded
DEBU Running 'bash -c launchctl list | grep com.redhat.crc.daemon | awk '{print $1}''
DEBU Checking file: /Users/haffar/.crc/machines/crc/.crc-exist
INFO Loading bundle: crc_vfkit_4.11.7_arm64...
DEBU Cannot load secret from configuration: empty path
DEBU Using secret from keyring
INFO Creating CRC VM for openshift 4.11.7...
DEBU Running pre-create checks...
DEBU Creating machine...
DEBU /Users/haffar/.crc/machines/crc/crc.img is already 33285996544 bytes
INFO Generating new SSH key pair...
INFO Generating new password for the kubeadmin user
DEBU Created /Users/haffar/.crc/machines/crc/.crc-exist
DEBU Machine successfully created
DEBU Checking file: /Users/haffar/.crc/machines/crc/.crc-exist
INFO Starting CRC VM for openshift 4.11.7...
DEBU Updating CRC VM configuration
DEBU Running 'sw_vers -productVersion'
DEBU Running /Applications/Red Hat OpenShift Local.app/Contents/Resources/vfkit --cpus 4 --memory 13000 --kernel /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/vmlinuz-5.14.0-70.26.1.el9_0.aarch64 --initrd /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/initramfs-5.14.0-70.26.1.el9_0.aarch64.img --kernel-cmdline console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/vmlinuz-5.14.0-70.26.1.el9_0.aarch64 random.trust_cpu=on ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/0 root=UUID=3873ab67-a779-4b5a-9a47-6d12eea58372 rw rootflags=prjquota boot=UUID=49471370-5a0a-4a7f-ab51-c3b1a17380fa --device virtio-serial,logFilePath=/Users/haffar/.crc/machines/crc/vfkit.log --device virtio-rng --device virtio-blk,path=/Users/haffar/.crc/machines/crc/crc.img --device virtio-vsock,port=1024,socketURL=/Users/haffar/.crc/tap.sock
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="&{4 13000 /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/vmlinuz-5.14.0-70.26.1.el9_0.aarch64 console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/vmlinuz-5.14.0-70.26.1.el9_0.aarch64 random.trust_cpu=on ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/0 root=UUID=3873ab67-a779-4b5a-9a47-6d12eea58372 rw rootflags=prjquota boot=UUID=49471370-5a0a-4a7f-ab51-c3b1a17380fa /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/initramfs-5.14.0-70.26.1.el9_0.aarch64.img [virtio-serial,logFilePath=/Users/haffar/.crc/machines/crc/vfkit.log virtio-rng virtio-blk,path=/Users/haffar/.crc/machines/crc/crc.img virtio-vsock,port=1024,socketURL=/Users/haffar/.crc/tap.sock]}"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="boot parameters:"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="\tkernel: /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/vmlinuz-5.14.0-70.26.1.el9_0.aarch64"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="\tkernel command line:console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/vmlinuz-5.14.0-70.26.1.el9_0.aarch64 random.trust_cpu=on ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/0 root=UUID=3873ab67-a779-4b5a-9a47-6d12eea58372 rw rootflags=prjquota boot=UUID=49471370-5a0a-4a7f-ab51-c3b1a17380fa"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="\tinitrd: /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/initramfs-5.14.0-70.26.1.el9_0.aarch64.img"
DEBU time="2022-11-09T21:34:31+03:00" level=info
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="virtual machine parameters:"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="\tvCPUs: 4"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="\tmemory: 13000 MiB"
DEBU time="2022-11-09T21:34:31+03:00" level=info
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="Adding virtio-serial device (logFile: /Users/haffar/.crc/machines/crc/vfkit.log)"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="Adding virtio-rng device"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="Adding virtio-blk device (imagePath: /Users/haffar/.crc/machines/crc/crc.img)"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="Adding virtio-vsock device"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="virtual machine is running"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="Exposing vsock port 1024 on /Users/haffar/.crc/tap.sock"
DEBU time="2022-11-09T21:34:31+03:00" level=info msg="waiting for VM to stop"
DEBU Waiting for machine to be running, this may take a few minutes...
DEBU retry loop: attempt 0
DEBU Machine is up and running!
INFO CRC instance is running with IP 127.0.0.1
DEBU Waiting until ssh is available
DEBU retry loop: attempt 0
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/haffar/.crc/machines/crc/id_ecdsa /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:62297->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:62297->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 1
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/haffar/.crc/machines/crc/id_ecdsa /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/id_ecdsa_crc]
^C

ahaffar avatar Nov 09 '22 18:11 ahaffar

@ahaffar did it exit after retries automatically because I can see you did ^c after first retry only?

praveenkumar avatar Nov 10 '22 01:11 praveenkumar

@praveenkumar i tried multiple times, i did

  • crc delete
  • crc cleanup
  • crc start but same behavior, also i would like to mention that in some articles it mentioned that, the crc is doing some changes to /etc/resolve/testing or /etc/hosts but not able to see any changes on those files.

ahaffar avatar Nov 10 '22 03:11 ahaffar

but same behavior, also i would like to mention that in some articles it mentioned that, the crc is doing some changes to /etc/resolve/testing or /etc/hosts but not able to see any changes on those files.

@ahaffar Now we don't add /etc/resolve/testing file and /etc/hosts changes only happen once crc started which is not happening in your case as of now.

Are you using docker on this machine? if yes can you stop the docker and then try CRC?

praveenkumar avatar Nov 10 '22 08:11 praveenkumar

I stopped docker by running pkill docker below are the results of CRC

haffar@Ahmeds-MacBook-Pro ~ % crc start --log-level debug
DEBU CRC version: 2.10.2+065f0741
DEBU OpenShift version: 4.11.7
DEBU Podman version: 4.2.0
DEBU Running 'crc start'
DEBU Total memory of system is 17179869184 bytes
DEBU No new version available. The latest version is 2.10.2
DEBU Checking file: /Users/haffar/.crc/machines/crc/.crc-exist
DEBU Checking file: /Users/haffar/.crc/machines/crc/.crc-exist
INFO Loading bundle: crc_vfkit_4.11.7_arm64...
DEBU Checking file: /Users/haffar/.crc/machines/crc/.crc-exist
INFO A CRC VM for OpenShift 4.11.7 is already running
Started the OpenShift cluster.

The server is accessible via web console at:
  https://console-openshift-console.apps-crc.testing

Log in as administrator:
  Username: kubeadmin
  Password: wieNw-aRjR6-CwHKJ-KuHRe

Log in as user:
  Username: developer
  Password: developer

Use the 'oc' command line interface:
  $ eval $(crc oc-env)
  $ oc login -u developer https://api.crc.testing:6443
DEBU Running 'sw_vers -productVersion'
haffar@Ahmeds-MacBook-Pro ~ % crc status --log-level debug
DEBU CRC version: 2.10.2+065f0741
DEBU OpenShift version: 4.11.7
DEBU Podman version: 4.2.0
DEBU Running 'crc status'
CRC VM:          Running
OpenShift:       Unreachable (v4.11.7)
RAM Usage:       0B of 0B
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     36.71GB
Cache Directory: /Users/haffar/.crc/cache
DEBU Running 'sw_vers -productVersion'
haffar@Ahmeds-MacBook-Pro ~ % oc login -u developer https://api.crc.testing:6443
error: dial tcp: lookup api.crc.testing on 192.168.8.1:53: no such host - verify you have provided the correct host and port and that the server is currently running.
haffar@Ahmeds-MacBook-Pro ~ %

ahaffar avatar Nov 10 '22 13:11 ahaffar

INFO A CRC VM for OpenShift 4.11.7 is already running

Run crc delete before retrying crc start to make sure it's recreated from scratch.

lookup api.crc.testing on 192.168.8.1:53 this is unexpected, /etc/hosts should have a 127.0.0.1 api.crc.testing entry.

cfergeau avatar Nov 10 '22 16:11 cfergeau

crc config view output is missing from this report, make sure network-mode is not system.

cfergeau avatar Nov 10 '22 16:11 cfergeau

thank you @cfergeau below is output of crc start --log-level debug also i added the entry to /etc/hosts

haffar@Ahmeds-MacBook-Pro ~ % crc delete 
Do you want to delete the instance? [y/N]: y
Deleted the instance
haffar@Ahmeds-MacBook-Pro ~ % crc start --log-level debug 
DEBU CRC version: 2.10.2+065f0741                 
DEBU OpenShift version: 4.11.7                    
DEBU Podman version: 4.2.0                        
DEBU Running 'crc start'                          
DEBU Total memory of system is 17179869184 bytes  
DEBU No new version available. The latest version is 2.10.2 
DEBU Checking file: /Users/haffar/.crc/machines/crc/.crc-exist 
INFO Checking if running as non-root              
INFO Checking if crc-admin-helper executable is cached 
INFO Checking for obsolete admin-helper executable 
DEBU Checking if an older admin-helper executable is installed 
DEBU No older admin-helper executable found       
INFO Checking if running on a supported CPU architecture 
DEBU GOARCH is arm64 GOOS is darwin               
INFO Checking minimum RAM requirements            
DEBU Total memory of system is 17179869184 bytes  
INFO Checking if crc executable symlink exists    
INFO Checking if running emulated on a M1 CPU     
INFO Checking if vfkit is installed               
INFO Checking if old launchd config for tray and/or daemon exists 
INFO Checking if crc daemon plist file is present and loaded 
DEBU Running 'bash -c launchctl list | grep com.redhat.crc.daemon | awk '{print $1}'' 
DEBU Checking file: /Users/haffar/.crc/machines/crc/.crc-exist 
INFO Loading bundle: crc_vfkit_4.11.7_arm64...    
DEBU Cannot load secret from configuration: empty path 
DEBU Using secret from keyring                    
INFO Creating CRC VM for openshift 4.11.7...      
DEBU Running pre-create checks...                 
DEBU Creating machine...                          
DEBU /Users/haffar/.crc/machines/crc/crc.img is already 33285996544 bytes 
INFO Generating new SSH key pair...               
INFO Generating new password for the kubeadmin user 
DEBU Created /Users/haffar/.crc/machines/crc/.crc-exist 
DEBU Machine successfully created                 
DEBU Checking file: /Users/haffar/.crc/machines/crc/.crc-exist 
INFO Starting CRC VM for openshift 4.11.7...      
DEBU Updating CRC VM configuration                
DEBU Running 'sw_vers -productVersion'            
DEBU Running /Applications/Red Hat OpenShift Local.app/Contents/Resources/vfkit --cpus 4 --memory 13000 --kernel /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/vmlinuz-5.14.0-70.26.1.el9_0.aarch64 --initrd /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/initramfs-5.14.0-70.26.1.el9_0.aarch64.img --kernel-cmdline console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/vmlinuz-5.14.0-70.26.1.el9_0.aarch64 random.trust_cpu=on ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/0 root=UUID=3873ab67-a779-4b5a-9a47-6d12eea58372 rw rootflags=prjquota boot=UUID=49471370-5a0a-4a7f-ab51-c3b1a17380fa --device virtio-serial,logFilePath=/Users/haffar/.crc/machines/crc/vfkit.log --device virtio-rng --device virtio-blk,path=/Users/haffar/.crc/machines/crc/crc.img --device virtio-vsock,port=1024,socketURL=/Users/haffar/.crc/tap.sock 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="&{4 13000 /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/vmlinuz-5.14.0-70.26.1.el9_0.aarch64 console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/vmlinuz-5.14.0-70.26.1.el9_0.aarch64 random.trust_cpu=on ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/0 root=UUID=3873ab67-a779-4b5a-9a47-6d12eea58372 rw rootflags=prjquota boot=UUID=49471370-5a0a-4a7f-ab51-c3b1a17380fa /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/initramfs-5.14.0-70.26.1.el9_0.aarch64.img [virtio-serial,logFilePath=/Users/haffar/.crc/machines/crc/vfkit.log virtio-rng virtio-blk,path=/Users/haffar/.crc/machines/crc/crc.img virtio-vsock,port=1024,socketURL=/Users/haffar/.crc/tap.sock]}" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="boot parameters:" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="\tkernel: /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/vmlinuz-5.14.0-70.26.1.el9_0.aarch64" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="\tkernel command line:console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/vmlinuz-5.14.0-70.26.1.el9_0.aarch64 random.trust_cpu=on ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/caefb4ee863008487ed96ac7f0ea85354ea877e6f9636f87ad1b10c20102aea8/0 root=UUID=3873ab67-a779-4b5a-9a47-6d12eea58372 rw rootflags=prjquota boot=UUID=49471370-5a0a-4a7f-ab51-c3b1a17380fa" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="\tinitrd: /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/initramfs-5.14.0-70.26.1.el9_0.aarch64.img" 
DEBU time="2022-11-11T14:28:29+03:00" level=info  
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="virtual machine parameters:" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="\tvCPUs: 4" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="\tmemory: 13000 MiB" 
DEBU time="2022-11-11T14:28:29+03:00" level=info  
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="Adding virtio-serial device (logFile: /Users/haffar/.crc/machines/crc/vfkit.log)" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="Adding virtio-rng device" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="Adding virtio-blk device (imagePath: /Users/haffar/.crc/machines/crc/crc.img)" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="Adding virtio-vsock device" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="virtual machine is running" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="Exposing vsock port 1024 on /Users/haffar/.crc/tap.sock" 
DEBU time="2022-11-11T14:28:29+03:00" level=info msg="waiting for VM to stop" 
DEBU Waiting for machine to be running, this may take a few minutes... 
DEBU retry loop: attempt 0                        
DEBU Machine is up and running!                   
INFO CRC instance is running with IP 127.0.0.1    
DEBU Waiting until ssh is available               
DEBU retry loop: attempt 0                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/haffar/.crc/machines/crc/id_ecdsa /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64466->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64466->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 1                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/haffar/.crc/machines/crc/id_ecdsa /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64467->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64467->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 2                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/haffar/.crc/machines/crc/id_ecdsa /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64468->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64468->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 3                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/haffar/.crc/machines/crc/id_ecdsa /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64469->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64469->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 4                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/haffar/.crc/machines/crc/id_ecdsa /Users/haffar/.crc/cache/crc_vfkit_4.11.7_arm64/id_ecdsa_crc] 
^C
haffar@Ahmeds-MacBook-Pro ~ % crc config set network-mode system 
Configuration property 'network-mode' does not exist
haffar@Ahmeds-MacBook-Pro ~ % 

ahaffar avatar Nov 11 '22 11:11 ahaffar

I faced with similiar issue too:

$ crc stop; crc start --log-level debug
INFO Stopping kubelet and all containers...       
WARN Failed to stop all OpenShift containers.
Shutting down VM... 
INFO Updating kernel args...                      
ERRO Failed to get kernel args: ssh command error:
command : sudo -- sh -c 'rpm-ostree kargs'
err     : ssh: handshake failed: read tcp 127.0.0.1:50441->127.0.0.1:2222: read: connection reset by peer
 -  
INFO Stopping the instance, this may take a few minutes... 
Stopped the instance

DEBU CRC version: 2.10.1+7e7f6b2d                 
DEBU OpenShift version: 4.11.7                    
DEBU Podman version: 4.2.0                        
DEBU Running 'crc start'                          
DEBU Total memory of system is 34359738368 bytes  
WARN A new version (2.10.2) has been published on https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/2.10.2/crc-macos-installer.pkg 
DEBU Checking file: /Users/oandriie/.crc/machines/crc/.crc-exist 
INFO Checking if running as non-root              
INFO Checking if crc-admin-helper executable is cached 
INFO Checking for obsolete admin-helper executable 
DEBU Checking if an older admin-helper executable is installed 
DEBU No older admin-helper executable found       
INFO Checking if running on a supported CPU architecture 
DEBU GOARCH is amd64 GOOS is darwin               
INFO Checking minimum RAM requirements            
DEBU Total memory of system is 34359738368 bytes  
INFO Checking if crc executable symlink exists    
INFO Checking if running emulated on a M1 CPU     
INFO Checking if vfkit is installed               
INFO Checking if old launchd config for tray and/or daemon exists 
INFO Checking if crc daemon plist file is present and loaded 
DEBU Running 'bash -c launchctl list | grep com.redhat.crc.daemon | awk '{print $1}'' 
DEBU Checking file: /Users/oandriie/.crc/machines/crc/.crc-exist 
INFO Loading bundle: crc_vfkit_4.11.7_amd64...    
DEBU Checking file: /Users/oandriie/.crc/machines/crc/.crc-exist 
INFO Starting CRC VM for openshift 4.11.7...      
DEBU Updating CRC VM configuration                
DEBU Running 'sw_vers -productVersion'            
DEBU Running /Applications/Red Hat OpenShift Local.app/Contents/Resources/vfkit --cpus 6 --memory 20480 --kernel /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/vmlinuz-4.18.0-372.26.1.el8_6.x86_64 --initrd /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/initramfs-4.18.0-372.26.1.el8_6.x86_64.img --kernel-cmdline console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-322ee323e16a1eed5ae6ff4e574deb09fa8171c8f175d997347edb7b9d0c4b51/vmlinuz-4.18.0-372.26.1.el8_6.x86_64 random.trust_cpu=on console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/322ee323e16a1eed5ae6ff4e574deb09fa8171c8f175d997347edb7b9d0c4b51/0 root=UUID=c5c27612-a75c-46d1-a874-7ae9380afb15 rw rootflags=prjquota boot=UUID=edf3ea24-3701-4378-9de5-6c037d3a9551 --device virtio-serial,logFilePath=/Users/oandriie/.crc/machines/crc/vfkit.log --device virtio-rng --device virtio-blk,path=/Users/oandriie/.crc/machines/crc/crc.img --device virtio-vsock,port=1024,socketURL=/Users/oandriie/.crc/tap.sock 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="&{6 20480 /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/vmlinuz-4.18.0-372.26.1.el8_6.x86_64 console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-322ee323e16a1eed5ae6ff4e574deb09fa8171c8f175d997347edb7b9d0c4b51/vmlinuz-4.18.0-372.26.1.el8_6.x86_64 random.trust_cpu=on console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/322ee323e16a1eed5ae6ff4e574deb09fa8171c8f175d997347edb7b9d0c4b51/0 root=UUID=c5c27612-a75c-46d1-a874-7ae9380afb15 rw rootflags=prjquota boot=UUID=edf3ea24-3701-4378-9de5-6c037d3a9551 /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/initramfs-4.18.0-372.26.1.el8_6.x86_64.img [virtio-serial,logFilePath=/Users/oandriie/.crc/machines/crc/vfkit.log virtio-rng virtio-blk,path=/Users/oandriie/.crc/machines/crc/crc.img virtio-vsock,port=1024,socketURL=/Users/oandriie/.crc/tap.sock]}" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="boot parameters:" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="\tkernel: /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/vmlinuz-4.18.0-372.26.1.el8_6.x86_64" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="\tkernel command line:console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-322ee323e16a1eed5ae6ff4e574deb09fa8171c8f175d997347edb7b9d0c4b51/vmlinuz-4.18.0-372.26.1.el8_6.x86_64 random.trust_cpu=on console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/322ee323e16a1eed5ae6ff4e574deb09fa8171c8f175d997347edb7b9d0c4b51/0 root=UUID=c5c27612-a75c-46d1-a874-7ae9380afb15 rw rootflags=prjquota boot=UUID=edf3ea24-3701-4378-9de5-6c037d3a9551" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="\tinitrd: /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/initramfs-4.18.0-372.26.1.el8_6.x86_64.img" 
DEBU time="2022-11-12T02:26:46+02:00" level=info  
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="virtual machine parameters:" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="\tvCPUs: 6" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="\tmemory: 20480 MiB" 
DEBU time="2022-11-12T02:26:46+02:00" level=info  
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="Adding virtio-serial device (logFile: /Users/oandriie/.crc/machines/crc/vfkit.log)" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="Adding virtio-rng device" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="Adding virtio-blk device (imagePath: /Users/oandriie/.crc/machines/crc/crc.img)" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="Adding virtio-vsock device" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="virtual machine is running" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="Exposing vsock port 1024 on /Users/oandriie/.crc/tap.sock" 
DEBU time="2022-11-12T02:26:46+02:00" level=info msg="waiting for VM to stop" 
DEBU Waiting for machine to be running, this may take a few minutes... 
DEBU retry loop: attempt 0                        
DEBU Machine is up and running!                   
INFO CRC instance is running with IP 127.0.0.1    
DEBU Waiting until ssh is available               
DEBU retry loop: attempt 0                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50449->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50449->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 1                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50451->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50451->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 2                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50454->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50454->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 3                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50455->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50455->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 4                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50459->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50459->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 5                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50462->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50462->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 6                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50464->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50464->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 7                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50467->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50467->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 8                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50469->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50469->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 9                        
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50471->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50471->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 10                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50474->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50474->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 11                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50476->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50476->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 12                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50479->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50479->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 13                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50483->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50483->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 14                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50485->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50485->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 15                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50486->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50486->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 16                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50491->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50491->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 17                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50493->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50493->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 18                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50495->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50495->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 19                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50498->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50498->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 20                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50500->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50500->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 21                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50504->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50504->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 22                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50506->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50506->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 23                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50508->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50508->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 24                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50511->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50511->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 25                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50513->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50513->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 26                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50516->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50516->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 27                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50517->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50517->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 28                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50521->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50521->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 29                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50524->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50524->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 30                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50527->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50527->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 31                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50529->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50529->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 32                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50532->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50532->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 33                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50534->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50534->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 34                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50536->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50536->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 35                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50539->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50539->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 36                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50542->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50542->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 37                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50545->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50545->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 38                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50547->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50547->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 39                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50548->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50548->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 40                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50552->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50552->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 41                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50554->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50554->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 42                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50556->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50556->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 43                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50559->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50559->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 44                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50562->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50562->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 45                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50564->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50564->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 46                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50567->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50567->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 47                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50569->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50569->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 48                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50571->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50571->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 49                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50574->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50574->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 50                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50578->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50578->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 51                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50584->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50584->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 52                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50589->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50589->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 53                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50591->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50591->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 54                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50594->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50594->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 55                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50596->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50596->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 56                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50598->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50598->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 57                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50601->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50601->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 58                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50603->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50603->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 59                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50606->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50606->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 60                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50609->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50609->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 61                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50611->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50611->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 62                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50614->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50614->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 63                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50615->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50615->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 64                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50619->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50619->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 65                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50622->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50622->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 66                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50625->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50625->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 67                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50628->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50628->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 68                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50631->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50631->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 69                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50633->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50633->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 70                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50636->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50636->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 71                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50638->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50638->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 72                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50640->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50640->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 73                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50643->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50643->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 74                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50645->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50645->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 75                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50647->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50647->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 76                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50651->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50651->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU retry loop: attempt 77                       
DEBU Running SSH command: exit 0                  
DEBU Using ssh private keys: [/Users/oandriie/.crc/machines/crc/id_ecdsa /Users/oandriie/.crc/cache/crc_vfkit_4.11.7_amd64/id_ecdsa_crc] 
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:50653->127.0.0.1:2222: read: connection reset by peer, output:  
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50653->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s 
DEBU RetryAfter timeout after 78 tries            
DEBU Running 'sw_vers -productVersion'            
Failed to connect to the CRC VM with SSH -- virtual machine might be unreachable: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50449->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50451->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50454->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50455->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50459->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50462->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50464->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50467->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50469->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50471->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50474->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50476->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50479->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50483->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50485->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50486->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50491->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50493->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50495->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50498->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50500->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50504->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50506->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50508->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50511->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50513->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50516->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50517->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50521->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50524->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50527->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50529->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50532->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50534->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50536->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50539->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50542->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50545->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50547->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50548->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50552->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50554->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50556->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50559->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50562->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50564->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50567->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50569->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50571->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50574->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50578->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50584->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50589->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50591->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50594->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50596->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50598->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50601->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50603->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50606->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50609->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50611->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50614->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50615->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50619->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50622->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50625->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50628->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50631->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50633->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50636->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50638->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50640->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50643->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50645->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50647->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50651->127.0.0.1:2222: read: connection reset by peer

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50653->127.0.0.1:2222: read: connection reset by peer

AndrienkoAleksandr avatar Nov 12 '22 00:11 AndrienkoAleksandr

$ crc config view

  • consent-telemetry : yes
  • cpus : 6
  • disk-size : 125
  • memory : 20480

AndrienkoAleksandr avatar Nov 12 '22 00:11 AndrienkoAleksandr

@AndrienkoAleksandr do you have M1 chip arm64 ?

ahaffar avatar Nov 14 '22 04:11 ahaffar

@AndrienkoAleksandr do you have M1 chip arm64 ?

@ahaffar No, I'm using macbook 2019 with intel cpu, so amd64 arc I think.

AndrienkoAleksandr avatar Nov 14 '22 12:11 AndrienkoAleksandr

From time to time I recreate my crc instance due this bug. New instance works fine some time, for example few days. I can stop crc instance and start it again and I can't reproduce this bug. But seems after some long laptop sleep, when I closed laptop, it reproduces. So I can't provide stable reproduction steps... Because sometimes after laptop sleep crc instance auto-restarts fine, sometimes doesn't. And when I see this error:

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:50645->127.0.0.1:2222: read: connection reset by peer

I don't know how to recovery my instance, so I remove it and create new one... Stop and start again doesn't help. Restart laptop doesn't help too.

AndrienkoAleksandr avatar Nov 14 '22 12:11 AndrienkoAleksandr

Hi, has anybody came up with the solution? I'm facing the same issue on mac with M1 chip. Results of sw_vers:

ProductName:	macOS
ProductVersion:	12.2.1
BuildVersion:	21D62

Results of crc version:

CRC version: 2.12.0+ea98bb41
OpenShift version: 4.11.18
Podman version: 4.2.0

I added 127.0.0.1 api.crc.testing line to the /etc/hosts. Result of crc start --log-level debug are similar to yours.

wojtekzyla avatar Dec 20 '22 14:12 wojtekzyla

I think killing the crc daemon would help when this happens. Kill all crc processes that you can see in ps aux output, and re-run crc setup before running crc start.

cfergeau avatar Dec 20 '22 14:12 cfergeau

still get this error on mac m1.

tydra-wang avatar Feb 03 '23 09:02 tydra-wang

The same error on M1 with the latest version: crc version : CRC version: 2.13.1+b5b864fd OpenShift version: 4.12.0 Podman version: 4.3.1

killing crc daemon or restarting laptop didn't help both my colleagues get the same error on M1 as well

alex-y-kozlov avatar Feb 06 '23 18:02 alex-y-kozlov

Does this always happen? Does this happen after using crc for a while as stated in this report? Can you ssh into the VM when this happens? See https://github.com/crc-org/crc/wiki/Debugging-guide#entering-the-vm (with 127.0.0.1 and port 2222) Can you run crc delete && crc cleanup and then paste the full crc setup --log-level debug && crc start --log-level debug output, as well as crc config view. And when this fails, can you provide ~/.crc/machines/crc/vfkit.log?

cfergeau avatar Feb 07 '23 09:02 cfergeau

crc config view

- consent-telemetry                     : no

crc setup --log-level debug

DEBU CRC version: 2.13.1+b5b864fd
DEBU OpenShift version: 4.12.0
DEBU Podman version: 4.3.1
DEBU Running 'crc setup'
INFO Using bundle path /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64.crcbundle
INFO Checking if running as non-root
INFO Checking if crc-admin-helper executable is cached
INFO Checking for obsolete admin-helper executable
DEBU Checking if an older admin-helper executable is installed
DEBU No older admin-helper executable found
INFO Checking if running on a supported CPU architecture
DEBU GOARCH is arm64 GOOS is darwin
INFO Checking minimum RAM requirements
DEBU Total memory of system is 17179869184 bytes
INFO Checking if crc executable symlink exists
DEBU lstat /Users/wjj/.crc/bin/crc: no such file or directory
INFO Creating symlink for crc executable
DEBU symlinking /Applications/Red Hat OpenShift Local.app/Contents/Resources/crc to /Users/wjj/.crc/bin/crc
INFO Checking if running emulated on a M1 CPU
INFO Checking if vfkit is installed
INFO Checking if CRC bundle is extracted in '$HOME/.crc'
INFO Checking if /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64.crcbundle exists
DEBU /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64.crcbundle exists
INFO Checking if old launchd config for tray and/or daemon exists
INFO Checking if crc daemon plist file is present and loaded
DEBU File not found: /Users/wjj/Library/LaunchAgents/com.redhat.crc.daemon.plist: stat /Users/wjj/Library/LaunchAgents/com.redhat.crc.daemon.plist: no such file or directory
INFO Adding crc daemon plist file and loading it
DEBU Creating plist for com.redhat.crc.daemon
DEBU Running 'launchctl load -w /Users/wjj/Library/LaunchAgents/com.redhat.crc.daemon.plist'
DEBU Running 'launchctl stop com.redhat.crc.daemon'
DEBU Running 'launchctl start com.redhat.crc.daemon'
DEBU retry loop: attempt 0
DEBU error: Temporary error: daemon is not running yet - sleeping 2s
DEBU retry loop: attempt 1
DEBU error: Temporary error: daemon is not running yet - sleeping 2s
DEBU retry loop: attempt 2
DEBU error: Temporary error: daemon is not running yet - sleeping 2s
DEBU retry loop: attempt 3
DEBU error: Temporary error: daemon is not running yet - sleeping 2s
DEBU retry loop: attempt 4
DEBU error: Temporary error: daemon is not running yet - sleeping 2s
DEBU retry loop: attempt 5
DEBU error: Temporary error: daemon is not running yet - sleeping 2s
DEBU retry loop: attempt 6
Your system is correctly setup for using CRC. Use 'crc start' to start the instance

crc start --log-level debug

DEBU CRC version: 2.13.1+b5b864fd
DEBU OpenShift version: 4.12.0
DEBU Podman version: 4.3.1
DEBU Running 'crc start'
DEBU Total memory of system is 17179869184 bytes
DEBU No new version available. The latest version is 2.13.1
DEBU Checking file: /Users/wjj/.crc/machines/crc/.crc-exist
INFO Checking if running as non-root
INFO Checking if crc-admin-helper executable is cached
INFO Checking for obsolete admin-helper executable
DEBU Checking if an older admin-helper executable is installed
DEBU No older admin-helper executable found
INFO Checking if running on a supported CPU architecture
DEBU GOARCH is arm64 GOOS is darwin
INFO Checking minimum RAM requirements
DEBU Total memory of system is 17179869184 bytes
INFO Checking if crc executable symlink exists
INFO Checking if running emulated on a M1 CPU
INFO Checking if vfkit is installed
INFO Checking if old launchd config for tray and/or daemon exists
INFO Checking if crc daemon plist file is present and loaded
DEBU Running 'bash -c launchctl list | grep com.redhat.crc.daemon | awk '{print $1}''
DEBU Checking file: /Users/wjj/.crc/machines/crc/.crc-exist
INFO Loading bundle: crc_vfkit_4.12.0_arm64...
DEBU Cannot load secret from configuration: empty path
DEBU Cannot load secret from keyring: secret not found in keyring
CRC requires a pull secret to download content from Red Hat.
You can copy it from the Pull Secret section of https://console.redhat.com/openshift/create/local.
? Please enter the pull secret ********************************************************************************************************************************************************
INFO Creating CRC VM for openshift 4.12.0...
DEBU Running pre-create checks...
DEBU Creating machine...
DEBU /Users/wjj/.crc/machines/crc/crc.img is already 33285996544 bytes
INFO Generating new SSH key pair...
INFO Generating new password for the kubeadmin user
DEBU Created /Users/wjj/.crc/machines/crc/.crc-exist
DEBU Machine successfully created
DEBU Checking file: /Users/wjj/.crc/machines/crc/.crc-exist
INFO Starting CRC VM for openshift 4.12.0...
DEBU Updating CRC VM configuration
DEBU kern.osproductversion is: 12.1
DEBU Running /Applications/Red Hat OpenShift Local.app/Contents/Resources/vfkit --cpus 4 --memory 9216 --kernel /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 --initrd /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/initramfs-5.14.0-70.36.1.el9_0.aarch64.img --kernel-cmdline console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/0 root=UUID=06964c9c-3d85-419d-8315-3cb1d43583fe rw rootflags=prjquota boot=UUID=e969d0ef-71f3-4ba1-a4ac-4b8895f098ea --device virtio-serial,logFilePath=/Users/wjj/.crc/machines/crc/vfkit.log --device virtio-fs,sharedDir=/Users/wjj,mountTag=dir0 --device virtio-rng --device virtio-blk,path=/Users/wjj/.crc/machines/crc/crc.img --device virtio-vsock,port=1024,socketURL=/Users/wjj/.crc/tap.sock,listen --timesync vsockPort=1234
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="&{4 9216 /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/0 root=UUID=06964c9c-3d85-419d-8315-3cb1d43583fe rw rootflags=prjquota boot=UUID=e969d0ef-71f3-4ba1-a4ac-4b8895f098ea /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/initramfs-5.14.0-70.36.1.el9_0.aarch64.img vsockPort=1234 [virtio-serial,logFilePath=/Users/wjj/.crc/machines/crc/vfkit.log virtio-fs,sharedDir=/Users/wjj,mountTag=dir0 virtio-rng virtio-blk,path=/Users/wjj/.crc/machines/crc/crc.img virtio-vsock,port=1024,socketURL=/Users/wjj/.crc/tap.sock,listen]}"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="boot parameters:"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="\tkernel: /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/vmlinuz-5.14.0-70.36.1.el9_0.aarch64"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="\tkernel command line:console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/0 root=UUID=06964c9c-3d85-419d-8315-3cb1d43583fe rw rootflags=prjquota boot=UUID=e969d0ef-71f3-4ba1-a4ac-4b8895f098ea"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="\tinitrd: /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/initramfs-5.14.0-70.36.1.el9_0.aarch64.img"
DEBU time="2023-02-07T18:19:29+08:00" level=info
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="virtual machine parameters:"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="\tvCPUs: 4"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="\tmemory: 9216 MiB"
DEBU time="2023-02-07T18:19:29+08:00" level=info
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="Adding virtio-serial device (logFile: /Users/wjj/.crc/machines/crc/vfkit.log)"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="Adding virtio-fs device"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="Adding virtio-rng device"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="Adding virtio-blk device (imagePath: /Users/wjj/.crc/machines/crc/crc.img)"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="Adding virtio-vsock device"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="virtual machine is running"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="Exposing vsock port 1024 on /Users/wjj/.crc/tap.sock (listening)"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="Setting up host/guest time synchronization"
DEBU time="2023-02-07T18:19:29+08:00" level=info msg="waiting for VM to stop"
DEBU Waiting for machine to be running, this may take a few minutes...
DEBU retry loop: attempt 0
DEBU Machine is up and running!
INFO CRC instance is running with IP 127.0.0.1
DEBU Waiting until ssh is available
DEBU retry loop: attempt 0
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/wjj/.crc/machines/crc/id_ecdsa /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64460->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64460->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 1
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/wjj/.crc/machines/crc/id_ecdsa /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64465->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64465->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 2
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/wjj/.crc/machines/crc/id_ecdsa /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64468->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64468->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 3
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/wjj/.crc/machines/crc/id_ecdsa /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64470->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64470->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 4
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/wjj/.crc/machines/crc/id_ecdsa /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64473->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64473->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 5
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/wjj/.crc/machines/crc/id_ecdsa /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64475->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64475->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 6
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/wjj/.crc/machines/crc/id_ecdsa /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64478->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64478->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 7
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/wjj/.crc/machines/crc/id_ecdsa /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64482->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64482->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 8
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/wjj/.crc/machines/crc/id_ecdsa /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:64486->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:64486->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 9
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/wjj/.crc/machines/crc/id_ecdsa /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/id_ecdsa_crc]
......

ssh -i ~/.crc/machines/crc/id_ecdsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected] -p 2222

kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 2222

~/.crc/machines/crc/vfkit.log is empty

tydra-wang avatar Feb 07 '23 10:02 tydra-wang

Is the crc daemon running? I think it is from the crc start log, but does not hurt to check with ps aux. Is there a vfkit process running when this fails?

cfergeau avatar Feb 07 '23 10:02 cfergeau

ps aux | grep crc

wjj              63790   0.0  0.0 408628368   1648 s003  S+    7:03PM   0:00.00 grep --color=auto crc
wjj              63048   0.0  0.1 409570352  18272 s002  S     6:19PM   0:00.18 /Applications/Red Hat OpenShift Local.app/Contents/Resources/vfkit --cpus 4 --memory 9216 --kernel /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 --initrd /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/initramfs-5.14.0-70.36.1.el9_0.aarch64.img --kernel-cmdline console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/0 root=UUID=06964c9c-3d85-419d-8315-3cb1d43583fe rw rootflags=prjquota boot=UUID=e969d0ef-71f3-4ba1-a4ac-4b8895f098ea --device virtio-serial,logFilePath=/Users/wjj/.crc/machines/crc/vfkit.log --device virtio-fs,sharedDir=/Users/wjj,mountTag=dir0 --device virtio-rng --device virtio-blk,path=/Users/wjj/.crc/machines/crc/crc.img --device virtio-vsock,port=1024,socketURL=/Users/wjj/.crc/tap.sock,listen --timesync vsockPort=1234
wjj              63003   0.0  0.2 409270656  40576   ??  S     6:17PM   0:01.46 /Users/wjj/.crc/bin/crc daemon --log-level=debug

tydra-wang avatar Feb 07 '23 11:02 tydra-wang

The vfkit command line matches what I get on my system, however it's odd that you don't have anything in vfkit.log. This would indicate the VM failed to boot somehow. Can you try running it manually?

/Applications/Red Hat OpenShift Local.app/Contents/Resources/vfkit --cpus 4 --memory 9216 --kernel /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 --initrd /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/initramfs-5.14.0-70.36.1.el9_0.aarch64.img --kernel-cmdline "console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/0 root=UUID=06964c9c-3d85-419d-8315-3cb1d43583fe rw rootflags=prjquota boot=UUID=e969d0ef-71f3-4ba1-a4ac-4b8895f098ea" --device virtio-serial,logFilePath=/Users/wjj/.crc/machines/crc/vfkit.log --device virtio-blk,path=/Users/wjj/.crc/machines/crc/crc.img

in case this goes further? The objective is to get something in /Users/wjj/.crc/machines/crc/vfkit.log. Can you also check the Console application for anything vfkit related?

cfergeau avatar Feb 07 '23 14:02 cfergeau

INFO[0000] &{4 9216 /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/0 root=UUID=06964c9c-3d85-419d-8315-3cb1d43583fe rw rootflags=prjquota boot=UUID=e969d0ef-71f3-4ba1-a4ac-4b8895f098ea /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/initramfs-5.14.0-70.36.1.el9_0.aarch64.img  [virtio-serial,logFilePath=/Users/wjj/.crc/machines/crc/vfkit.log virtio-blk,path=/Users/wjj/.crc/machines/crc/crc.img]}
INFO[0000] boot parameters:
INFO[0000]      kernel: /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/vmlinuz-5.14.0-70.36.1.el9_0.aarch64
INFO[0000]      kernel command line:console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/vmlinuz-5.14.0-70.36.1.el9_0.aarch64 ignition.platform.id=qemu ostree=/ostree/boot.0/rhcos/a5a4f010c60951f87353fdaeb9beb706c1fbc04fb02f3c7cd8063007c69fdd1e/0 root=UUID=06964c9c-3d85-419d-8315-3cb1d43583fe rw rootflags=prjquota boot=UUID=e969d0ef-71f3-4ba1-a4ac-4b8895f098ea
INFO[0000]      initrd: /Users/wjj/.crc/cache/crc_vfkit_4.12.0_arm64/initramfs-5.14.0-70.36.1.el9_0.aarch64.img
INFO[0000]
INFO[0000] virtual machine parameters:
INFO[0000]      vCPUs: 4
INFO[0000]      memory: 9216 MiB
INFO[0000]
INFO[0000] Adding virtio-serial device (logFile: /Users/wjj/.crc/machines/crc/vfkit.log)
INFO[0000] Adding virtio-blk device (imagePath: /Users/wjj/.crc/machines/crc/crc.img)
INFO[0000] virtual machine is running
INFO[0000] waiting for VM to stop

It's stuck here.

tydra-wang avatar Feb 08 '23 03:02 tydra-wang

It's not printing to stdout/stderr by default, but to /Users/wjj/.crc/machines/crc/vfkit.log if you used the command I gave. Did you get a chance to check if the Console application reported any vfkit/virtualization related errors?

cfergeau avatar Feb 08 '23 10:02 cfergeau

I used exactly the command you gave. /Users/wjj/.crc/machines/crc/vfkit.log is still empty.

What do you mean by "Console application"?

tydra-wang avatar Feb 08 '23 11:02 tydra-wang

What do you mean by "Console application"?

https://support.apple.com/en-euro/guide/console/welcome/mac

cfergeau avatar Feb 08 '23 12:02 cfergeau

no errors from console.

tydra-wang avatar Feb 09 '23 01:02 tydra-wang

Same issue here

mehran-prs avatar Feb 20 '23 21:02 mehran-prs

Can you describe more related to your network connection, such as VPN or tools like snitch?

gbraad avatar Feb 21 '23 02:02 gbraad

Hi @gbraad I don't have any VPN connection (I have FortiClient on my device, but it's not running) and stopped docker. No other tool related to network. I tested it with crc v2.14 and crc v2.7 with okd preset. Got the same result:

log for crc start --log-level=debug:

DEBU CRC version: 2.7.1+8b30b973
DEBU OpenShift version: 4.11.0-0.okd-2022-07-29-154152
DEBU Podman version: 4.1.1
DEBU Running 'crc start'
DEBU Total memory of system is 17179869184 bytes
WARN A new version (2.14.0) has been published on https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/2.14.0/crc-macos-installer.pkg
DEBU Checking file: /Users/mehran/.crc/machines/crc/.crc-exist
INFO Checking if running as non-root
INFO Checking if crc-admin-helper executable is cached
INFO Checking for obsolete admin-helper executable
DEBU Checking if an older admin-helper executable is installed
DEBU No older admin-helper executable found
INFO Checking if running on a supported CPU architecture
DEBU GOARCH is amd64 GOOS is darwin
INFO Checking minimum RAM requirements
DEBU Total memory of system is 17179869184 bytes
INFO Checking if crc executable symlink exists
INFO Checking if running emulated on a M1 CPU
INFO Checking if vfkit is installed
INFO Checking if old launchd config for tray and/or daemon exists
INFO Checking if crc daemon plist file is present and loaded
DEBU Running 'bash -c launchctl list | grep com.redhat.crc.daemon | awk '{print $1}''
DEBU Checking file: /Users/mehran/.crc/machines/crc/.crc-exist
INFO Loading bundle: crc_okd_vfkit_4.11.0-0.okd-2022-07-29-154152_amd64...
INFO Creating CRC VM for okd 4.11.0-0.okd-2022-07-29-154152...
DEBU Running pre-create checks...
DEBU Creating machine...
DEBU /Users/mehran/.crc/machines/crc/crc.img is already 33285996544 bytes
INFO Generating new SSH key pair...
INFO Generating new password for the kubeadmin user
DEBU Created /Users/mehran/.crc/machines/crc/.crc-exist
DEBU Machine successfully created
DEBU Checking file: /Users/mehran/.crc/machines/crc/.crc-exist
INFO Starting CRC VM for okd 4.11.0-0.okd-2022-07-29-154152...
DEBU Updating CRC VM configuration
DEBU Running 'sw_vers -productVersion'
DEBU Running /Applications/Red Hat OpenShift Local.app/Contents/Resources/vfkit --cpus 4 --memory 9216 --kernel /Users/mehran/.crc/cache/crc_okd_vfkit_4.11.0-0.okd-2022-07-29-154152_amd64/vmlinuz-5.18.13-200.fc36.x86_64 --initrd /Users/mehran/.crc/cache/crc_okd_vfkit_4.11.0-0.okd-2022-07-29-154152_amd64/initramfs-5.18.13-200.fc36.x86_64.img --kernel-cmdline console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/fedora-coreos-14afb58b562af4289ab93651371ec879f44b2e9455dee30bc3602ebf4a14a24b/vmlinuz-5.18.13-200.fc36.x86_64 mitigations=auto,nosmt console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu ostree=/ostree/boot.0/fedora-coreos/14afb58b562af4289ab93651371ec879f44b2e9455dee30bc3602ebf4a14a24b/0 root=UUID=18d22710-9eec-468f-b9d6-7ee47a64c4e7 rw rootflags=prjquota boot=UUID=0c957941-0b75-4539-89dc-3db2423e0a03 mitigations=off intel_pstate=disable --device virtio-serial,logFilePath=/Users/mehran/.crc/machines/crc/vfkit.log --device virtio-rng --device virtio-blk,path=/Users/mehran/.crc/machines/crc/crc.img --device virtio-vsock,port=1024,socketURL=/Users/mehran/.crc/tap.sock
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="&{4 9216 /Users/mehran/.crc/cache/crc_okd_vfkit_4.11.0-0.okd-2022-07-29-154152_amd64/vmlinuz-5.18.13-200.fc36.x86_64 console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/fedora-coreos-14afb58b562af4289ab93651371ec879f44b2e9455dee30bc3602ebf4a14a24b/vmlinuz-5.18.13-200.fc36.x86_64 mitigations=auto,nosmt console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu ostree=/ostree/boot.0/fedora-coreos/14afb58b562af4289ab93651371ec879f44b2e9455dee30bc3602ebf4a14a24b/0 root=UUID=18d22710-9eec-468f-b9d6-7ee47a64c4e7 rw rootflags=prjquota boot=UUID=0c957941-0b75-4539-89dc-3db2423e0a03 mitigations=off intel_pstate=disable /Users/mehran/.crc/cache/crc_okd_vfkit_4.11.0-0.okd-2022-07-29-154152_amd64/initramfs-5.18.13-200.fc36.x86_64.img [virtio-serial,logFilePath=/Users/mehran/.crc/machines/crc/vfkit.log virtio-rng virtio-blk,path=/Users/mehran/.crc/machines/crc/crc.img virtio-vsock,port=1024,socketURL=/Users/mehran/.crc/tap.sock]}"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="boot parameters:"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="\tkernel: /Users/mehran/.crc/cache/crc_okd_vfkit_4.11.0-0.okd-2022-07-29-154152_amd64/vmlinuz-5.18.13-200.fc36.x86_64"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="\tkernel command line:console=hvc0 BOOT_IMAGE=(hd0,gpt3)/ostree/fedora-coreos-14afb58b562af4289ab93651371ec879f44b2e9455dee30bc3602ebf4a14a24b/vmlinuz-5.18.13-200.fc36.x86_64 mitigations=auto,nosmt console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu ostree=/ostree/boot.0/fedora-coreos/14afb58b562af4289ab93651371ec879f44b2e9455dee30bc3602ebf4a14a24b/0 root=UUID=18d22710-9eec-468f-b9d6-7ee47a64c4e7 rw rootflags=prjquota boot=UUID=0c957941-0b75-4539-89dc-3db2423e0a03 mitigations=off intel_pstate=disable"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="\tinitrd: /Users/mehran/.crc/cache/crc_okd_vfkit_4.11.0-0.okd-2022-07-29-154152_amd64/initramfs-5.18.13-200.fc36.x86_64.img"
DEBU time="2023-02-21T10:33:29+03:30" level=info
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="virtual machine parameters:"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="\tvCPUs: 4"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="\tmemory: 9216 MiB"
DEBU time="2023-02-21T10:33:29+03:30" level=info
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="Adding virtio-serial device (logFile: /Users/mehran/.crc/machines/crc/vfkit.log)"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="Adding virtio-rng device"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="Adding virtio-blk device (imagePath: /Users/mehran/.crc/machines/crc/crc.img)"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="Adding virtio-vsock device"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="virtual machine is running"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="Exposing vsock port 1024 on /Users/mehran/.crc/tap.sock"
DEBU time="2023-02-21T10:33:29+03:30" level=info msg="waiting for VM to stop"
DEBU Waiting for machine to be running, this may take a few minutes...
DEBU retry loop: attempt 0
DEBU Machine is up and running!
INFO CRC instance is running with IP 127.0.0.1
DEBU Waiting until ssh is available
DEBU retry loop: attempt 0
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/mehran/.crc/machines/crc/id_ecdsa /Users/mehran/.crc/cache/crc_okd_vfkit_4.11.0-0.okd-2022-07-29-154152_amd64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:54723->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:54723->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 1
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/mehran/.crc/machines/crc/id_ecdsa /Users/mehran/.crc/cache/crc_okd_vfkit_4.11.0-0.okd-2022-07-29-154152_amd64/id_ecdsa_crc]
DEBU SSH command results: err: ssh: handshake failed: read tcp 127.0.0.1:54724->127.0.0.1:2222: read: connection reset by peer, output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:54724->127.0.0.1:2222: read: connection reset by peer
 - sleeping 1s
DEBU retry loop: attempt 2
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [/Users/mehran/.crc/machines/crc/id_ecdsa /Users/mehran/.crc/cache/crc_okd_vfkit_4.11.0-0.okd-2022-07-29-154152_amd64/id_ecdsa_crc]

mehran-prs avatar Feb 21 '23 07:02 mehran-prs

Maybe help: I can not open any connection to the server:

➜  ~ telnet 127.0.0.1 2222
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

mehran-prs avatar Feb 21 '23 08:02 mehran-prs