Skip to content
This repository was archived by the owner on Apr 25, 2019. It is now read-only.

Minishift start errors out: Unsupported machine type #12

Closed
aditya-konarde opened this issue Jan 11, 2019 · 11 comments
Closed

Minishift start errors out: Unsupported machine type #12

aditya-konarde opened this issue Jan 11, 2019 · 11 comments

Comments

@aditya-konarde
Copy link

Logs:

[akonarde@katana minishift]$ ./minishift.sh start
error: Failed to start domain test1-master-0
error: internal error: process exited while connecting to monitor: 2019-01-11T08:49:14.135349Z qemu-system-x86_64: -machine accel=kvm: unsupported machine type
Use -machine help to list supported machines

error: Failed to start domain test1-worker-0-vqgct
error: internal error: process exited while connecting to monitor: 2019-01-11T08:49:14.496042Z qemu-system-x86_64: -machine pc-i440fx-2.11,accel=kvm,usb=off,dump-guest-core=off: unsupported machine type
Use -machine help to list supported machines

Let me know if any other debugging data is needed.

@gbraad
Copy link
Collaborator

gbraad commented Jan 11, 2019

likely you do not have Virtualization Extensions enabled. Can you check your BIOS and see if you can run kvm? You should be able to see a /dev/kvm if the module was able to load.

@gbraad
Copy link
Collaborator

gbraad commented Jan 11, 2019

@praveenkumar ^^

It might also be related to pc-i440fx-2.11 as machine type. Can you show the output from qemu-kvm -machine help here?

@aditya-konarde
Copy link
Author

I am quite sure I have virtualization extensions enabled, will check on next reboot and report back here.

The output for the command you mentioned above, in case it helps

[akonarde@katana ~]$ qemu-kvm -machine help | grep i440fx
pc-i440fx-2.9        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.8        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.7        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.6        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.5        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.4        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.3        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.2        Standard PC (i440FX + PIIX, 1996)
pc                   Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-2.10)
pc-i440fx-2.10       Standard PC (i440FX + PIIX, 1996) (default)
pc-i440fx-2.1        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.0        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.7        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.6        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.5        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.4        Standard PC (i440FX + PIIX, 1996)

Let me know if you want the full output

@gbraad
Copy link
Collaborator

gbraad commented Jan 11, 2019

@praveenkumar we might have to change the machine type to just pc ?

pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-2.10)
pc-i440fx-2.10 Standard PC (i440FX + PIIX, 1996) (default)

@aditya-konarde
What version are you running? I mean host system and qemu ?

@aditya-konarde
Copy link
Author

Fedora release 27 (Twenty Seven)
(Woah I need to update)

qemu version: I tried, and found that I didn't have qemu installed, this should be added to the list of dependencies that the script installs

@gbraad
Copy link
Collaborator

gbraad commented Jan 11, 2019

you can update the script, and find the line as mentioned in #13
Or use virsh edit to modify the VM setup, but clearly your system does not have the 2.11 definition for a 'standard PC'.

@gbraad
Copy link
Collaborator

gbraad commented Jan 11, 2019

@aditya-konarde I expect you can also do rpm -qa qemu-kvm (which likely returns 2.10)

@aditya-konarde
Copy link
Author

qemu-kvm-2.10.2-1.fc27.x86_64

@gbraad
Copy link
Collaborator

gbraad commented Jan 11, 2019

We have tested on current Fedora systems. Fedora 27 is EOL since last year November: https://fedoraproject.org/wiki/End_of_life

Please update and/or as a short term solution, edit the machine type.

@aditya-konarde
Copy link
Author

Yes, I have another machine that has a newer version of Fedora, will try on that one. Can close this issue as obsolete/unsupported I think. Thanks!

@gbraad
Copy link
Collaborator

gbraad commented Jan 11, 2019

We can close this issue, but I will see if we can consider changing the default machine type. it would not matter so much in use I guess.

@gbraad gbraad closed this as completed Jan 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants