Re: [libvirt-users] Live-Migration not possible: error: operation failed: guest CPU doesn't match specification

2019-09-18 Thread Ján Tomko
On Wed, Sep 18, 2019 at 05:07:23PM +0200, Lentes, Bernd wrote: Hi, Hello, 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)

Re: [libvirt-users] live migration via unix socket

2018-10-12 Thread David Vossel
On Fri, Oct 12, 2018 at 4:50 AM Martin Kletzander wrote: > On Mon, Sep 17, 2018 at 02:17:39PM +0200, Fabian Deutsch wrote: > >On Fri, Sep 14, 2018 at 6:55 PM David Vossel wrote: > >> Any chance we can get the safety check removed for the next Libvirt > >> release? Does there need to be an issue

Re: [libvirt-users] live migration via unix socket

2018-10-12 Thread Martin Kletzander
On Mon, Sep 17, 2018 at 02:17:39PM +0200, Fabian Deutsch wrote: On Fri, Sep 14, 2018 at 6:55 PM David Vossel wrote: Any chance we can get the safety check removed for the next Libvirt release? Does there need to be an issue opened to track this? Regardless of Martin's answer :): Please file

Re: [libvirt-users] live migration and config

2018-10-03 Thread Dmitry Melekhov
Hello! We tested this and problem is not in libvirt, but in pacemaker's virtualdomain. Thank you! 13.09.2018 10:35, Dmitry Melekhov пишет: Hello! After some mistakes yesterday we ( me and my colleague ) think that it will be wise for libvirt to check config file existence on remote side

Re: [libvirt-users] live migration via unix socket

2018-09-17 Thread Fabian Deutsch
On Fri, Sep 14, 2018 at 6:55 PM David Vossel wrote: > > > On Wed, Sep 12, 2018 at 6:59 AM, Martin Kletzander > wrote: > >> On Mon, Sep 10, 2018 at 02:38:48PM -0400, David Vossel wrote: >> >>> On Wed, Aug 29, 2018 at 4:55 AM, Daniel P. Berrangé >> > >>> wrote: >>> >>> On Tue, Aug 28, 2018 at 05:0

Re: [libvirt-users] live migration via unix socket

2018-09-14 Thread David Vossel
On Wed, Sep 12, 2018 at 6:59 AM, Martin Kletzander wrote: > On Mon, Sep 10, 2018 at 02:38:48PM -0400, David Vossel wrote: > >> On Wed, Aug 29, 2018 at 4:55 AM, Daniel P. Berrangé >> wrote: >> >> On Tue, Aug 28, 2018 at 05:07:18PM -0400, David Vossel wrote: >>> > Hey, >>> > >>> > Over in KubeVirt

Re: [libvirt-users] live migration and config

2018-09-14 Thread Dmitry Melekhov
14.09.2018 16:15, Jiri Denemark пишет: On Fri, Sep 14, 2018 at 16:00:43 +0400, Dmitry Melekhov wrote: 14.09.2018 15:43, Jiri Denemark пишет: On Thu, Sep 13, 2018 at 19:37:00 +0400, Dmitry Melekhov wrote: 13.09.2018 18:57, Jiri Denemark пишет: On Thu, Sep 13, 2018 at 18:38:57 +0400, Dmitry Mel

Re: [libvirt-users] live migration and config

2018-09-14 Thread Jiri Denemark
On Fri, Sep 14, 2018 at 16:00:43 +0400, Dmitry Melekhov wrote: > 14.09.2018 15:43, Jiri Denemark пишет: > > On Thu, Sep 13, 2018 at 19:37:00 +0400, Dmitry Melekhov wrote: > >> > >> 13.09.2018 18:57, Jiri Denemark пишет: > >>> On Thu, Sep 13, 2018 at 18:38:57 +0400, Dmitry Melekhov wrote: > 13.

Re: [libvirt-users] live migration and config

2018-09-14 Thread Dmitry Melekhov
14.09.2018 15:43, Jiri Denemark пишет: On Thu, Sep 13, 2018 at 19:37:00 +0400, Dmitry Melekhov wrote: 13.09.2018 18:57, Jiri Denemark пишет: On Thu, Sep 13, 2018 at 18:38:57 +0400, Dmitry Melekhov wrote: 13.09.2018 17:47, Jiri Denemark пишет: On Thu, Sep 13, 2018 at 10:35:09 +0400, Dmitry Me

