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

Is CodeReady Containers tray application running? Cannot reach daemon API: Get "http://unix/api/version": open \\.\pipe\crc-http: The system cannot find the file specified.[BUG] #2679

Closed
robin0141 opened this issue Aug 28, 2021 · 2 comments
Labels
kind/bug Something isn't working os/windows resolution/unsupported Unsupported setup; hardware and/or software, nested virtualization

Comments

@robin0141
Copy link

robin0141 commented Aug 28, 2021

General information

  • OS: Linux / macOS / Windows :Windows
  • Hypervisor: KVM / Hyper-V / hyperkit
  • Did you run crc setup before starting it (Yes/No)? Yes
  • Running CRC on: Laptop / Baremetal-Server / VM :Laptop

CRC version

# Put `crc version` output here
CodeReady Containers version: 1.31.2+19538dab
OpenShift version: 4.8.4 (not embedded in executable)

CRC status

# Put `crc status --log-level debug` output here

DEBU CodeReady Containers version: 1.31.2+19538dab
DEBU OpenShift version: 4.8.4 (not embedded in executable)
DEBU Running 'crc status'
DEBU Checking file: C:\Users\VersaFile.crc\machines\crc.crc-exist
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'
Machine does not exist. Use 'crc start' to create it

CRC config

# Put `crc config view` output here

PS C:\Users\Ve> crc config view

  • consent-telemetry : yes

Host Operating System

# Put the output of `cat /etc/os-release` in case of Linux
# put the output of `sw_vers` in case of Mac
# Put the output of `systeminfo` in case of Windows
Host Name:                 LAPTOP-V0
OS Name:                   Microsoft Windows 10 Home
OS Version:                10.0.19042 N/A Build 19042
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          rob
Registered Organization:   N/A
Product ID:                00325-81747-49996-AAOEM
Original Install Date:     24/03/2021, 18:56:16
System Boot Time:          28/08/2021, 12:32:58
System Manufacturer:       LENOVO
System Model:              81Y6
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 165 Stepping 2 GenuineIntel ~2592 Mhz
BIOS Version:              LENOVO EFCN33WW, 29/05/2020
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-05:00) Eastern Time (US & Canada)
Total Physical Memory:     16,292 MB
Available Physical Memory: 11,308 MB
Virtual Memory: Max Size:  36,772 MB
Virtual Memory: Available: 29,774 MB
Virtual Memory: In Use:    6,998 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\LAPTOP-V0H
Hotfix(s):                 7 Hotfix(s) Installed.
                           [01]: KB5004331
                           [02]: KB4562830
                           [03]: KB4577586
                           [04]: KB4580325
                           [05]: KB4589212
                           [06]: KB5005033
                           [07]: KB5005260
Network Card(s):           7 NIC(s) Installed.
                           [01]: TAP-Windows Adapter V9
                                 Connection Name: Ethernet 2
                                 Status:          Media disconnected
                           [02]: Intel(R) Wi-Fi 6 AX201 160MHz
                                 Connection Name: Wi-Fi
                                 DHCP Enabled:    Yes
                                 DHCP Server:     192.168.0.1
                                 IP address(es)
                                 [01]: 192.168.0.56
                                 [02]: fe80::1156:cfde:8fa:6c61
                                 [03]: 2607:9880:1868:c9:9d82:c15a:dcd7:cffe
                                 [04]: 2607:9880:1868:c9:1156:cfde:8fa:6c61
                                 [05]: 2607:9880:1868:c9::d8c9
                           [03]: Realtek PCIe GbE Family Controller
                                 Connection Name: Ethernet
                                 Status:          Media disconnected
                           [04]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth Network Connection
                                 Status:          Media disconnected
                           [05]: ExpressVPN Wintun Driver
                                 Connection Name: Local Area Connection
                                 Status:          Media disconnected
                           [06]: ExpressVPN TAP Adapter
                                 Connection Name: Ethernet 6
                                 Status:          Hardware not present
                           [07]: LogMeIn Hamachi Virtual Ethernet Adapter
                                 Connection Name: Hamachi
                                 Status:          Hardware not present
Hyper-V Requirements:      VM Monitor Mode Extensions: Yes
                           Virtualization Enabled In Firmware: Yes
                           Second Level Address Translation: Yes
                           Data Execution Prevention Available: Yes

Steps to reproduce

  1. Crc setup
  2. crc start gives below error
  3. Is CodeReady Containers tray application running? Cannot reach daemon API: Get "http://unix/api/version": open \.\pipe\crc-http: The system cannot find the file specified.

Expected

Actual

Is CodeReady Containers tray application running? Cannot reach daemon API: Get "http://unix/api/version": open \.\pipe\crc-http: The system cannot find the file specified.

Logs

PS C:\Users\Ve> crc start --log-level debug
DEBU CodeReady Containers version: 1.31.2+19538dab
DEBU OpenShift version: 4.8.4 (not embedded in executable)
DEBU Running 'crc start'
DEBU Total memory of system is 17083187200 bytes
DEBU No new version available. The latest version is 1.31.2
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'
Is CodeReady Containers tray application running? Cannot reach daemon API: Get "http://unix/api/version": open \\.\pipe\crc-http: The system cannot find the file specified.

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.

@anjannath
Copy link
Member

Host Name: LAPTOP-V0
OS Name: Microsoft Windows 10 Home
OS Version: 10.0.19042 N/A Build 19042

@robin0141 crc cannot be run on window 10 Home edition since hyper-v is not present there. doc

Similar to #2666

@gbraad gbraad closed this as completed Aug 30, 2021
@gbraad gbraad added the resolution/unsupported Unsupported setup; hardware and/or software, nested virtualization label Aug 30, 2021
@gbraad
Copy link
Contributor

gbraad commented Aug 30, 2021

Best to not allow the setup to run on Home

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working os/windows resolution/unsupported Unsupported setup; hardware and/or software, nested virtualization
Projects
None yet
Development

No branches or pull requests

3 participants