Skip to content

Startup failure: Error getting config for native Go SSH: open The system cannot find the file specified. #784

@east4ming

Description

@east4ming

General information

  • OS: Windows
  • Hypervisor: Hyper-V
  • Did you run crc setup before starting it (Yes)?

CRC version

crc version: 1.0.0+575079b
OpenShift version: 4.2.0 (embedded in binary)

CRC status

ERRO error: CreateFile C:\Users\8000619804\.crc\machines\crc\kubeconfig: The system cannot find the file specified.
 - exit status 1

CRC config

Host Operating System

Host Name:                 HQIT3RD014D
OS Name:                   Microsoft Windows 10 企业版
OS Version:                10.0.18362 N/A Build 18362
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          Windows 用户
Registered Organization:
Product ID:                00329-10180-00000-AA912
Original Install Date:     2019/5/23 星期四, 21:59:14
System Boot Time:          2019/11/2 星期六, 18:27:11
System Manufacturer:       Dell Inc.
System Model:              ChengMing 3980
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 158 Stepping 10 GenuineIntel ~3000 Mhz
BIOS Version:              Dell Inc. 2.13.0, 2019/5/29 星期三
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume2
System Locale:             zh-cn;Chinese (China)
Input Locale:              zh-cn;Chinese (China)
Time Zone:                 (UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi
Total Physical Memory:     16,204 MB
Available Physical Memory: 9,369 MB
Virtual Memory: Max Size:  23,884 MB
Virtual Memory: Available: 14,873 MB
Virtual Memory: In Use:    9,011 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    **********
Logon Server:              \\PMANKYDC
Hotfix(s):                 6 Hotfix(s) Installed.
                           [01]: KB4515871
                           [02]: KB4497727
                           [03]: KB4503308
                           [04]: KB4508433
                           [05]: KB4516115
                           [06]: KB4512508
Network Card(s):           5 NIC(s) Installed.
                           [01]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (外部虚拟交换机)
                                 DHCP Enabled:    Yes
                                 DHCP Server:     10.1.98.41
                                 IP address(es)
                                 [01]: 10.99.188.73
                                 [02]: fe80::1145:25c7:abe6:10a7
                           [02]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (Default Switch)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 172.18.20.49
                                 [02]: fe80::8ca5:85b1:ec83:40d1
                           [03]: Realtek PCIe GbE Family Controller
                                 Connection Name: 以太网
                                 DHCP Enabled:    Yes
                                 DHCP Server:     N/A
                                 IP address(es)
                           [04]: Realtek RTL8188EU Wireless LAN 802.11n USB 2.0 Network Adapter
                                 Connection Name: WLAN
                                 Status:          Media disconnected
                           [05]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (DockerNAT)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 10.0.75.1
                                 [02]: fe80::8849:2f2c:e19a:7785
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Steps to reproduce

  1. crc setup
  2. crc start

Expected

can start

Actual

INFO Checking if running as normal user                                                                                                                                             INFO Checking if oc binary is cached
INFO Check Windows 10 release
INFO Hyper-V installed and operational
INFO Is user a member of the Hyper-V Administrators group
INFO Does the Hyper-V virtual switch exist
? Image pull secret [? for help] 
...
INFO Loading bundle: crc_hyperv_4.2.0.crcbundle ...
INFO Creating CodeReady Containers VM for OpenShift 4.2.0...
INFO Verifying validity of the cluster certificates ...
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO unknown error occurred
ERRO Error determining host IP: Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred
Temporary Error: unknown error occurred

Logs

DEBU Unable to find out if a new version is available: Get https://mirror.openshift.com/pub/openshift-v4/clients/crc/latest/release-info.json: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
INFO Checking if running as normal user
INFO Checking if oc binary is cached
DEBU oc binary already cached
INFO Check Windows 10 release
INFO Hyper-V installed and operational
INFO Is user a member of the Hyper-V Administrators group
INFO Does the Hyper-V virtual switch exist
Checking file: C:\Users\8000619804\.crc\machines\crc\.crc-exist
Found binary path at D:\Program Files\crc\crc-windows-1.0.0-amd64\crc.exe
Launching plugin server for driver hyperv
Plugin server listening at address 127.0.0.1:54866
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(crc) Calling .GetBundleName
(crc) Calling .DriverName
(crc) Calling .GetState
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Off
(crc) DBG |
(crc) DBG | [stderr =====>] :
INFO Starting CodeReady Containers VM for OpenShift 4.2.0...
(crc) Calling .Start
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\Start-VM crc
(crc) DBG | [stdout =====>] :
(crc) DBG | [stderr =====>] :
(crc) Waiting for host to start...
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] :
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] :
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] :
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] :
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetConfigRaw
(crc) Calling .GetState
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
Found binary path at D:\Program Files\crc\crc-windows-1.0.0-amd64\crc.exe
Launching plugin server for driver hyperv
Plugin server listening at address 127.0.0.1:54883
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
DEBU Waiting until ssh is available
(crc) Calling .GetSSHHostname
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
<nil>
DEBU error: Temporary Error: Error getting config for native Go SSH: open C:\Users\8000619804\.crc\machines\crc\id_rsa: The system cannot find the file specified. - sleeping 1s
DEBU retry loop 1
(crc) Calling .GetSSHHostname
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
<nil>
DEBU error: Temporary Error: Error getting config for native Go SSH: open C:\Users\8000619804\.crc\machines\crc\id_rsa: The system cannot find the file specified. - sleeping 1s
DEBU retry loop 2
(crc) Calling .GetSSHHostname
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
<nil>
DEBU error: Temporary Error: Error getting config for native Go SSH: open C:\Users\8000619804\.crc\machines\crc\id_rsa: The system cannot find the file specified. - sleeping 1s
DEBU retry loop 3
(crc) Calling .GetSSHHostname
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
<nil>
DEBU error: Temporary Error: Error getting config for native Go SSH: open C:\Users\8000619804\.crc\machines\crc\id_rsa: The system cannot find the file specified. - sleeping 1s
DEBU retry loop 4
(crc) Calling .GetSSHHostname
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
<nil>
DEBU error: Temporary Error: Error getting config for native Go SSH: open C:\Users\8000619804\.crc\machines\crc\id_rsa: The system cannot find the file specified. - sleeping 1s
DEBU retry loop 5
(crc) Calling .GetSSHHostname
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
<nil>
DEBU error: Temporary Error: Error getting config for native Go SSH: open C:\Users\8000619804\.crc\machines\crc\id_rsa: The system cannot find the file specified. - sleeping 1s
DEBU retry loop 6
(crc) Calling .GetSSHHostname
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
<nil>
DEBU error: Temporary Error: Error getting config for native Go SSH: open C:\Users\8000619804\.crc\machines\crc\id_rsa: The system cannot find the file specified. - sleeping 1s
DEBU retry loop 7
(crc) Calling .GetSSHHostname
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
<nil>
DEBU error: Temporary Error: Error getting config for native Go SSH: open C:\Users\8000619804\.crc\machines\crc\id_rsa: The system cannot find the file specified. - sleeping 1s
DEBU retry loop 8
(crc) Calling .GetSSHHostname
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
<nil>
DEBU error: Temporary Error: Error getting config for native Go SSH: open C:\Users\8000619804\.crc\machines\crc\id_rsa: The system cannot find the file specified. - sleeping 1s
DEBU retry loop 9
(crc) Calling .GetSSHHostname
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
(crc) DBG | [stdout =====>] : Running
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) DBG | [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
(crc) DBG | [stdout =====>] : fe80::c729:752b:264e:bd56
(crc) DBG |
(crc) DBG | [stderr =====>] :
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: native
<nil>
DEBU error: Temporary Error: Error getting config for native Go SSH: open C:\Users\8000619804\.crc\machines\crc\id_rsa: The system cannot find the file specified. - sleeping 1s
ERRO Failed to connect to the CRC VM with SSH
Making call to close driver server
(crc) Calling .Close
(crc) DBG | Closing plugin on server side
Successfully made call to close driver server
Making call to close connection to plugin binary
Making call to close driver server
(crc) Calling .Close
(crc) DBG | Closing plugin on server side
Successfully made call to close driver server
Making call to close connection to plugin binary

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't workingos/windowspriority/minorstatus/need more informationIssue needs more information before it will be looked atstatus/staleIssue went stale; did not receive attention or no reply from the OP

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions