crc: [BUG] Error starting machine: Error in driver during machine start: Unable to determine VM's IP address, did it fail to boot?

General information

  • OS: Linux
  • Hypervisor: KVM
  • Did you run crc setup before starting it (Yes/No)? yes
  • Running CRC on: VM

CRC version

# Put `crc version` output here
$ crc  version
CodeReady Containers version: 1.32.1+4d40571f
OpenShift version: 4.8.5 (embedded in executable)

  
## CRC status
```bash
# Put `crc status --log-level debug` output here
$ crc status
CRC VM:          Running
OpenShift:       Unreachable (v4.8.5)
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     15.96GB
Cache Directory: /home/crcuser/.crc/cache

CRC config

# Put `crc config view` output here
$ crc config view
- consent-telemetry                     : no
- cpus                                  : 16
- memory                                : 32768
- pull-secret-file                      : /home/crcuser/pull-secret.txt


## Host Operating System
```bash
# 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
$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.4 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.4"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.4 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.4:GA"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.4
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.4"

Steps to reproduce

  1. $ crc setup --log-level debug
  2. $ crc start --log-level debug

Expected

Actual

..
DEBU (crc) DBG | time="2021-09-16T04:37:17-04:00" level=debug msg="Getting current state..." 
DEBU (crc) DBG | time="2021-09-16T04:37:17-04:00" level=debug msg="Waiting for machine to come up 59/60" 
DEBU (crc) DBG | time="2021-09-16T04:37:20-04:00" level=warning msg="Unable to determine VM's IP address, did it fail to boot?" 
DEBU Making call to close driver server           
DEBU (crc) Calling .Close                         
DEBU Successfully made call to close driver server 
DEBU Making call to close connection to plugin binary 
DEBU Making call to close driver server           
DEBU (crc) Calling .Close                         
DEBU Successfully made call to close driver server 
DEBU (crc) DBG | time="2021-09-16T04:37:20-04:00" level=debug msg="Closing plugin on server side" 
DEBU Making call to close connection to plugin binary 
Error starting machine: Error in driver during machine start: Unable to determine VM's IP address, did it fail to boot?

Logs

https://gist.github.com/rscher/e958f85d95ef7939cd8408ca41ebd7aa

Before gather the logs try following if that fix your issue

$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

tried this, did not resolve 
works on RHEL 7.9

Please consider posting the output of `crc start --log-level debug`  on http://gist.github.com/ and post the link in the issue.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 22 (15 by maintainers)

Most upvoted comments