Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Unable to re-start CRC on big sur #72

Open
anjannath opened this issue Mar 3, 2021 · 0 comments
Open

Unable to re-start CRC on big sur #72

anjannath opened this issue Mar 3, 2021 · 0 comments

Comments

@anjannath
Copy link
Member

Starting a stopped crc instance fails with the following error:

time="2021-03-02T21:00:16+05:30" level=debug msg="retry loop: attempt 4"
time="2021-03-02T21:00:16+05:30" level=debug msg="Running SSH command: exit 0"
time="2021-03-02T21:00:16+05:30" level=debug msg="Using ssh private keys: [/Users/redhat/.crc/cache/crc_hyperkit_4.7.0/id_ecdsa_crc /Users/redhat/.crc/machines/crc/id_ecdsa]"
time="2021-03-02T21:01:16+05:30" level=debug msg="SSH command results: err: dial tcp 192.168.64.49:22: i/o timeout, output: "
time="2021-03-02T21:01:16+05:30" level=debug msg="error: Temporary error: ssh command error:\ncommand : exit 0\nerr     : dial tcp 192.168.64.49:22: i/o timeout\\n - sleeping 1s"
time="2021-03-02T21:01:17+05:30" level=debug msg="RetryAfter timeout after 5 tries"
time="2021-03-02T21:01:17+05:30" level=debug msg="Making call to close driver server"
time="2021-03-02T21:01:17+05:30" level=debug msg="(crc) Calling .Close"
time="2021-03-02T21:01:17+05:30" level=debug msg="Successfully made call to close driver server"
time="2021-03-02T21:01:17+05:30" level=debug msg="Making call to close connection to plugin binary"
time="2021-03-02T21:01:17+05:30" level=debug msg="(crc) DBG | time=\"2021-03-02T21:01:17+05:30\" level=debug msg=\"Closing plugin on server side\""
time="2021-03-02T21:01:17+05:30" level=error msg="Failed to connect to the CRC VM with SSH -- host might be unreachable: Temporary error: ssh command error:\ncommand : exit 0\nerr     : dial tcp 192.168.64.49:22: i/o timeout\\n (x5)"

running crc status at this state shows:

redhat@blr-crc-macserver ~ % crc status --log-level debug
DEBU CodeReady Containers version: 1.23.0+6acfacb2 
DEBU OpenShift version: 4.7.0 (embedded in executable) 
DEBU Running 'crc status'                         
DEBU Checking file: /Users/redhat/.crc/machines/crc/.crc-exist 
DEBU Checking file: /Users/redhat/.crc/machines/crc/.crc-exist 
DEBU Found binary path at /Users/redhat/.crc/bin/crc-driver-hyperkit 
DEBU Launching plugin server for driver hyperkit  
DEBU Plugin server listening at address 127.0.0.1:54248 
DEBU () Calling .GetVersion                       
DEBU Using API Version 1                          
DEBU () Calling .SetConfigRaw                     
DEBU () Calling .GetMachineName                   
DEBU (crc) Calling .GetState                      
DEBU (crc) DBG | time="2021-03-03T13:35:26+05:30" level=debug msg="exe=/Users/redhat/.crc/bin/crc-driver-hyperkit uid=0" 
DEBU (crc) DBG | time="2021-03-03T13:35:26+05:30" level=debug msg="hyperkit pid from json: 21538" 
DEBU (crc) Calling .GetBundleName                 
DEBU (crc) Calling .GetIP                         
DEBU Running SSH command: df -B1 --output=size,used,target /sysroot | tail -1 
DEBU Using ssh private keys: [/Users/redhat/.crc/machines/crc/id_ecdsa] 

DEBU SSH command results: err: dial tcp 192.168.64.49:22: i/o timeout, output:  
DEBU Making call to close driver server           
DEBU (crc) Calling .Close                         
DEBU Successfully made call to close driver server 
DEBU Making call to close connection to plugin binary 
DEBU (crc) DBG | time="2021-03-03T13:36:26+05:30" level=debug msg="Closing plugin on server side" 
Cannot get root partition usage: ssh command error:
command : df -B1 --output=size,used,target /sysroot | tail -1
err     : dial tcp 192.168.64.49:22: i/o timeout\n

Full logs: https://gist.github.com/adrianriobo/2305dd998d70d2dce47eabe08abcfabf

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant