crc-org / crc

CRC is a tool to help you run containers. It manages a local OpenShift 4.x cluster, Microshift or a Podman VM optimized for testing and development purposes
https://crc.dev
Apache License 2.0
1.24k stars 234 forks source link

[BUG]Failed to connect to the CRC VM with SSH on Win10 Enterprise with HyperV #2194

Closed Hariharasuthan99 closed 3 years ago

Hariharasuthan99 commented 3 years ago

OS: Windows Hypervisor: Hyper-V Did you run crc setup before starting it ? Yes Running CRC on: Laptop

> crc version CodeReady Containers version: 1.24.0+5f06e84b OpenShift version: 4.7.2 (embedded in executable)

# Put crc status --log-level debug output here CRC VM: Running OpenShift: Unreachable (v4.7.2) Disk Usage: 0B of 0B (Inside the CRC VM) Cache Usage: 14.62GB Cache Directory: C:\Users\hraajeshwar\.crc\cache

# Put crc config view output here consent-telemetry : no

HOST OS INFO OS Name Microsoft Windows 10 Enterprise Version 10.0.18363 Build 18363

Steps to reproduce

  1. Follow the first time setup steps from this guide
  2. Create a Virtual Switch called crc in Hyper-V Manager
  3. crc setup followed by crc start --log-level debug

Expected Openshift Cluster to start

Actual

Failed to connect to the CRC VM with SSH -- host might be unreachable: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n (x98)`

Logs

crc start --log-level debug

DEBU CodeReady Containers version: 1.24.0+5f06e84b
DEBU OpenShift version: 4.7.2 (embedded in executable)
DEBU Running 'crc start'
DEBU Total memory of system is 16954589184 bytes
DEBU No new version available. The latest version is 1.24.0
INFO Checking if podman remote executable is cached
DEBU Currently podman remote is not supported
INFO Checking if admin-helper executable is cached
DEBU Running 'C:\Users\hraajeshwar\.crc\bin\admin-helper-windows.exe --version'
DEBU Found admin-helper-windows.exe version 0.0.3
DEBU admin-helper executable already cached
INFO Checking minimum RAM requirements
DEBU Total memory of system is 16954589184 bytes
INFO Checking if running in a shell with administrator rights                                                                                                                                                                                INFO Checking Windows 10 release                                                                                                                                                                                                             INFO Checking Windows edition                                                                                                                                                                                                                DEBU Running on Windows Enterprise edition                                                                                                                                                                                                   INFO Checking if Hyper-V is installed and operational                                                                                                                                                                                        INFO Checking if user is a member of the Hyper-V Administrators group
INFO Checking if Hyper-V service is enabled
INFO Checking if the Hyper-V virtual switch exist
INFO Found Virtual Switch to use: crc
DEBU Checking file: C:\Users\hraajeshwar\.crc\machines\crc\.crc-exist
DEBU Cannot load secret from configuration: empty path
DEBU Using secret from keyring
DEBU Copying 'C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\oc.exe' to 'C:\Users\hraajeshwar\.crc\bin\oc\oc.exe'
INFO Loading bundle: crc_hyperv_4.7.2.crcbundle ...
INFO Creating CodeReady Containers VM for OpenShift 4.7.2...
DEBU Running pre-create checks...
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive @(Get-Module -ListAvailable hyper-v).Name | Get-Unique
                   ] : Hyper-V
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive @([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(([System.Security.Principal.SecurityIdentifier]::new("S-1-5-32-578")))
                       True
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive [Console]::OutputEncoding = [Text.Encoding]::UTF8; (Hyper-V\Get-VMSwitch).Name
DEBU [stdout =====>] : Default Switch

DEBU [stderr =====>] :
DEBU Creating machine...
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive [Console]::OutputEncoding = [Text.Encoding]::UTF8; (Hyper-V\Get-VMSwitch).Name
DEBU [stdout =====>] : Default Switch

DEBU [stderr =====>] :
DEBU Using switch "crc"
DEBU Creating VM...
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\New-VM crc -Path 'C:\Users\hraajeshwar\.crc\machines\crc' -MemoryStartupBytes 9216MB -SwitchName 'crc'
DEBU [stdout =====>] :
Name State CPUUsage(%) MemoryAssigned(M) Uptime   Status             Version
---- ----- ----------- ----------------- ------   ------             -------
crc  Off   0           0                 00:00:00 Operating normally 9.0

DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\Set-VMMemory -VMName crc -DynamicMemoryEnabled $false
DEBU [stdout =====>] :
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\Set-VMProcessor crc -Count 4
DEBU [stdout =====>] :
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\Add-VMHardDiskDrive -VMName crc -Path 'C:\Users\hraajeshwar\.crc\machines\crc\crc.vhdx'
DEBU [stdout =====>] :
DEBU [stderr =====>] :
DEBU Starting VM...
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive Hyper-V\Start-VM crc
DEBU [stdout =====>] :
DEBU [stderr =====>] :
DEBU Waiting for host to start...
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
                   ] : Running
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
DEBU [stdout =====>] :
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
                   ] : Running
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
DEBU [stdout =====>] :
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
                   ] : Running
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
DEBU [stdout =====>] :
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
                   ] : Running
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
DEBU [stdout =====>] :
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
                   ] : Running
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
DEBU [stdout =====>] :
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
                   ] : Running
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
DEBU [stdout =====>] :
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
                   ] : Running
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
 EBU [stdout =====>] : fe80::9272:db55:f018:e94c
DEBU [stderr =====>] :
DEBU Waiting for machine to be running, this may take a few minutes...
DEBU retry loop: attempt 0
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
                   ] : Running
DEBU [stderr =====>] :
DEBU Machine is up and running!
DEBU Machine successfully created
DEBU Created C:\Users\hraajeshwar\.crc\machines\crc\.crc-exist
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
                   ] : Running
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Hyper-V\Get-VM crc ).state
                   ] : Running
DEBU [stderr =====>] :
DEBU [executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Hyper-V\Get-VM crc ).networkadapters[0]).ipaddresses[0]
             =====>] : 192.168.0.100
DEBU [stderr =====>] :
DEBU Waiting until ssh is available
DEBU retry loop: attempt 0
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 1
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 2
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 3
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 4
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 5
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 6
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 7
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 8
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 9
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 10
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 11
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 12
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 13
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 14
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 15
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 16
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 17
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 18
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 19
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 20
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 21
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 22
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 23
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 24
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 25
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 26
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 27
.
.
.
DEBU retry loop: attempt 95
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 96
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU retry loop: attempt 97
DEBU Running SSH command: exit 0
DEBU Using ssh private keys: [C:\Users\hraajeshwar\.crc\cache\crc_hyperv_4.7.2\id_ecdsa_crc]
DEBU SSH command results: err: dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it., output:
DEBU error: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n - sleeping 1s
DEBU RetryAfter timeout after 98 tries
Failed to connect to the CRC VM with SSH -- host might be unreachable: Temporary error: ssh command error:
command : exit 0
err     : dial tcp 192.168.0.100:22: connectex: No connection could be made because the target machine actively refused it.\n (x98)`
gbraad commented 3 years ago

Are you using a VPN?

Consider using: https://github.com/code-ready/crc/wiki/VPN-support--with-an--userland-network-stack

Hariharasuthan99 commented 3 years ago

I didn't use the VPN , but I am behind a corporate firewall. I used the vsock network mode and it worked and the cluster is up now, I tried with VPN off now. I will try this again with VPN turned on.

gbraad commented 3 years ago

If issues are resolved, please close the issue...

vsock will replace the current switched networking mode. Feedback that this works is much appreciated. We are still working to resolve some of the issues, like #2193 to expose routes automagically.