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.26k stars 242 forks source link

Timeout on "curl --head quay.io" when "Check internal and public DNS query..." during "crc start" #4294

Closed JSWilProf closed 3 months ago

JSWilProf commented 3 months ago

General information

CRC version

CRC version: 2.39.0+0849cb
OpenShift version: 4.16.0

CRC status --log-level debug

DEBU CRC version: 2.39.0+0849cb                   
DEBU OpenShift version: 4.16.0                    
DEBU Running 'crc status'                         
CRC VM:          Running
OpenShift:       Unreachable (v4.16.0)
RAM Usage:       728.4MB of 10.96GB
Disk Usage:      22.88GB of 32.68GB (Inside the CRC VM)
Cache Usage:     39.36GB
Cache Directory: /Users/penawjs/.crc/cache

CRC config view

- consent-telemetry                     : no
- host-network-access                   : true

Host Operating System

ProductName:        macOS
ProductVersion:     14.5
BuildVersion:       23F79

Steps to reproduce

  1. crc start

Expected

CRC start successful

Actual

Stops on "Check internal and public DNS query..."

INFO Checking if running macOS version >= 13.x
INFO Checking if running as non-root
INFO Checking if crc-admin-helper executable is cached INFO Checking if running on a supported CPU architecture INFO Checking if crc executable symlink exists
INFO Checking minimum RAM requirements
INFO Check if Podman binary exists in: /Users/penawjs/.crc/bin/oc INFO Checking if running emulated on Apple silicon INFO Checking if vfkit is installed
INFO Checking if old launchd config for tray and/or daemon exists INFO Checking if crc daemon plist file is present and loaded INFO Checking SSH port availability
INFO Loading bundle: crc_vfkit_4.16.0_amd64...
INFO Starting CRC VM for openshift 4.16.0...
INFO CRC instance is running with IP 127.0.0.1
INFO CRC VM is running
INFO Configuring shared directories
INFO Check internal and public DNS query...

Logs

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. crc.log curl --head curl --get

JSWilProf commented 3 months ago

The problem has been identified, the limitation occurs due to the use of Tethering between IOS and Macos.