[libvirt-users] Live-Migration not possible: error: operation failed: guest CPU doesn't match specification
by Lentes, Bernd
Hi,
i have atwo node HA-cluster with pacemaker, corosync, libvirt and KVM.
Recently i configured a new VirtualDomain which runs fine, but live Migration does not succeed.
This is the error:
VirtualDomain(vm_snipanalysis)[14322]: 2019/09/18_16:56:54 ERROR: snipanalysis: live migration to ha-idg-2 failed: 1
Sep 18 16:56:54 [6970] ha-idg-1 lrmd: notice: operation_finished: vm_snipanalysis_migrate_to_0:14322:stderr [ error: operation failed: guest CPU doesn't match specification: missing features: fma,movbe,xsave,avx,f16c,rdrand,fsgsbase,bmi1,avx2,smep,bmi2,erms,invpcid,md-clear,xsaveopt,abm ]
The two servers are from HP, they are similar, but not identical. Their CPU's are different:
One is "Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz", following /proc/cpuinfo, the other is "Intel(R) Xeon(R) CPU X5675 @ 3.07GHz".
Which guest CPU should i choose for having the guest running smoothly on each host ?
Bernd
--
Bernd Lentes
Systemadministration
Institut für Entwicklungsgenetik
Gebäude 35.34 - Raum 208
HelmholtzZentrum münchen
bernd.lentes(a)helmholtz-muenchen.de
phone: +49 89 3187 1241
phone: +49 89 3187 3827
fax: +49 89 3187 2294
http://www.helmholtz-muenchen.de/idg
Perfekt ist wer keine Fehler macht
Also sind Tote perfekt
Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Prof. Dr. Veronika von Messling
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671
4 years, 11 months
[libvirt-users] About vhost-user-blk support
by Su Hua
Hi, everyone, ask a question, which version can fully support the device type
of qemu hw/block/vhost-user-blk.c? If so, what should the format of the xml
file look like?
Regards
Su
4 years, 12 months
[libvirt-users] Disk backup for live and offline domains
by Tim Schumacher
Hi,
I followed the instructions on the wiki
https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
for a live disk backup. Unfortunately this is not working when the
domain is offline because the active blockcommit throws
error: Requested operation is not valid: domain is not running
For my use case it should be possible for the domain to shut down while
the backup is in progress. I'm looking for a way to shorten the backing
chain after the backup finishes and the domain is offline.
Is there a way to let libvirt decide wether to shorten the backing chain
using blockcommit or some alternative way which works on offline
domains?
As I'm writing this I might as well ask about the current state of
"incremental backups". It seems like dirty bitmaps can keep track of
which blocks changed and just copy those to the backup. Is there some
libvirt command-line frontend for that or is it planned for the future?
Thanks.
- Tim
4 years, 12 months
[libvirt-users] Disk backup for live and offline domains
by Tim Schumacher
Hi,
I followed the instructions on the wiki
https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
for a live disk backup. Unfortunately this is not working when the
domain is offline because the active blockcommit throws
error: Requested operation is not valid: domain is not running
For my use case it should be possible for the domain to shut down while
the backup is in progress. I'm looking for a way to shorten the backing
chain after the backup finishes and the domain is offline.
Is there a way to let libvirt decide wether to shorten the backing chain
using blockcommit or some alternative way which works on offline
domains?
As I'm writing this I might as well ask about the current state of
"incremental backups". It seems like dirty bitmaps can keep track of
which blocks changed and just copy those to the backup. Is there some
libvirt command-line frontend for that or is it planned for the future?
Thanks.
- Tim
4 years, 12 months
[libvirt-users] Reg: <operation not permitted><netlink socket><Qemu device>
by bharath paulraj
Hi Team,
I am writing a new device in QEMU, which opens and reads from Netlink
socket from the hypervisor. I need this Netlink socket to support migration
of connection tracking entries during VM Live migration.
If I am using QEMU command directly to launch the VM, then any operation on
Netlink socket works fine. But, If I am using libvirt to create the VM and
attaching the device, then I am getting permission denied error. As I found
out that this is related to SElinux, I added the svirt_t context as
permissive *"semanage permissive -a svirt_t". *With this, I am not
receiving permission denied error, instead i am receiving "operation not
permitted" error.
I changed the user and group field in libvirtd/qemu.conf to root/root. But
still, I am facing the same problem.
Any suggestions to overcome this?
--
Regards,
Bharath
5 years
[libvirt-users] Recover snapshots from qcow images
by Petr Stodulka
Hi guys,
I had to move to the new laptop week ago and I screw migration of my virtual
machines. I recovered my virtual machines on the new laptop (virsh define)
using the backed up xml files, but I am missing any file with metadata about
snapshots. The original storage is cleaned so I cannot take these files
anymore.
Using qemu-info I can see my snapshots inside the qcow images, but libvirt
doesn't know about them:
###########################################
# virsh snapshot-list rhlvm
Name Creation Time State
-------------------------------
# qemu-img info rhlvm.qcow2
image: rhlvm.qcow2
file format: qcow2
virtual size: 25G (26843545600 bytes)
disk size: 2.9G
cluster_size: 65536
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
1 prepared 0 2018-09-05 11:06:06 00:00:00.000
Format specific information:
compat: 1.1
lazy refcounts: true
refcount bits: 16
corrupt: false
###########################################
Is there any nice way to regenerate snapshot metadata for libvirt from
the data inside qcow images? I have bunch of VMs so if there is nice way
how to recover those data, you will make me really happy :)
Thanks,
--
Petr Stodulka
OS & Application Modernization
IRC nicks: pstodulk, skytak
Software Engineer
Red Hat Czech s.r.o.
5 years
[libvirt-users] KVM NAT stops from working
by Francesc Guasch
Hi. First of all thank you for the work you are doing with libvirt.
I am not sure this is the right place to ask, I'd appreciate
if you can give me any hint or directions.
I have several similar KVM Linux boxes and one of them has a really
strange behavior with the KVM NAT: It just suddenly stops from
working.
This is a Linux Ubuntu Server 19.04 with
- libvirt-bin 4.0.0
- qemu-kvm 1:2.11
Everything works fine and then suddenly the virtual machines
can't reach outside. If I run a tcpdump in the host I see
the NAT isn't working.
When the server just boots I can see the packets with the
server address going out:
x.y.z.w.49138 > 8.8.8.8.53
Then, it may be some hours or days later, instead the server
address I see the internal domains address:
192.168.122.33.19132 > 8.8.8.8.53
^^^^^^^^^^^^^^
I try to restart the iptables but it won't help.
Any hints ? Thank you very much
5 years