Re: [libvirt-users] live migration and config

2018-09-14 Thread Jiri Denemark
On Thu, Sep 13, 2018 at 19:37:00 +0400, Dmitry Melekhov wrote: > > > 13.09.2018 18:57, Jiri Denemark пишет: > > On Thu, Sep 13, 2018 at 18:38:57 +0400, Dmitry Melekhov wrote: > >> > >> 13.09.2018 17:47, Jiri Denemark пишет: > >>> On Thu, Sep 13, 2018 at 10:35:09 +0400, Dmitry Melekhov wrote: > >>

Re: [libvirt-users] live migration and config

2018-09-13 Thread Dmitry Melekhov
13.09.2018 18:57, Jiri Denemark пишет: On Thu, Sep 13, 2018 at 18:38:57 +0400, Dmitry Melekhov wrote: 13.09.2018 17:47, Jiri Denemark пишет: On Thu, Sep 13, 2018 at 10:35:09 +0400, Dmitry Melekhov wrote: After some mistakes yesterday we ( me and my colleague ) think that it will be wise for

Re: [libvirt-users] live migration and config

2018-09-13 Thread Jiri Denemark
On Thu, Sep 13, 2018 at 18:38:57 +0400, Dmitry Melekhov wrote: > > > 13.09.2018 17:47, Jiri Denemark пишет: > > On Thu, Sep 13, 2018 at 10:35:09 +0400, Dmitry Melekhov wrote: > >> After some mistakes yesterday we ( me and my colleague ) think that it > >> will be wise for libvirt to check config

Re: [libvirt-users] live migration and config

2018-09-13 Thread Dmitry Melekhov
13.09.2018 17:47, Jiri Denemark пишет: On Thu, Sep 13, 2018 at 10:35:09 +0400, Dmitry Melekhov wrote: After some mistakes yesterday we ( me and my colleague ) think that it will be wise for libvirt to check config file existence on remote side Which config file? VM config file, namely qemu.

Re: [libvirt-users] live migration and config

2018-09-13 Thread Jiri Denemark
On Thu, Sep 13, 2018 at 10:35:09 +0400, Dmitry Melekhov wrote: > After some mistakes yesterday we ( me and my colleague ) think that it > will be wise for libvirt to check config file existence on remote side Which config file? > and through error if not, > > before migrating, otherwise migrat

Re: [libvirt-users] live migration via unix socket

2018-09-12 Thread Martin Kletzander
On Mon, Sep 10, 2018 at 02:38:48PM -0400, David Vossel wrote: On Wed, Aug 29, 2018 at 4:55 AM, Daniel P. Berrangé wrote: On Tue, Aug 28, 2018 at 05:07:18PM -0400, David Vossel wrote: > Hey, > > Over in KubeVirt we're investigating a use case where we'd like to perform > a live migration within

Re: [libvirt-users] live migration via unix socket

2018-09-10 Thread David Vossel
On Wed, Aug 29, 2018 at 4:55 AM, Daniel P. Berrangé wrote: > On Tue, Aug 28, 2018 at 05:07:18PM -0400, David Vossel wrote: > > Hey, > > > > Over in KubeVirt we're investigating a use case where we'd like to > perform > > a live migration within a network namespace that does not provide > libvirtd

Re: [libvirt-users] live migration via unix socket

2018-08-29 Thread Daniel P . Berrangé
On Tue, Aug 28, 2018 at 05:07:18PM -0400, David Vossel wrote: > Hey, > > Over in KubeVirt we're investigating a use case where we'd like to perform > a live migration within a network namespace that does not provide libvirtd > with network access. In this scenario we would like to perform a live >

Re: [libvirt-users] Live Migration Issue

2017-11-07 Thread Marc-Aurèle Brothier - Exoscale
Hi, I would suspect that you don't run the same version on the hosts and you hit an incompatibilty issue. Another question: does the SSH login works without passphrase? Marc-Aurèle On Mon, 2017-11-06 at 08:43 -0500, Hans Knecht wrote: > Sorry, ctrl entered. > > I’m hoping someone here can hel

Re: [libvirt-users] Live Migration Issue

2017-11-06 Thread Hans Knecht
Sorry, ctrl entered. I'm hoping someone here can help me figure out what's going on here. I've got two CentOS 7 hosts with shared storage that I'm trying to do live migrations between and I'm running into an error with VMs that were originally created on a CentOS 6 host and then moved the C

Re: [libvirt-users] Live migration with non-shared ZFS volume

2017-04-28 Thread Martin Kletzander
On Fri, Apr 28, 2017 at 12:06:11PM +0200, Daniel Kučera wrote: Hi Martin, in the meantime, I've found a solution which I consider at least acceptable: 1. create zfs snapshot of domain disk (/dev/zstore/test-volume) 2. save original XML domain definition 3. create snapshot in libvirt like this

Re: [libvirt-users] Live migration with non-shared ZFS volume

2017-04-28 Thread Daniel Kučera
Hi Martin, in the meantime, I've found a solution which I consider at least acceptable: 1. create zfs snapshot of domain disk (/dev/zstore/test-volume) 2. save original XML domain definition 3. create snapshot in libvirt like this: virsh snapshot-create --xmlfile snap.xml --disk-only --no-metad

Re: [libvirt-users] Live migration with non-shared ZFS volume

2017-04-28 Thread Martin Kletzander
On Tue, Apr 04, 2017 at 12:04:42PM +0200, Daniel Kučera wrote: Hi all, Hi, I caught your mail in my Spam folder for some reason, maybe the same happened for others. I don't have that deep knowledge of the snapshots, but I'm replying so that if someone else has it in Spam and they have more i

Re: [libvirt-users] (Live) Migration safe vs. unsafe

2017-04-03 Thread Michal Privoznik
On 04/03/2017 10:07 AM, Michael Hierweck wrote: Hi all, virsh checks whether a (live) migration is safe or unsafe. When a migration is considered to be unsafe it is rejected unless the --unsafe option is prodivided. As a part of those checks virsh considers the cache settings for the underlying

Re: [libvirt-users] Live migration - backing file

2016-03-03 Thread Marc-Aurèle Brothier - Exoscale
I forgot to say: I'm using libvirt 1.2.15 > On 03 Mar 2016, at 11:06, Marc-Aurèle Brothier - Exoscale > wrote: > > Hi! > > I'm testing the live migration on libvirt + KVM, the VMs are using non-shared > local storage only. If I run a live migration with --copy-storage-full, the > final dis

Re: [libvirt-users] Live migration & storage copy broken since 1.2.17

2015-08-31 Thread Antoine Millet
Hi, I've done a git bisec between v1.2.16 and v1.2.17 to try to debug this problem myself, and I found that the "problem" comes from the following commit: 93a19e283e5a147d147d843838be63b6a68d qemu: migration: selective block device migration So it seems that I miss something :-). This commi

Re: [libvirt-users] Live Migration failure: An error occurred, but the cause is unknown

2015-05-14 Thread Koniszewski, Pawel
Hello Rock, Can you turn on debug logs in nova.conf and post it on, e.g., http://paste.openstack.org/ ? Also, please attach logs from libvirt, usually /var/log/libvirt/libvirtd.log (from source host and destination host). Kind Regards, Pawel Koniszewski From: libvirt-users-boun...@r

Re: [libvirt-users] Live Migration failure: this function is not supported by the connection driver: virDomainMigrateToURI2

2015-05-07 Thread Jim Fehlig
Michal Privoznik wrote: > On 07.05.2015 11:26, rock...@zhaoxin.com wrote: > >> Hi everyone, >> >> I’m testing the new openstack kilo on ubuntu15.04 and hypervisor is xen4.5. >> I can creat instance successfully , but live migration is always failed. >> Error report like this: >> >> 2015-05-07 1

Re: [libvirt-users] Live Migration failure: this function is not supported by the connection driver: virDomainMigrateToURI2

2015-05-07 Thread Michal Privoznik
On 07.05.2015 11:26, rock...@zhaoxin.com wrote: > Hi everyone, > > I’m testing the new openstack kilo on ubuntu15.04 and hypervisor is xen4.5. > I can creat instance successfully , but live migration is always failed. > Error report like this: > > 2015-05-07 10:47:22.135 1331 ERROR nova.virt.lib

