Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] CRC CLI cannot be run as admin, clashes with requirement for Hyper-V machines #512

Open
ScrewTSW opened this issue Jan 27, 2025 · 0 comments

Comments

@ScrewTSW
Copy link

General information

  • OS: Windows 22H2
  • Hypervisor: Hyper-V
  • Did you run crc setup before starting it (Yes/No)? Yes
  • Running CRC on: Laptop

CRC version

CRC version: 2.46.0+8f40e8
OpenShift version: 4.17.10
MicroShift version: 4.17.10

CRC status

machine does not exist

CRC config

- consent-telemetry : no
- disk-size : 35

Host Operating System

Host Name:                 DESKTOP-G7GMBRUOS
Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.19045 N/A Build 19045OS
Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Original Install Date:     11/29/2023, 1:38:13 PM
System Boot Time:          1/27/2025, 3:47:44 PM
System Manufacturer:       LENOVO
System Model:              20LAS3NJ0S
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 142 Stepping 10 GenuineIntel ~1910 Mhz
BIOS Version:              LENOVO N27ET54W (1.40 ), 8/21/2024
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
Total Physical Memory:     32,611 MB
Available Physical Memory: 27,053 MB
Virtual Memory: Max Size:  37,475 MB
Virtual Memory: Available: 31,326 MB
Virtual Memory: In Use:    6,149 MB
Page File Location(s):     C:\pagefile.sys
Hotfix(s):                 21 Hotfix(s) Installed.
                           [01]: KB5039893                           [02]: KB5031988
                           [03]: KB4562830                           [04]: KB4570334
                           [05]: KB4577586                           [06]: KB4580325
                           [07]: KB4586864                           [08]: KB5011048
                           [09]: KB5015684                           [10]: KB5020683
                           [11]: KB5043064                           [12]: KB5032392
                           [13]: KB5032907                           [14]: KB5034224
                           [15]: KB5036447                           [16]: KB5037018
                           [17]: KB5037240                           [18]: KB5037995
                           [19]: KB5039336                           [20]: KB5040565
                           [21]: KB5043935
Network Card(s):           7 NIC(s) Installed.
                           [01]: Intel(R) Dual Band Wireless-AC 8265
                                 Connection Name: Wi-Fi
                                 DHCP Enabled:    Yes
                                 DHCP Server:     192.168.1.1
                                 IP address(es)
                                 [01]: 192.168.1.155
                                 [02]: fe80::5bb7:f1c3:7b2f:fc5f
                           [02]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth Network Connection
                                 Status:          Media disconnected
                           [03]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (Default Switch)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 172.21.16.1
                                 [02]: fe80::47cd:f800:1c1b:7b38
                           [04]: Intel(R) Ethernet Connection (4) I219-LM
                                 Connection Name: Ethernet
                                 Status:          Media disconnected
                           [05]: Wintun Userspace Tunnel
                                 Connection Name: OpenVPN Wintun
                                 Status:          Media disconnected
                           [06]: TAP-Windows Adapter V9
                                 Connection Name: OpenVPN TAP-Windows6
                                 Status:          Media disconnected
                           [07]: OpenVPN Data Channel Offload
                                 Connection Name: OpenVPN Data Channel Offload
                                 Status:          Media disconnected
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Steps to reproduce

  1. Install Podman Desktop, during installation of Podman select Hyper-V
  2. Run Podman Desktop as an administrator
  3. Create a Hyper-V machine from Podman Desktop
  4. Install OpenShift Local extension, try to create cluster from resources

Expected

  • CLI functions, does not break on admin rights suggestion

Actual

  • CLI fails suggesting that it should not be run as admin

Logs

N/A

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.

Image

@jeffmaury jeffmaury changed the title [BUG] CRC CLI cannot be run as admin, clashes with requirement for Hpyer-V machines [BUG] CRC CLI cannot be run as admin, clashes with requirement for Hyper-V machines Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant