[libvirt] bug, libvirt, internal error

Hi, I'm having a problem with libvirt. Since a few days, when I try to create a virtual machine I get the following error and I could not solve it " Imposible completar la instalación: 'internal error: Cannot find suitable CPU model for given data' " ------------------------------------------------------------------------------------------------------------- Detalles: imposible completar la instalación: 'internal error: Cannot find suitable CPU model for given data' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 90, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/create.py", line 2277, in _do_async_install guest.start_install(meter=meter) File "/usr/share/virt-manager/virtinst/guest.py", line 501, in start_install noboot) File "/usr/share/virt-manager/virtinst/guest.py", line 416, in _create_guest dom = self.conn.createLinux(start_xml or final_xml, 0) File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3606, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: internal error: Cannot find suitable CPU model for given data ------------------------------------------------------------------------------------------------------------- I tried deleting the / var / cache / libvirt / qemu / capabilities / directory, and restarting libvirt but it did not work. I have other virtual machines on the physical server and they work fine, but I can not create new ones. How can i fix this Thank you

Hello. On Thu, Dec 01, 2016 at 18:37:02 -0500, CESAR DAVID VASQUEZ ROMERO wrote:
Hi, I'm having a problem with libvirt.
What version of libvirt and virt-manager do you use?
Since a few days, when I try to create a virtual machine I get the following error and I could not solve it
Did anything change on the host before you started seeing this error, was libvirt or virt-manager upgraded?
" Imposible completar la instalación: 'internal error: Cannot find suitable CPU model for given data' "
OK, we need to get more details to be able to help you. Could you please do the following: 1. run the following command (after installing cpuid) and send us the output (root is NOT required to run the script): http://libvirt.org/git/?p=libvirt.git;a=blob;f=tests/cputestdata/cpu-gather.... 2. enable libvirtd debug logs as described at http://wiki.libvirt.org/page/DebugLogs, restart libvirtd, try creating new VM in virt-manager and when it fails send us /var/log/libvirt/libvirtd.log and ~/.virt-manager/virt-manager.log 3. you probably want to disable libvirtd debug log and restart the service once you're done
I have other virtual machines on the physical server and they work fine, but I can not create new ones.
Are these machines already running or are they turned off, but can be started? Thanks. Jirka

On Thu, Dec 01, 2016 at 06:37:02PM -0500, CESAR DAVID VASQUEZ ROMERO wrote:
Hi, I'm having a problem with libvirt.
Since a few days, when I try to create a virtual machine I get the following error and I could not solve it
" Imposible completar la instalación: 'internal error: Cannot find suitable CPU model for given data' "
------------------------------------------------------------------------------------------------------------- Detalles:
imposible completar la instalación: 'internal error: Cannot find suitable CPU model for given data'
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 90, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/create.py", line 2277, in _do_async_install guest.start_install(meter=meter) File "/usr/share/virt-manager/virtinst/guest.py", line 501, in start_install noboot) File "/usr/share/virt-manager/virtinst/guest.py", line 416, in _create_guest dom = self.conn.createLinux(start_xml or final_xml, 0) File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3606, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: internal error: Cannot find suitable CPU model for given data
-------------------------------------------------------------------------------------------------------------
I tried deleting the / var / cache / libvirt / qemu / capabilities / directory, and restarting libvirt but it did not work.
First read the error message. It's probably not "internal" error, you just have CPU specification that you can't use with your current system.
I have other virtual machines on the physical server and they work fine, but I can not create new ones.
How can i fix this
At least you could post the domain XML. Well, since you have two domains and one of them works and the other one doesn't try comparing the XMLs and find a difference related to the error message (hint: CPU).
Thank you
You're welcome =)
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
participants (3)
-
CESAR DAVID VASQUEZ ROMERO
-
Jiri Denemark
-
Martin Kletzander