Re: [libvirt-users] live migration - qemu hook

2015-03-05 Thread Jiri Denemark
On Wed, Mar 04, 2015 at 10:54:21 +0100, Martin Klepáč wrote: > Hi, > > I am using qemu hook script to track status of VM live migration - libvirt > 1.2.9 as included in Debian Wheezy backports. > > I would like to be informed of the fact that VM migration has successfully > finished as soon as po

Re: [libvirt-users] live migration

2015-02-24 Thread Thomas Stein
On Tuesday 24 February 2015 17:47:11 you wrote: > On Tuesday 24 February 2015 16:58:22 you wrote: > > On 24.02.2015 16:10, Thomas Stein wrote: > > > On Tuesday 24 February 2015 14:56:10 Michal Privoznik wrote: > > >> On 24.02.2015 14:29, Thomas Stein wrote: > > >>> Hola. > > >>> > > >>> Just tried

Re: [libvirt-users] live migration

2015-02-24 Thread Thomas Stein
On Tuesday 24 February 2015 16:58:22 you wrote: > On 24.02.2015 16:10, Thomas Stein wrote: > > On Tuesday 24 February 2015 14:56:10 Michal Privoznik wrote: > >> On 24.02.2015 14:29, Thomas Stein wrote: > >>> Hola. > >>> > >>> Just tried a live migration after fixing the pc-q35-2.1 error. Now i > >

Re: [libvirt-users] live migration

2015-02-24 Thread Michal Privoznik
On 24.02.2015 16:10, Thomas Stein wrote: > On Tuesday 24 February 2015 14:56:10 Michal Privoznik wrote: >> On 24.02.2015 14:29, Thomas Stein wrote: >>> Hola. >>> >>> Just tried a live migration after fixing the pc-q35-2.1 error. Now i >>> have new problem. It seems during live migration only the ra

Re: [libvirt-users] live migration

2015-02-24 Thread Thomas Stein
On Tuesday 24 February 2015 14:56:10 Michal Privoznik wrote: > On 24.02.2015 14:29, Thomas Stein wrote: > > Hola. > > > > Just tried a live migration after fixing the pc-q35-2.1 error. Now i > > have new problem. It seems during live migration only the ram gets > > migrated. I use the following co

Re: [libvirt-users] live migration

2015-02-24 Thread Michal Privoznik
On 24.02.2015 14:29, Thomas Stein wrote: > Hola. > > Just tried a live migration after fixing the pc-q35-2.1 error. Now i > have new problem. It seems during live migration only the ram gets > migrated. I use the following command. > > # virsh migrate --live domain qemu+ssh://newhost/system > --

Re: [libvirt-users] live migration taking forever

2015-01-27 Thread Jiri Denemark
On Thu, Jan 22, 2015 at 22:40:59 +0400, Andrey Korolyov wrote: > On Thu, Jan 22, 2015 at 9:11 PM, Xu (Simon) Chen wrote: > > Hey folks, > > > > I am running libvirt 1.2.4 and qemu 2.1 on a 3.14.27 kernel. I've found that > > live migrating a relatively large VM (16 cores and 64G ram) is taking > >

Re: [libvirt-users] live migration taking forever

2015-01-22 Thread Brian Rak
If the guest is modifying memory faster then your network connection can sync it, the migration will never finish. I've worked around this in the past by running 'virsh suspend' on the source host. This will temporarily stop the guest, and allow the migration to finish. On 1/22/2015 1:11 PM

Re: [libvirt-users] live migration taking forever

2015-01-22 Thread Andrey Korolyov
On Thu, Jan 22, 2015 at 9:11 PM, Xu (Simon) Chen wrote: > Hey folks, > > I am running libvirt 1.2.4 and qemu 2.1 on a 3.14.27 kernel. I've found that > live migrating a relatively large VM (16 cores and 64G ram) is taking > forever - close to 15 hours now, and still not done... > > With "lsof -i",

Re: [libvirt-users] live migration to localhost with lvm based storage

