Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 #3410

Open
ahaffar opened this issue Nov 9, 2022 · 49 comments
Labels
kind/bug Something isn't working os/macos status/need more information Issue needs more information before it will be looked at

Comments

@ahaffar
Copy link

ahaffar commented Nov 9, 2022

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 ahaffar added kind/bug Something isn't working status/need triage labels Nov 9, 2022
@ahaffar ahaffar changed the title [BUG] [BUG] crcis not starting with error 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: Nov 9, 2022
@praveenkumar
Copy link
Member

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

@praveenkumar praveenkumar changed the title [BUG] crcis not starting with error 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: [BUG] crc is not starting with error 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: Nov 10, 2022
@ahaffar
Copy link
Author

ahaffar commented Nov 10, 2022

@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.

@praveenkumar
Copy link
Member

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?

@ahaffar
Copy link
Author

ahaffar commented Nov 10, 2022

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 ~ %

@cfergeau
Copy link
Contributor

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
Copy link
Contributor

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

@ahaffar
Copy link
Author

ahaffar commented Nov 11, 2022

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 ~ % 

@AndrienkoAleksandr
Copy link

AndrienkoAleksandr commented Nov 12, 2022

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
Copy link

$ crc config view

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

@ahaffar
Copy link
Author

ahaffar commented Nov 14, 2022

@AndrienkoAleksandr do you have M1 chip arm64 ?

@AndrienkoAleksandr
Copy link

AndrienkoAleksandr commented Nov 14, 2022

@AndrienkoAleksandr do you have M1 chip arm64 ?

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

@AndrienkoAleksandr
Copy link

AndrienkoAleksandr commented Nov 14, 2022

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.

@wojtekzyla
Copy link

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.

@cfergeau
Copy link
Contributor

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.

@tydra-wang
Copy link

still get this error on mac m1.

@alex-y-kozlov
Copy link

alex-y-kozlov commented Feb 6, 2023

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

@cfergeau
Copy link
Contributor

cfergeau commented Feb 7, 2023

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?

@tydra-wang
Copy link

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

@cfergeau
Copy link
Contributor

cfergeau commented Feb 7, 2023

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?

@tydra-wang
Copy link

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

@cfergeau
Copy link
Contributor

cfergeau commented Feb 7, 2023

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?

@tydra-wang
Copy link

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.

@cfergeau
Copy link
Contributor

cfergeau commented Feb 8, 2023

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?

@tydra-wang
Copy link

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

What do you mean by "Console application"?

@cfergeau
Copy link
Contributor

cfergeau commented Feb 8, 2023

What do you mean by "Console application"?

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

@tydra-wang
Copy link

no errors from console.

@mehran-prs
Copy link

Same issue here

@gbraad
Copy link
Contributor

gbraad commented Feb 21, 2023

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

