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

[BUG] Change check message for Windows to not mention version directly #3298

Closed jeffmaury closed 2 years ago

jeffmaury commented 2 years ago

General information

CRC status

DEBU CRC version: 2.6.0+e7251680                                                                                      
DEBU OpenShift version: 4.10.22                                                                                       
DEBU Podman version: 4.1.0                                                                                            
DEBU Running 'crc status'                                                                                             
DEBU Checking file: C:\Users\JeffMAURY\.crc\machines\crc\.crc-exist                                                   
DEBU Checking file: C:\Users\JeffMAURY\.crc\machines\crc\.crc-exist                                                   
DEBU Running 'Hyper-V\Get-VM crc | Select-Object -ExpandProperty State'                                               
CRC VM:          Stopped                                                                                              
OpenShift:       Stopped (v4.10.22)                                                                                   
Podman:                                                                                                               
Disk Usage:      0B of 0B (Inside the CRC VM)                                                                         
Cache Usage:     18.42GB                                                                                              
Cache Directory: C:\Users\JeffMAURY\.crc\cache                                                                        
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId).ReleaseId'
DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").EditionID'                

CRC config

- consent-telemetry                     : yes
- kubeadmin-password                    : xxxxxx
- memory                                : 16384
- pull-secret-file                      : pull-secret.txt

Host Operating System


Nom de l'h鍍e:                              DESKTOP-U2EVGBM
Nom du syst確e d'exploitation:              Microsoft Windows 11 Professionnel
Version du syst確e:                         10.0.22000 N/A build 22000
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-AA253
Date d'installation originale:              22/07/2022, 09:56:29
Heure de dNarrage du syst確e:              05/08/2022, 10:43:59
Fabricant du syst確e:                       LENOVO
Mod獲e du syst確e:                          20LAS3NJ0H
Type du syst確e:                            x64-based PC
Processeur(s):                              1 processeur(s) install・s).
                                            [01]: Intel64 Family 6 Model 142 Stepping 10 GenuineIntel ~1910 MHz
Version du BIOS:                            LENOVO N27ET41W (1.27 ), 26/10/2020
RQertoire Windows:                         C:\WINDOWS
RQertoire syst確e:                         C:\WINDOWS\system32
PSiphSique d'amor㌢ge:                    \Device\HarddiskVolume4
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611 Mo
MNoire physique disponible:                11238 Mo
MNoire virtuelle: taille maximale:        58211 Mo
MNoire virtuelle: disponible:             23415 Mo
MNoire virtuelle: en cours d'utilisation: 34796 Mo
Emplacements des fichiers d'Dhange:        C:\pagefile.sys
Domaine:                                    WORKGROUP
Serveur d'ouverture de session:             \\DESKTOP-U2EVGBM
Correctif(s):                               5 Corrections installFs.
                                            [01]: KB5013889
                                            [02]: KB5007575
                                            [03]: KB5015882
                                            [04]: KB5016353
                                            [05]: KB5015898
Carte(s) rTeau:                            5 carte(s) rTeau installF(s).
                                            [01]: TAP-Windows Adapter V9
                                                  Nom de la connexion: Ethernet 2
                                                  DHCP activ・:         Oui
                                                  Serveur DHCP:        10.39.207.254
                                                  Adresse(s) IP
                                                  [01]: 10.39.194.86
                                                  [02]: fe80::d527:58a7:4965:c2ad
                                                  [03]: fd10:39:192:1::1255
                                            [02]: Hyper-V Virtual Ethernet Adapter
                                                  Nom de la connexion: vEthernet (minishift)
                                                  DHCP activ・:         Non
                                                  Adresse(s) IP
                                                  [01]: 172.16.0.1
                                                  [02]: fe80::3881:3360:4d27:e878
                                            [03]: Intel(R) Ethernet Connection (4) I219-LM
                                                  Nom de la connexion: Ethernet
                                                  腎at:                Support dDonnect・
                                            [04]: Intel(R) Dual Band Wireless-AC 8265
                                                  Nom de la connexion: Wi-Fi
                                                  DHCP activ・:         Oui
                                                  Serveur DHCP:        192.168.0.254
                                                  Adresse(s) IP
                                                  [01]: 192.168.0.42
                                            [05]: Bluetooth Device (Personal Area Network)
                                                  Nom de la connexion: Connexion rTeau Bluetooth
                                                  腎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 start

Expected

Check message should not be restricted to Windows 10

Actual

INFO Checking Windows 10 release

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.

gbraad commented 2 years ago

It however works, right? So the message should read: "Checking Windows release" or version.

jeffmaury commented 2 years ago

It however works, right? So the message should read: "Checking Windows release" or version.

👍

gbraad commented 2 years ago

Pushed the change.