dhiltgen / docker-machine-kvm

KVM driver for docker-machine
Apache License 2.0
376 stars 117 forks source link

Error E0422 when starting minishift on SuSE leap. #78

Closed SilverZippo closed 3 years ago

SilverZippo commented 3 years ago

Environment: SuSE Leap 15.2 on intel hardware. Fresh installation of minishift (binary downloaded from github).
kvm and libvirt the ones supplied with the OS.
docker machine and docker_machine_driver_kvm came from an extra OpenSuse repository called 'Virtualisation Containers'. - the docker_machine_driver_kvm is identical to the centos7 one in github. I followed the instructions for setting up the environment from here: https://docs.okd.io/3.11/minishift/getting-started/setting-up-virtualization-environment.html#for-linux.

I got the following output when running minishift start: -- Starting Minishift VM ..... FAIL E0422 17:12:52.630115 10016 start.go:499] Error starting the VM: Error creating the VM. Error creating machine: Error in driver during machine creation: virError(Code=38, Domain=7, Message='End of file while reading data: Input/output error'). Retrying. Error starting the VM: Error creating the VM. Error creating machine: Error in driver during machine creation: virError(Code=38, Domain=7, Message='End of file while reading data: Input/output error')

Subsequent attempts to start return this: -- Starting profile 'minishift' -- Check if deprecated options are used ... OK -- Checking if https://github.com is reachable ... OK -- Checking if requested OpenShift version 'v3.11.0' is valid ... OK -- Checking if requested OpenShift version 'v3.11.0' is supported ... OK -- Checking if requested hypervisor 'kvm' is supported on this platform ... OK -- Checking if KVM driver is installed ... Driver is available at /usr/local/bin/docker-machine-driver-kvm ... Checking driver binary is executable ... OK -- Checking if Libvirt is installed ... OK -- Checking if Libvirt default network is present ... OK -- Checking if Libvirt default network is active ... OK -- Checking the ISO URL ... OK -- Checking if provided oc flags are supported ... OK -- Starting the OpenShift cluster using 'kvm' hypervisor ... -- Starting Minishift VM .... FAIL E0422 17:41:15.974634 12836 start.go:499] Error starting the VM: Error getting the state for host: unexpected EOF. Retrying. Error starting the VM: Error getting the state for host: unexpected EOF

Have I missed something or is this a genuine issue?

SilverZippo commented 3 years ago

I had missed something. Virtualisation was not enabled in the machine's BIOS!