@gbraad gbraad changed the title [BUG] crc is not starting with error 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: [BUG] unable to connect t is not starting with error 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: Feb 21, 2023
@gbraad gbraad changed the title [BUG] unable to connect t is not starting with error 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: [BUG] unable to establish ssh connection - command results: err: ssh: handshake failed: read tcp 127.0.0.1:62297->127.0.0.1:2222: read: connection reset by peer Feb 21, 2023
@gbraad gbraad changed the title [BUG] unable to establish ssh connection - command results: err: ssh: handshake failed: read tcp 127.0.0.1:62297->127.0.0.1:2222: read: connection reset by peer [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 Feb 21, 2023
@gbraad gbraad added os/macos status/need more information Issue needs more information before it will be looked at and removed status/need triage labels Feb 21, 2023
@mehran-prs
Copy link

mehran-prs commented Feb 21, 2023

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
Copy link

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.

@gbraad
Copy link
Contributor

gbraad commented Feb 21, 2023

Something blocks connectivity. This is a corporate image on your system? Can you access a small website server on localhost like with Python?

@mehran-prs
Copy link

mehran-prs commented Feb 21, 2023

This is a corporate image on your system?

No

Can you access a small website server on localhost like with Python?

Yes, I can, I have tested it with serve -l 1000 and then opened it on my browser

As the virtual environment closes the connection, I think maybe the virtual environment has a problem!

@cfergeau
Copy link
Contributor

I'd start with crc cleanup + double checking no crc process is running before running crc setup && crc start.

@na0x2c6
Copy link

na0x2c6 commented Mar 10, 2023

@cfergeau
Thank you for the great development.

I am also encountering this issue.

I'd start with crc cleanup + double checking no crc process is running before running crc setup && crc start.

I've checked and run it, and the issue goes away temporarily, but soon the same issue occurs.

In my case, It is occurring when creating an image with a Dockerfile with a high build load via the docker compose command, it fails mid-build and once the error occurs, the docker or podman command response also hangs.

Please let me know if you have any information that I should provide. I like this tool and would be happy to provide more information.


crc version

CRC version: 2.15.0+72256c3cb00a
OpenShift version: 4.12.5
Podman version: 4.3.1

crc status

CRC VM:          Stopped
Podman:          4.3.1
RAM Usage:       0B of 0B
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     34.46GB
Cache Directory: /Users/nao/.crc/cache

crc config view

- consent-telemetry                     : yes
- cpus                                  : 4
- disk-size                             : 100
- memory                                : 8192
- preset                                : podman

sw_vers

ProductName:		macOS
ProductVersion:		13.2.1
BuildVersion:		22D68

@praveenkumar
Copy link
Member

In my case, It is occurring when creating an image with a Dockerfile with a high build load via the docker compose command, it fails mid-build and once the error occurs, the docker or podman command response also hangs.

Can you share the dockerfile and steps how your run those which result to this failure? It will help use to reproduce and find out exact issue.

@na0x2c6
Copy link

na0x2c6 commented Mar 12, 2023

@praveenkumar
Thanks.

Although I cannot disclose all of the files, I was able to cause similar behavior with the following configuration.

The mbstring build seems to be under high load and almost always fails during this build.
And the response from the virtual machine often hangs when I run the build in parallel with docker compose as shown below.

$ crc cleanup
$ crc setup
$ crc start
$ eval $(crc podman-env)
$ env | grep DOCKER
DOCKER_BUILDKIT=0
DOCKER_HOST=unix:///Users/nao/.crc/machines/crc/docker.sock
$ tree
.
├── Dockerfile
└── compose.yaml

0 directories, 2 files
$ docker compose build
# ... after a while of build progress, the build process looks like it is in error or hangs
Dockerfile
FROM --platform=linux/amd64 php:8.0-fpm

ARG APP

RUN echo $ARG > image-name

RUN apt-get update && apt-get install -y libicu-dev libonig-dev

RUN docker-php-ext-install mbstring
compose.yaml
services:
  web-1:
    build:
      context: .
      args:
        APP: web-1
  web-2:
    build:
      context: .
      args:
        APP: web-2
  web-3:
    build:
      context: .
      args:
        APP: web-3
  web-4:
    build:
      context: .
      args:
        APP: web-4
  web-5:
    build:
      context: .
      args:
        APP: web-5
  web-6:
    build:
      context: .
      args:
        APP: web-6
  web-7:
    build:
      context: .
      args:
        APP: web-7
  web-8:
    build:
      context: .
      args:
        APP: web-8
  web-9:
    build:
      context: .
      args:
        APP: web-9
  web-10:
    build:
      context: .
      args:
        APP: web-10

Once hung, commands such as docker ps in other terminals will not return a response.

Sometimes executing crc stop; crc start resolves the problem, but sometimes it does not.
Also, even if the problem seems to be resolved, the port allocation (of other containers that were running successfully) may not be properly released and cannot be reassigned, in which case it is necessary to start over from crc cleanup.

Builds also rarely work, so I have wondered if the behavior depends on the CPU and memory utilization of the host, but I have not found a way to reproduce the event reliably.

@praveenkumar
Copy link
Member

@na0x2c6 Is your use case around crc is just consuming it for podman/docker client or you also want to use openshift cluster? If earlier then can you try crc with podman preset which require way less resource and provide you the podman socket which you can connect to and experiment with it.

$ crc delete
$ crc cleanup
$ crc config set preset podman
$ crc setup
$ crc start

@na0x2c6
Copy link

na0x2c6 commented Mar 13, 2023

@praveenkumar
Thank you.
I am using podman preset. The issues I have shared so far are seen in podman preset.

$ crc config get preset
preset : podman

@na0x2c6
Copy link

na0x2c6 commented Mar 13, 2023

Sorry. Is this issue for the openshift preset in the first place? If it should be a separate issue, I will do so.

@na0x2c6
Copy link

na0x2c6 commented Mar 30, 2023

@praveenkumar @cfergeau

When experiencing a hang during ssh connection, I noticed that the kernel panic log was outputted upon checking the vfkit.log. It seems to be similar to the issue in #3349.

I share the log below.

~/.crc/machines/crc/vfkit.log
Ignition: ran on 2023/01/19 06:19:54 UTC (at least 3 boots ago)
Ignition: user-provided config was applied
Ignition: wrote ssh authorized keys file for user: core
Activate the web console with: systemctl enable --now cockpit.socket

podman login: [  110.671867] Unable to handle kernel NULL pointer dereference at virtual address 000000000000000c
[  110.672274] Mem abort info:
[  110.672301]   ESR = 0x96000004
[  110.672347]   EC = 0x25: DABT (current EL), IL = 32 bits
[  110.672399]   SET = 0, FnV = 0
[  110.672435]   EA = 0, S1PTW = 0
[  110.672470]   FSC = 0x04: level 0 translation fault
[  110.672523] Data abort info:
[  110.672554]   ISV = 0, ISS = 0x00000004
[  110.672778]   CM = 0, WnR = 0
[  110.672819] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000107319000
[  110.672880] [000000000000000c] pgd=0000000000000000, p4d=0000000000000000
[  110.672960] Internal error: Oops: 96000004 [#1] SMP
[  110.673028] Modules linked in: tun overlay rfkill binfmt_misc vmw_vsock_virtio_transport vmw_vsock_virtio_transport_common vsock xfs crct10dif_ce ghash_ce sha3_ce virtiofs gpio_keys sha512_ce sha512_arm64 virtio_console virtio_blk scsi_dh_rdac scsi_dh_emc scsi_dh_alua ip6_tables ip_tables dm_multipath fuse
[  110.675225] CPU: 1 PID: 21 Comm: ksoftirqd/1 Tainted: G        W         5.18.19-200.fc36.aarch64 #1
[  110.675408] pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  110.675443] pc : sk_filter_uncharge+0x1c/0xb4
[  110.675493] lr : __sk_destruct+0x48/0x1e0
[  110.675524] sp : ffff800008123be0
[  110.675551] x29: ffff800008123be0 x28: ffffa58006376ac0 x27: ffffa58003f51cb0
[  110.675612] x26: ffff5bcbaef71fb8 x25: 0000000000000000 x24: 000000000000000a
[  110.678000] x23: 0000000000000006 x22: ffff800008123d08 x21: 0000000000000101
[  110.678050] x20: ffff5bca48daeaf0 x19: ffff5bca48dae800 x18: 0000000000000000
[  110.678154] x17: 0000000000000000 x16: ffffa5800478f810 x15: 0000000000000000
[  110.678199] x14: 0000000000000025 x13: 0000000000000000 x12: ffff5bca41006150
[  110.678243] x11: 0000000000000040 x10: ffffa580062874f8 x9 : ffffa58004b6cf28
[  110.678286] x8 : 0000000000000004 x7 : 0000000000000002 x6 : 40392046ca5bffff
[  110.678332] x5 : fffffd6f291880e0 x4 : fffffd6f291880e0 x3 : 0000000000000000
[  110.678378] x2 : 0000000000000000 x1 : ffff5bca46203d80 x0 : ffff5bca48dae800
[  110.678432] Call trace:
[  110.678447]  sk_filter_uncharge+0x1c/0xb4
[  110.678471]  __sk_destruct+0x48/0x1e0
[  110.678497]  sk_destruct+0x88/0xa4
[  110.678523]  __sk_free+0x7c/0x12c
[  110.678547]  sk_free+0x64/0x90
[  110.678569]  deferred_put_nlk_sk+0x7c/0xf4
[  110.678605]  rcu_do_batch+0x15c/0x3d4
[  110.678634]  rcu_core+0x26c/0x340
[  110.678659]  rcu_core_si+0x1c/0x30
[  110.678683]  __do_softirq+0x170/0x418
[  110.678707]  run_ksoftirqd+0x64/0x80
[  110.678743]  smpboot_thread_fn+0x1e8/0x220
[  110.678767]  kthread+0xf0/0x100
[  110.678790]  ret_from_fork+0x10/0x20
[  110.678815] Code: d503233f a9bf7bfd 910003fd f9400c22 (b9400c42)
[  110.678852] ---[ end trace 0000000000000000 ]---
[  110.679058] Kernel panic - not syncing: Oops: Fatal exception in interrupt
[  110.679103] SMP: stopping secondary CPUs
[  110.679166] Kernel Offset: 0x257ffbe00000 from 0xffff800008000000
[  110.679210] PHYS_OFFSET: 0xffffa436c0000000
[  110.679239] CPU features: 0x000,0000140b,59a4fdc8
[  110.679277] Memory Limit: none
[  110.679324] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]---

