Closed tinlam007 closed 1 year ago
@tinlam007 can you try to start the crcDaemon
task from the Windows Task Scheduler
GUI? It might show more information as to why the task is not starting.
One more thing to try is to run the daemon posh script directly, on powershell run ~\.crc\bin\hidden_daemon.ps1
and check in the task manager if a process named crc
is running
It is running already
From: Anjan Nath @.> Sent: Friday, October 6, 2023 6:02 PM To: crc-org/crc @.> Cc: tinlam007 @.>; Mention @.> Subject: Re: [crc-org/crc] [BUG] Red Hat OpenShift Local on window 11 error - CRC version: 2.27.0 (Issue #3860)
@tinlam007 https://github.com/tinlam007 can you try to start the crcDaemon task from the Windows Task Scheduler GUI? It might show more information as to why the task is not starting.
One more thing to try is to run the daemon posh script directly, on powershell run ~.crc\bin\hidden_daemon.ps1 and check in the task manager if a process named crc is running
— Reply to this email directly, view it on GitHub https://github.com/crc-org/crc/issues/3860#issuecomment-1750325377 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AWKD4Y76TUTOEFBGOSFYN3LX57JHXAVCNFSM6AAAAAA5VNG2Q2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJQGMZDKMZXG4 . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AWKD4Y22KPPVOGII3UVIXATX57JHXA5CNFSM6AAAAAA5VNG2Q2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIKPMIC.gif Message ID: @. @.> >
I reboot the window 11
From: Anjan Nath @.> Sent: Friday, October 6, 2023 6:02 PM To: crc-org/crc @.> Cc: tinlam007 @.>; Mention @.> Subject: Re: [crc-org/crc] [BUG] Red Hat OpenShift Local on window 11 error - CRC version: 2.27.0 (Issue #3860)
@tinlam007 https://github.com/tinlam007 can you try to start the crcDaemon task from the Windows Task Scheduler GUI? It might show more information as to why the task is not starting.
One more thing to try is to run the daemon posh script directly, on powershell run ~.crc\bin\hidden_daemon.ps1 and check in the task manager if a process named crc is running
— Reply to this email directly, view it on GitHub https://github.com/crc-org/crc/issues/3860#issuecomment-1750325377 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AWKD4Y76TUTOEFBGOSFYN3LX57JHXAVCNFSM6AAAAAA5VNG2Q2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJQGMZDKMZXG4 . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AWKD4Y22KPPVOGII3UVIXATX57JHXA5CNFSM6AAAAAA5VNG2Q2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIKPMIC.gif Message ID: @. @.> >
@tinlam007 do you still the have the issue after reboot, or able to start crc now?
From: Anjan Nath @.> Sent: Monday, October 9, 2023 12:03 PM To: crc-org/crc @.> Cc: tinlam007 @.>; Mention @.> Subject: Re: [crc-org/crc] [BUG] Red Hat OpenShift Local on window 11 error - CRC version: 2.27.0 (Issue #3860)
@tinlam007 https://github.com/tinlam007 do you still the have the issue after reboot, or able to start crc now?
— Reply to this email directly, view it on GitHub https://github.com/crc-org/crc/issues/3860#issuecomment-1752316516 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AWKD4YZBJ3PNKAM4UQYHPZLX6NZQ7AVCNFSM6AAAAAA5VNG2Q2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGMYTMNJRGY . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AWKD4Y7Z2RWLCH2YCCJRV2TX6NZQ7A5CNFSM6AAAAAA5VNG2Q2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTIOI5GI.gif Message ID: @. @.> >
@tinlam007 your last reply via email is not visible from the Github web UI! :(
You can try to skip the check and proceed with crc start:
PS> crc config set skip-check-daemon-task-running
PS> crc start -p pull-secret.txt --log-level debug
Turned out, @tinlam007 also had kaspersky
installed, and root cause is same as #3674
General information
crc setup
before starting it (Yes/No)?CRC version
CRC status
CRC config
Host Operating System
Steps to reproduce
Expected
Actual
Logs
Before gather the logs try following if that fix your issue
Please consider posting the output of
crc start --log-level debug
on http://gist.github.com/ and post the link in the issue. D:\Red Hat OpenShift Local>crc cleanup INFO Removing the daemon task INFO Removing the daemon task powershell script INFO Stop daemon process if it is running INFO Removing crc's virtual machine INFO Removing CRC Specific entries from user's known_hosts file INFO Removing hosts file records added by CRC INFO Removing pull secret from the keyring INFO Removing older logs remove C:\Users\User.crc\bin\hidden_daemon.ps1: The system cannot find the file specified. host file not writable, try running with elevated privileges Failed to remove old log files: Failed to delete file: remove C:\Users\User.crc\crcd.log: The process cannot access the file because it is being used by another process.D:\Red Hat OpenShift Local>crc setup INFO Using bundle path C:\Users\User.crc\cache\crc_hyperv_4.13.12_amd64.crcbundle INFO Checking minimum RAM requirements INFO Checking if current user is in crc-users and Hyper-V admins group INFO Checking if CRC bundle is extracted in '$HOME/.crc' INFO Checking if C:\Users\User.crc\cache\crc_hyperv_4.13.12_amd64.crcbundle exists INFO Checking if the daemon task powershell script is present INFO Creating the daemon task powershell script INFO Checking if the daemon task is installed INFO Installing the daemon task INFO Checking if the daemon task is running INFO Running the daemon task INFO Checking admin helper service is running Your system is correctly setup for using CRC. Use 'crc start' to start the instance
D:\Red Hat OpenShift Local>crc start -p pull-secret.txt --log-level debug DEBU CRC version: 2.27.0+71615e DEBU OpenShift version: 4.13.12 DEBU Podman version: 4.4.4 DEBU Running 'crc start' DEBU Total memory of system is 137243262976 bytes DEBU No new version available. The latest version is 2.27.0 DEBU Checking file: C:\Users\User.crc\machines\crc.crc-exist INFO Checking minimum RAM requirements DEBU Total memory of system is 137243262976 bytes INFO Checking if running in a shell with administrator rights DEBU Running '$currentPrincipal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent());$currentPrincipal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)' INFO Checking Windows release DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ReleaseId).ReleaseId' INFO Checking Windows edition DEBU Running '(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").EditionID' DEBU Running on Windows Professional edition INFO Checking if Hyper-V is installed and operational DEBU Running '@(Get-Wmiobject Win32_ComputerSystem).HypervisorPresent' DEBU Running '@(Get-Service vmms).Status' INFO Checking if Hyper-V service is enabled DEBU Running '@(Get-Service vmms).Status' INFO Checking if crc-users group exists DEBU Running 'Get-LocalGroup -Name crc-users' INFO Checking if current user is in crc-users and Hyper-V admins group DEBU Running '(Get-LocalGroupMember -Group 'crc-users').Name' DEBU Checking current user is in the 'crc-user' group DEBU group members: TIMLAM-PC\User DEBU Running '(Get-LocalGroupMember -SID 'S-1-5-32-578').Name' DEBU Checking current user is in the 'Hyper-v Administrators' group DEBU group members: TIMLAM-PC\User INFO Checking if vsock is correctly configured DEBU Running 'Get-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization\GuestCommunicationServices\00000400-FACB-11E6-BD58-64006A7986D3"' INFO Checking if the daemon task powershell script is present INFO Checking if the daemon task is installed DEBU Running 'Get-ScheduledTask -TaskName crcDaemon' DEBU Running '(Get-ScheduledTask -TaskName "crcDaemon").Version' INFO Checking if the daemon task is running DEBU Running '(Get-ScheduledTask -TaskName "crcDaemon").State' DEBU expected crcDaemon task to be in 'Running' but got 'Ready ' WARN Preflight checks failed during
crc start
, please try to runcrc setup
first in case you haven't done so yet 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' expected crcDaemon task to be in 'Running' but got 'Ready 'D:\Red Hat OpenShift Local>systeminfo
Host Name: TIMLAM-PC OS Name: Microsoft Windows 11 Pro OS Version: 10.0.22621 N/A Build 22621 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation OS Build Type: Multiprocessor Free Registered Owner: User Registered Organization: Product ID: 00330-73745-00003-AAOEM Original Install Date: 3/18/2023, 4:10:01 PM System Boot Time: 10/6/2023, 2:17:53 PM System Manufacturer: ASUS System Model: System Product Name System Type: x64-based PC Processor(s): 1 Processor(s) Installed. 01: Intel64 Family 6 Model 151 Stepping 2 GenuineIntel ~3600 Mhz BIOS Version: American Megatrends Inc. 1402, 4/1/2022 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+08:00) Beijing, Chongqing, Hong Kong, Urumqi Total Physical Memory: 130,885 MB Available Physical Memory: 109,194 MB Virtual Memory: Max Size: 150,341 MB Virtual Memory: Available: 122,747 MB Virtual Memory: In Use: 27,594 MB Page File Location(s): C:\pagefile.sys Domain: WORKGROUP Logon Server: \TIMLAM-PC Hotfix(s): 5 Hotfix(s) Installed.
Network Card(s): 7 NIC(s) Installed. 01: TAP-NordVPN Windows Adapter V9 Connection Name: Ethernet 3 Status: Media disconnected [02]: Intel(R) Ethernet Connection (17) I219-V Connection Name: Ethernet DHCP Enabled: Yes DHCP Server: 192.168.15.1 IP address(es)
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
D:\Red Hat OpenShift Local>crc version CRC version: 2.27.0+71615e OpenShift version: 4.13.12 Podman version: 4.4.4
D:\Red Hat OpenShift Local>