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 240 forks source link

[BUG] crc can not start when activated AntiVirus software #2830

Closed phssakaigawa closed 2 years ago

phssakaigawa commented 2 years ago

General information

CRC version

CodeReady Containers version: 1.34.0+34c31851
OpenShift version: 4.9.0 (bundle installed at C:\Program Files\CodeReady Containers\crc_hyperv_4.9.0.crcbundle)

CRC status

DEBU CodeReady Containers version: 1.34.0+34c31851
DEBU OpenShift version: 4.9.0 (bundle installed at C:\Program Files\CodeReady Containers\crc_hyperv_4.9.0.crcbundle)
DEBU Running 'crc status'
DEBU Checking file: C:\Users\s.sakaigawa\.crc\machines\crc\.crc-exist
DEBU Checking file: C:\Users\s.sakaigawa\.crc\machines\crc\.crc-exist
DEBU Running 'Hyper-V\Get-VM crc | Select-Object -ExpandProperty State'
DEBU Running SSH command: df -B1 --output=size,used,target /sysroot | tail -1
DEBU Using ssh private keys: [C:\Users\s.sakaigawa\.crc\machines\crc\id_ecdsa C:\Users\s.sakaigawa\.crc\cache\crc_hyperv_4.9.0\id_ecdsa_crc]
DEBU SSH command results: err: <nil>, output: 32737570816 12452917248 /sysroot
DEBU cannot get OpenShift status: CreateFile C:\Users\s.sakaigawa\.crc\machines\crc\kubeconfig: The system cannot find the file specified.
CRC VM:          Running
OpenShift:       Unreachable (v4.9.0)
Disk Usage:      12.45GB of 32.74GB (Inside the CRC VM)
Cache Usage:     13.78GB
Cache Directory: C:\Users\s.sakaigawa\.crc\cache

CRC config

- consent-telemetry                     : no

Host Operating System

Host Name:                 PHWXCLT03
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.19043 N/A Build 19043
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          s.sakaigawa
Registered Organization:
Product ID:                00330-52486-69783-AAOEM
Original Install Date:     2021/04/25, 15:10:15
System Boot Time:          2021/10/29, 4:03:57
System Manufacturer:       EPSON DIRECT CORP.
System Model:              Endeavor Pro9000-H
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 85 Stepping 7 GenuineIntel ~3696 Mhz
BIOS Version:              American Megatrends Inc. AP5U-0023-IF4, 2019/11/15
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume3
System Locale:             ja;Japanese
Input Locale:              ja;Japanese
Time Zone:                 (UTC+09:00) Osaka, Sapporo, Tokyo
Total Physical Memory:     32,460 MB
Available Physical Memory: 6,061 MB
Virtual Memory: Max Size:  64,204 MB
Virtual Memory: Available: 19,617 MB
Virtual Memory: In Use:    44,587 MB
Page File Location(s):     D:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\PHWXCLT03
Hotfix(s):                 6 Hotfix(s) Installed.
                           [01]: KB5005539
                           [02]: KB4562830
                           [03]: KB4580325
                           [04]: KB5000736
                           [05]: KB5006670
                           [06]: KB5005699
Network Card(s):           8 NIC(s) Installed.
                           [01]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (Default Switch)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 172.30.96.1
                                 [02]: fe80::bd23:3219:44e1:219b
                           [02]: Kaspersky Security Data Escort Adapter
                                 Connection Name: イーサネット 2
                                 Status:          Media disconnected
                           [03]: TeamViewer VPN Adapter
                                 Connection Name: イーサネット 3
                                 Status:          Media disconnected
                           [04]: Array Networks SSL VPN Adapter
                                 Connection Name: イーサネット 4
                                 Status:          Hardware not present
                           [05]: Hyper-V Virtual Ethernet Adapter
                                 Connection Name: vEthernet (WSL)
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 172.22.16.1
                                 [02]: fe80::44a4:563:9761:ac48
                           [06]: Intel(R) Ethernet Connection (2) I219-V
                                 Connection Name: イーサネット
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: 192.168.137.10
                                 [02]: 192.168.111.22
                                 [03]: 192.168.1.15
                                 [04]: fe80::1d96:70ba:43f7:c2f6
                                 [05]: 2400:4052:21a3:8700:f89c:c6c3:9f7e:6960
                                 [06]: 2400:4052:21a3:8700:d1cf:b60a:d485:4e70
                                 [07]: 2400:4052:21a3:8700:c08e:8663:84e2:8b18
                                 [08]: 2400:4052:21a3:8700:bce8:5833:541c:afb1
                                 [09]: 2400:4052:21a3:8700:b051:e38b:406f:bc8a
                                 [10]: 2400:4052:21a3:8700:5dc1:6a7f:8e5e:c9d7
                                 [11]: 2400:4052:21a3:8700:5438:a9fb:729e:74bf
                                 [12]: 2400:4052:21a3:8700:1d96:70ba:43f7:c2f6
                           [07]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth ネットワーク接続
                                 Status:          Media disconnected
                           [08]: Realtek USB GbE Family Controller
                                 Connection Name: イーサネット 5
                                 Status:          Media disconnected
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Steps to reproduce

  1. enable Kaspersky Internet Security v21.3.10.391
  2. crc start -p pull-secret.txt
  3. get error Error running post start: Post "http://unix/remove": open \.\pipe\crc-admin-helper: Access is denied.

Expected

normal start

Actual

get below error message:

Error running post start: Post "http://unix/remove": open \\.\pipe\crc-admin-helper: Access is denied.

Logs

https://gist.github.com/phssakaigawa/75f5ce1e0d861e83cf3514535a2fe270

phssakaigawa commented 2 years ago

if disable kaspersky, I can start up crc

gbraad commented 2 years ago

There is not much we can do. Ads indicated, this is due to Kaspersky preventing the functionality. Add an exception ?

gbraad commented 2 years ago

This is not CRC specific.