@praveenkumar
Copy link
Member

Is this issue for the openshift preset in the first place? If it should be a separate issue, I will do so.

@na0x2c6 I think it is the issue with heavy workload to be run on the cluster ( openshift preset) or podman (podman preset) but for @cgruver it is fixed with latest version. I am wondering if we do need to test the heavy workload (creating parallel builds ..etc.)

@na0x2c6
Copy link

na0x2c6 commented Mar 31, 2023

@praveenkumar
The compose.yaml file is provided as a sample file to be used when you want to ensure complete reproducibility. However, with the latest version of crc (2.15.0) and the latest version of macOS (13.3) on an M2 Mac, it has become inevitable that pulling 10 images simultaneously will always fail (there are 10 services in compose.yaml, and they are pulled concurrently when started, without reaching the build step). The preset is podman. This might be due to the heavy workload on a system with 16GB of memory and 256GB of storage.

I will refrain from commenting further for now, as the following log suggests that this issue may not be directly related to crc. Thank you for your kind assistance.

[  139.129880] kernel BUG at arch/arm64/kernel/traps.c:497!
[  139.129938] Internal error: Oops - BUG: 0 [#3] SMP

@cgruver
Copy link
Contributor

cgruver commented Mar 31, 2023

Yes, this looks very similar to #3349

Admittedly, I don't use the podman preset.

@cgruver
Copy link
Contributor

cgruver commented Mar 31, 2023

@na0x2c6 Try giving crc 12GB of RAM.

If I read this thread correctly, it looks like you have only allocated 8GB to crc. I generally don't use anything less than 12GB when doing heavy workloads.

crc config set memory 12288

@na0x2c6
Copy link

na0x2c6 commented Apr 2, 2023

@cgruver cc: @praveenkumar

Thank you for your comment. Strangely enough, I noticed that the same issue occurs with another M1 Macbook Air (unfortunately with only 8GB Memory) using podman preset. On this machine, it outputs kernel panic logs at random times even without running particularly heavy workloads (though podman can still be used), and for example, yesterday a kernel panic log was generated as soon as I executed the docker compose stop command (it works with crc stop; crc start, but if the bind ports are not released, I need to kill the daemon once with pkill crc).

Kernel panic log when running `docker compose stop`:
[11385.343275] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[11385.345174] Mem abort info:
[11385.345191]   ESR = 0x86000004
[11385.345224]   EC = 0x21: IABT (current EL), IL = 32 bits
[11385.345255]   SET = 0, FnV = 0
[11385.345278]   EA = 0, S1PTW = 0
[11385.345300]   FSC = 0x04: level 0 translation fault
[11385.345331] user pgtable: 4k pages, 48-bit VAs, pgdp=000000010db5f000
[11385.345374] [0000000000000000] pgd=0000000000000000, p4d=0000000000000000
[11385.345432] Internal error: Oops: 86000004 [#1] SMP
[11385.345470] Modules linked in: xt_addrtype xt_nat xt_mark xt_conntrack xt_comment nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables veth bridge stp llc nfnetlink tun overlay rfkill binfmt_misc vmw_vsock_virtio_transport vmw_vsock_virtio_transport_common vsock xfs
[11385.345500] Unable to handle kernel paging request at virtual address fffffffffffffff8
[11385.345683] Mem abort info:
[11385.345698]   ESR = 0x96000004
[11385.345719]   EC = 0x25: DABT (current EL), IL = 32 bits
[11385.345748]   SET = 0, FnV = 0
[11385.345769]   EA = 0, S1PTW = 0
[11385.345790]   FSC = 0x04: level 0 translation fault
[11385.345818] Data abort info:
[11385.345839]   ISV = 0, ISS = 0x00000004
[11385.345860]   CM = 0, WnR = 0
[11385.345880] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000071d0e000
[11385.345919] [fffffffffffffff8] pgd=0000000000000000, p4d=0000000000000000

I found reports of issues that seem to be related to Virtualization.Framework on Apple's Developer Forums:

Running Linux with GUI under Virtualization framework unexpectedly stuck after several minutes
https://developer.apple.com/forums/thread/708063

Although the title of the issue above includes "GUI", looking at other users' replies, it seems that it does not matter whether it is a GUI or not; rather, the issue appears to occur with specific (literally "specific", rather than old or new) kernel versions.

@tomaszstachera
Copy link

tomaszstachera commented Nov 21, 2023

I also had this issue on my Mac (2019 - Intel), but those commands worked:

crc delete
crc cleanup
crc setup --log-level debug
crc start --cpus 6 --memory 16000 --disk-size 64 --log-level debug

I think cleanup was crucial, but in the logs for crc start command I still see connection reset by peer which succeeded after 35th attempt.

@cfergeau
Copy link
Contributor

crc cleanup causes (among other things) the crc daemon to be restarted. Usermode networking is handled by the daemon, maybe this is what fixed your issue.
What kind of workloads were you running in the cluster when the issue happened?

@tomaszstachera
Copy link

Operators needed for Service Mesh, Service Mesh, Kubeflow.

@na0x2c6
Copy link

na0x2c6 commented Jan 30, 2024

I think this issue would be resolved by crc-org/vfkit#76 because I met a similarly issue at Lima and it had fixed by lima-vm/lima@488c95c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working os/macos status/need more information Issue needs more information before it will be looked at
Projects
None yet
Development

No branches or pull requests