2014-10-10 Thread Eric Blake
On 10/09/2014 03:01 PM, Vasiliy Tolstov wrote: > I have lvm based (thin pool) storage on local disks. I need to move > vps from one vg on one disk to another. Does it possible to migrate to > localhost with blockcopy migration to another vg? > > I'm understand that i can move lv from one vg to ano

Re: [libvirt-users] Live migration process in src/qemu_driver.ca

2014-03-20 Thread Eric Blake
On 03/20/2014 01:43 PM, Faizul Bari wrote: > Thanks Eric. [please don't top-post on technical lists] > > So, I need to look at QEMU. Do you know which files/functions should I look > at? Here's a recent thread that is proposing to expose additional migration statistics: https://lists.gnu.org/ar

Re: [libvirt-users] Live migration process in src/qemu_driver.ca

2014-03-20 Thread Faizul Bari
Thanks Eric. So, I need to look at QEMU. Do you know which files/functions should I look at? ​-- Faiz​ On Thu, Mar 20, 2014 at 12:41 PM, Eric Blake wrote: > On 03/20/2014 10:05 AM, Faizul Bari wrote: > > ​Hello, > > > > I have been trying to track different phases of a live migration > proces

Re: [libvirt-users] Live migration process in src/qemu_driver.ca

2014-03-20 Thread Eric Blake
On 03/20/2014 10:05 AM, Faizul Bari wrote: > ​Hello, > > I have been trying to track different phases of a live migration process. I > am using libvirt ​with qemu-kvm. I am issuing migration commands using > virsh. > > Now, I want to measure the time spent in each phase of live migration, > e.g.,

Re: [libvirt-users] Live migration (kvm) not working if any I/O operation is in progress

2014-03-04 Thread Eric Blake
On 03/04/2014 11:12 AM, Pasquale Dir wrote: > Hello, > I'd like to know if this is an hypervisor related problem or a libvirt one. > > I did this experiment: on VM I started watching a video on youtube. > While video was in progress I started migration. > Migration did not complete until video was

Re: [libvirt-users] Live migration finish threshold

2014-01-16 Thread Eric Blake
On 01/16/2014 09:23 AM, Joaquim Barrera wrote: > Hello everyone, > > Can somebody point where I can find the code where libvirt makes the > decision to complete a live migration? Libvirt doesn't make the decision, qemu does. So you'll have to look in the qemu code. Libvirt just reacts to the ch

Re: [libvirt-users] Live Migration Without Shared Storage

2013-06-19 Thread Michal Privoznik
On 19.06.2013 11:28, cmcc.dylan wrote: > I‘m very exited to hear that qemu has supported live migration > without shared storage and I also have found some persons give their > experiments, for example: (http://blog.allanglesit.com/2011/08/linux- > kvm-management-live-migration-without-shared-s

Re: [libvirt-users] Live migration: Xen to KVM

2013-02-05 Thread Eric Blake
On 02/05/2013 08:25 AM, Анатолий Степанов wrote: > Hello! > > Is there some way to migrate guest OS from one Xen-host to another KVM-host > using libvirt? > (live migration is highly desirable) Live migration: no. Offline migration: yes - you may want to check out the virt-v2v project for this. h

Re: [libvirt-users] Live Migration and KSM merging

2013-02-01 Thread Eric Blake
On 02/01/2013 12:08 PM, James wrote: > Hi, > > Could anyone provide (or point me to) information on how KSM merging > behaves when performing live migrations? Does libvirt perform any > special work to trigger KSM scanning of the migrated pages? That's probably a question better asked to the qemu

Re: [libvirt-users] Live migration with non-shared storage leads to corrupted file system

2012-11-25 Thread Xinglong Wu
Thanks for the comments. Forgot to mention it but yes, I do have "cache=none" configured for the migrated domain, as in my XML file, and doubled-checked before and after the migration. In fact, if cache is not set to "none", virsh will issue a warning and refuse to do the live migration. B

Re: [libvirt-users] Live migration with non-shared storage leads to corrupted file system

2012-11-25 Thread Henrik Ahlgren
On Sun, Nov 25, 2012 at 06:57:19PM +0800, Xinglong Wu wrote: > Is there anybody having the similiar experience with live migration on > non-shared storage? It apparently leads to failed migrations in > libvirt but no cirtical errors ever reported. Make sure you have your driver cache set to "none"

Re: [libvirt-users] live migration

2012-07-10 Thread Eric Blake
On 07/10/2012 06:46 AM, hcyy wrote: > Hello, everybody. I use NFS to do live migration。After input virsh > --connect=qemu:///system --quiet migrate --live vm12 qemu+tcp://pcmk-1/system > (vm12 is vm name,/pcmk-1 is host name)it use almost 10s for preparation. > During the 10s,the vm is sti

Re: [libvirt-users] live migration error without shared storage

2011-10-28 Thread Eric Blake
On 10/28/2011 12:54 AM, Luengffy XUE wrote: As to the actual error, I'm not sure if I can offer advice until I try to reproduce it, but I do know that --copy-storage-all hasn't received as much testing. Make sure that an empty file exists on the destination prior to the migration attempt, in

Re: [libvirt-users] live migration error without shared storage

2011-10-28 Thread Luengffy XUE
2011/10/28 Eric Blake > On 10/27/2011 09:37 PM, Luengffy XUE wrote: > >> command: >> >> virsh migrate --live --copy-storage-all vm >> qemu+ssh://destinationHost/**system >> >> error >> : unexpected failure >> >> PS log file in the jpg >> > > Your jpg takes up a lot of bandwidth; it would be more

Re: [libvirt-users] live migration error without shared storage

2011-10-27 Thread Eric Blake
On 10/27/2011 09:37 PM, Luengffy XUE wrote: command: virsh migrate --live --copy-storage-all vm qemu+ssh://destinationHost/system error : unexpected failure PS log file in the jpg Your jpg takes up a lot of bandwidth; it would be more efficient if you copy and paste the text from your cons

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Osier Yang
于 2011年10月27日 11:16, Luengffy XUE 写道: > Oh, I think I can describe the problem more specific. > > 1 Creat the vm in the source host and it run well. > 2 Create the image in the destination and change the user and group 2)的意思是你自己在dest上创建了同名的image么? > 3 Open TCP socket in the destination host. 你是咋

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Luengffy XUE
Oh, I think I can describe the problem more specific. 1 Creat the vm in the source host and it run well. 2 Create the image in the destination and change the user and group 3 Open TCP socket in the destination host. In the source host I use the different command as 1 $ virsh migrate

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Osier Yang
? 2011?10?26? 22:22, Luengffy XUE ??: Hi, all I migrate a vm from source host to the destination host. I am sure every part is ok for migration. 1 Create the image in the destination and change the user and group. 2 Open TCP socket in the destination host. and I migrate in the source host co

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread Luengffy XUE
I find this error is cause by this source C --savevm.c http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/savevm.c?v=qemu-kvm-0.12.3 I do not understand it. Anyone who develop it? 2011/10/26 vmnode guy > Try this, i am not sure it will works.. > $ virsh -c qemu+ssh://destinationHost/sy

Re: [libvirt-users] live migration without shared storage problems.

2011-10-26 Thread vmnode guy
Try this, i am not sure it will works.. $ virsh -c qemu+ssh://destinationHost/system migrate --live --copy-storage-all vmubuntu But it works for me for below option:- $ virsh -c qemu+ssh://destinationHost/system migrate list Regards, Peter On Wed, Oct 26, 2011 at 10:22 PM, Luengffy XUE wrote:

Re: [libvirt-users] Live Migration using Libvirt migrate()

2011-10-11 Thread Eric Blake
On 10/10/2011 04:28 AM, PREETHI RAMESH wrote: Hi, This is a follow up of the mail regd migration I'd posted a few days ago. My scenario: I'm creating two virtual machines images from an Ubuntu 10.10 iso of RAM size 128 and 700 MB. Using the migrate() Which language binding? Show the actual c

Re: [libvirt-users] Live Migration UDP implementation

2011-05-23 Thread Eric Blake
On 05/23/2011 11:51 AM, prakash hr wrote: > Hi all, > For my academic project to analyse the Performance of transport protocols in > Live Migration of Virtual Machines.I have configured the live migration > using tcp and I succeed the live migration. > Now for my further remaining project work I ne