RE: first time using kvm virt-install and getting an error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear kvm community,

I am learning Openstack/Ironic and tried to build my own image, following the documentation I have to run virt-install with no success, below is the output from running my command:

# 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.

# getent group kvm
kvm:x:36:qemu,root

# ll /etc/libvirt/qemu.conf
-rw-r--r--. 1 root kvm 30306 Feb  5 09:33 /etc/libvirt/qemu.conf

# grep -E '(vmx|svm)' /proc/cpuinfo
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 intel_ppin intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local ibpb ibrs stibp dtherm ida arat pln pts spec_ctrl intel_stibp

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@xxxxxxxxxxxxx

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.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux