virt-install error while trying to create a new image

Manuel Sopena Ballesteros manuel.sb at garvan.org.au
Tue Feb 5 22:45:27 UTC 2019


Dear Openstack community,

I am trying to create a new image for Ironic. I followed the documentation but got an error with virt-install.

Please note:

The OS has been reinstalled
The host is a physical machine
BIOS has virtualization enabled
I changed /etc/libvirt/qemu.conf group from root to kvm following some linux forum instructions about this error but the issue persists


# virt-install --virt-type kvm --name centos --ram 1024   --disk /tmp/centos.qcow2,format=qcow2   --network network=default   --graphics vnc,listen=0.0.0.0 --noautoconsole   --os-type=linux --os-variant=centos7.0   --location=/root/CentOS-7-x86_64-NetInstall-1810.iso



Starting install...

Retrieving file .treeinfo...                                                                                                                                                                                                          |    0 B  00:00:00 Retrieving file content...                                                                                                                                                                                                            |    0 B  00:00:00 Retrieving file vmlinuz...                                                                                                                                                                                                            | 6.3 MB  00:00:00 Retrieving file initrd.img...                                                                                                                                                                                                         |  50 MB  00:00:00 ERROR    unsupported configuration: CPU mode 'custom' for x86_64 kvm domain on x86_64 host is not supported by hypervisor Domain installation does not appear to have been successful.

If it was, you can restart your domain by running:

  virsh --connect qemu:///system start centos otherwise, please restart your installation.

Any thoughts?

Thank you very much

Manuel Sopena Ballesteros | Big data Engineer
Garvan Institute of Medical Research
The Kinghorn Cancer Centre, 370 Victoria Street, Darlinghurst, NSW 2010
T: + 61 (0)2 9355 5760 | F: +61 (0)2 9295 8507 | E: manuel.sb at garvan.org.au<mailto:manuel.sb at garvan.org.au>

NOTICE
Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution of viruses or similar in electronic communications. This notice should not be removed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190205/adadbf2a/attachment-0001.html>


More information about the openstack-discuss mailing list