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.25k stars 236 forks source link

Can't start microshift preset on Win11Pro #3556

Closed jeffmaury closed 1 year ago

jeffmaury commented 1 year ago

General information

CRC version

CRC version: 2.15.1+9b7b2233
OpenShift version: 4.12.5
Podman version: 4.3.1

CRC status

DEBU CRC version: 2.15.1+9b7b2233
DEBU OpenShift version: 4.12.5
DEBU Podman version: 4.3.1
DEBU Running 'crc status'
crc does not seem to be setup correctly, have you run 'crc setup'?

CRC config

- consent-telemetry                     : no
- preset                                : microshift
- pull-secret-file                      : ..\pull-secret.txt

Host Operating System


Nom de l'h鍍e:                              DESKTOP-JEFF
Nom du syst確e d'exploitation:              Microsoft Windows 11 Professionnel
Version du syst確e:                         10.0.22621 N/A build 22621
Fabricant du syst確e d'exploitation:        Microsoft Corporation
Configuration du syst確e d'exploitation:    Station de travail autonome
Type de build du syst確e d'exploitation:    Multiprocessor Free
PropriUaire enregistr・                    Jeff MAURY
Organisation enregistrF:                   
Identificateur de produit:                  00330-80819-37372-AA576
Date d'installation originale:              09/11/2022, 16:39:06
Heure de dNarrage du syst確e:              22/03/2023, 12:19:16
Fabricant du syst確e:                       LENOVO
Mod獲e du syst確e:                          20TJS2F43N
Type du syst確e:                            x64-based PC
Processeur(s):                              1 processeur(s) install・s).
                                            [01]: Intel64 Family 6 Model 165 Stepping 2 GenuineIntel ~2310 MHz
Version du BIOS:                            LENOVO N2VET29W (1.14 ), 15/03/2021
RQertoire Windows:                         C:\Windows
RQertoire syst確e:                         C:\Windows\system32
PSiphSique d'amor㌢ge:                    \Device\HarddiskVolume1
Option rHionale du syst確e:                fr;Fran㌢is (France)
Param閣res rHionaux d'entrF:              fr;Fran㌢is (France)
Fuseau horaire:                             (UTC+01:00) Bruxelles, Copenhague, Madrid, Paris
MNoire physique totale:                    32525 Mo
MNoire physique disponible:                13370 Mo
MNoire virtuelle: taille maximale:        68152 Mo
MNoire virtuelle: disponible:             45691 Mo
MNoire virtuelle: en cours d'utilisation: 22461 Mo
Emplacements des fichiers d'Dhange:        C:\pagefile.sys
Domaine:                                    WORKGROUP
Serveur d'ouverture de session:             \\DESKTOP-JEFF
Correctif(s):                               4 Corrections installFs.
                                            [01]: KB5022497
                                            [02]: KB5012170
                                            [03]: KB5023706
                                            [04]: KB5022948
Carte(s) rTeau:                            4 carte(s) rTeau installF(s).
                                            [01]: Intel(R) Wi-Fi 6 AX201 160MHz
                                                  Nom de la connexion: Wi-Fi
                                                  DHCP activ・:         Oui
                                                  Serveur DHCP:        192.168.0.254
                                                  Adresse(s) IP
                                                  [01]: 192.168.0.34
                                                  [02]: fe80::5102:6cd:7e09:85b2
                                                  [03]: 2a01:e34:ec7e:3020:60e9:962:7c30:546c
                                                  [04]: 2a01:e34:ec7e:3020:5116:66ca:8d7a:292a
                                            [02]: Bluetooth Device (Personal Area Network)
                                                  Nom de la connexion: Connexion rTeau Bluetooth
                                                  腎at:                Support dDonnect・
                                            [03]: Wintun Userspace Tunnel
                                                  Nom de la connexion: OpenVPN Wintun
                                                  腎at:                Support dDonnect・
                                            [04]: TAP-Windows Adapter V9
                                                  Nom de la connexion: OpenVPN TAP-Windows6
                                                  腎at:                Support dDonnect・
Configuration requise pour Hyper-V:         Un hyperviseur a U・dUect・ Les fonctionnalitT nDessaires ・Hyper-V ne seront pas affichFs.

Steps to reproduce

  1. crc config set preset microshift
  2. crc setup
  3. crc start

Expected

VM should start

Actual

INFO Checking if running in a shell with administrator rights
INFO Checking Windows release
INFO Checking Windows edition
INFO Checking if Hyper-V is installed and operational
INFO Checking if Hyper-V service is enabled
INFO Checking if crc-users group exists
INFO Checking if current user is in crc-users and Hyper-V admins group
INFO Checking if vsock is correctly configured
INFO Checking if the daemon task is installed
INFO Checking if the daemon task is running
INFO Checking admin helper service is running
INFO Loading bundle: crc_microshift_hyperv_4.12.6_amd64...
INFO CRC instance is running with IP 127.0.0.1
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:52290->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52293->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52294->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52295->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52298->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52300->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52301->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52302->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52303->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52304->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52306->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52322->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52323->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52324->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52325->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52327->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52329->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52331->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52333->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52336->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52337->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52339->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52341->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52342->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52343->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52346->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52348->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Temporary error: ssh command error:
command : exit 0
err     : ssh: handshake failed: read tcp 127.0.0.1:52349->127.0.0.1:2222: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.

Logs

Before gather the logs try following if that fix your issue

$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

Please consider posting the output of crc start --log-level debug on http://gist.github.com/ and post the link in the issue.

jeffmaury commented 1 year ago

Closing as it worked again after I rebooted my machine. Maybe some pre alpha bits that I tested on the same machine