General information
- OS: Linux / macOS
- Hypervisor: KVM / hyperkit
- Did you run
crc setup before starting it (Yes)?
CRC version
$ crc version
crc version: 1.1.0+95966a9
OpenShift version: 4.2.2 (embedded in binary)
CRC status
# For RHEL
$ crc status
Machine 'crc' does not exist. Use 'crc start' to create it.
# For Mac
$ crc status
ERRO error: stat /Users/morningspace/.crc/machines/crc/kubeconfig: no such file or directory
- exit status 1
CRC config
# Put the output of `crc config view`
Nothing returned
Host Operating System
# Put the output of `cat /etc/os-release` in case of Linux
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.6 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"
# Put the output of `sw_vers` in case of Mac
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.1
BuildVersion: 19B88
Steps to reproduce
- Both the MacOS and RHEL machines have been used to successfully deploy a previous release of crc (1.0.0).
- After I download the new release (1.1.0), and run
crc setup, then crc start:
- On RHEL, it failed at
domain 'crc' already exists with uuid xxxxx, e.g.:
INFO Extracting bundle: crc_libvirt_4.2.2.crcbundle ...
INFO Creating CodeReady Containers VM for OpenShift 4.2.2...
ERRO Error creating host: Error creating the VM: Error creating machine: Error in driver during machine creation: virError(Code=9, Domain=20, Message='operation failed: domain 'crc' already exists with uuid 84b5685a-03bd-4a27-9d44-266d8f2a9272')
- On MacOS, it keeps hanging at
INFO Creating CodeReady Containers VM for OpenShift 4.2.2... for ever. I’ve been waiting for a few hours, before press Ctrl+C. e.g.:
$ crc start -p ~/.crc/pull-secret.txt
INFO Checking if running as non-root
INFO Checking if oc binary is cached
INFO Checking if HyperKit is installed
INFO Checking if crc-driver-hyperkit is installed
INFO Checking file permissions for /etc/resolver/testing
INFO Checking file permissions for /etc/hosts
INFO Extracting bundle: crc_hyperkit_4.2.2.crcbundle ...
INFO Creating CodeReady Containers VM for OpenShift 4.2.2...
- Run
crc stop, crc delete, crc status after start failed.
$ crc stop
Machine 'crc' does not exist. Use 'crc start' to create it.
$ crc delete
Machine 'crc' does not exist. Use 'crc start' to create it.
$ crc status
Machine 'crc' does not exist. Use 'crc start' to create it.
$ crc stop
Stopping the OpenShift cluster, this may take a few minutes...
ERRO Machine "crc" is already stopped.
$ crc delete
Do you want to delete the OpenShift cluster? [y/N]: y
Deleted the OpenShift cluster
$ crc status
Machine 'crc' does not exist. Use 'crc start' to create it.
- The same issue happened even I remove
~/.crc.
You are probably in an inconsistent state by removing the ~/.crc folder manually. Please use the hypervisor manager, or the CLI tool on Linux to remove the artifacts. like
virsh undefine crc, after which you performcrc delete -f. (note the force option)This is the reason why you get this error.
On Mon, Nov 18, 2019 at 1:11 PM MorningSpace notifications@github.com wrote:
–
Gerard Braad | http://gbraad.nl [ Doing Open Source Matters ]