Skip to content

[BUG] WSL2 validation check is currently case senstive #4279

Closed
@alegacy

Description

General information

  • OS: Linux
  • Hypervisor: WSL2
  • Did you run crc setup before starting it (Yes/No)? Yes
  • Running CRC on: WSL2

CRC version

CRC version: 2.39.0+2fa795
OpenShift version: 4.16.0
MicroShift version: 4.16.0

CRC status

DEBU CRC version: 2.39.0+2fa795                   
DEBU OpenShift version: 4.16.0                    
DEBU MicroShift version: 4.16.0                   
DEBU Running 'crc status'                         
Machine does not exist. Use 'crc start' to create it

CRC config

- consent-telemetry                     : yes

Host Operating System

NAME="Fedora Remix for WSL"
VERSION="40"
ID=fedoraremixforwsl
ID_LIKE=fedora
VERSION_ID=40
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Remix for WSL"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
HOME_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL"
SUPPORT_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL"
BUG_REPORT_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/issues"
PRIVACY_POLICY_URL="https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/blob/master/PRIVACY.md"
FEDORA_REMIX_VERSION=40.0.1

Steps to reproduce

  1. crc setup
  2. crc start

Expected

Should fail to start on WSL2 since not supported. See issue #2131 and fix #2323.

Actual

crc start attempts to start the VM and fails.

Logs

...
INFO Generating new SSH key pair...               
INFO Generating new password for the kubeadmin user 
INFO Starting CRC VM for openshift 4.16.0...      
Error starting machine: Error in driver during machine start: host is not running: getting ip during machine start

The output of /proc/version is this:

Linux version 5.15.153.1-microsoft-standard-WSL2 (root@941d701f84f1) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Fri Mar 29 23:14:13 UTC 2024

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions