Skip to contentSkip to conversation

virsh -c qemu+ssh://root@source/system migrate --domain client --desturi qemu+ssh://root@destination/system fails

Qemu-devel Thomas Schweikle 3 participants 5 messages May 6, 2012 – Aug 22, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

*** This bug is a duplicate of bug 989452 ***

    https://bugs.launchpad.net/bugs/989452

** This bug has been marked a duplicate of bug 989452
oneiric's virt-viewer can't connect to console of precise's virtual machines

Signature · 47 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/988291

Title:
  virsh -c qemu+ssh://root@source/system migrate --domain client
  --desturi qemu+ssh://root@destination/system fails

Status in QEMU:
  New
Status in “libvirt” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  Confirmed

Bug description:
  After upgrading from Ubuntu 11.10 to 12.04 migrating a VM from a not migrated host (Ubuntu 11.10)  to a migrated host (Ubuntu 12.04) fails:
  Only error message found:
  qemuMigrationUpdateJobStatus:890 : operation failed: migration job: unexpectedly failed

  Ubuntu 11.10 uses: libvirt-bin 0.9.2
  Ubuntu 12.04 uses: libvirt-bin 0.9.8

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libvirt-bin 0.9.8-2ubuntu17
  Uname: Linux 3.2.16 x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Wed Apr 25 14:12:29 2012
  InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   TERM=screen-bce
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=de_DE.UTF-8
  SourcePackage: libvirt
  UpgradeStatus: Upgraded to precise on 2012-04-25 (0 days ago)
  mtime.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: 2012-04-25T12:40:42.878700
  mtime.conffile..etc.default.libvirt.bin: 2011-01-25T16:19:29.769778
  mtime.conffile..etc.libvirt.libvirtd.conf: 2012-04-25T13:57:06.138857
  mtime.conffile..etc.libvirt.lxc.conf: 2011-01-25T16:11:34.670971
  mtime.conffile..etc.libvirt.qemu.conf: 2012-04-25T12:18:38.835193
  mtime.conffile..etc.sasl2.libvirt.conf: 2011-01-26T17:57:01

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/988291/+subscriptions
#2 lore raw
In reply to a message not in the archive

*** This bug is a duplicate of bug 989452 ***

    https://bugs.launchpad.net/bugs/989452
Quoted 2 lines

Were you able to migrate VMs between oneiric hosts?
That fails for me as well, and I believe both are due to bug 869553 which never got SRUd to oneiric.

Between two oreiric hosts this had worked all the time. It does to between two precise hosts, but not between an oneiric and a precise host. As far as I see, this is related to changes between 0.9.2 and 0.9.8 of libvirtd, rendering this unusable. To make it work again there are two possibilities: migrate oneiric to 0.9.8 (at least) of libvirtd, or downgrade precise to 0.9.2. I'd prefer an upgrade to oneiric *and* precise to use 0.9.11 of libvirtd. Such an upgrade can be done while VM are running.

Signature · 47 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/988291

Title:
  virsh -c qemu+ssh://root@source/system migrate --domain client
  --desturi qemu+ssh://root@destination/system fails

Status in QEMU:
  New
Status in “libvirt” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  Confirmed

Bug description:
  After upgrading from Ubuntu 11.10 to 12.04 migrating a VM from a not migrated host (Ubuntu 11.10)  to a migrated host (Ubuntu 12.04) fails:
  Only error message found:
  qemuMigrationUpdateJobStatus:890 : operation failed: migration job: unexpectedly failed

  Ubuntu 11.10 uses: libvirt-bin 0.9.2
  Ubuntu 12.04 uses: libvirt-bin 0.9.8

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libvirt-bin 0.9.8-2ubuntu17
  Uname: Linux 3.2.16 x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Wed Apr 25 14:12:29 2012
  InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   TERM=screen-bce
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=de_DE.UTF-8
  SourcePackage: libvirt
  UpgradeStatus: Upgraded to precise on 2012-04-25 (0 days ago)
  mtime.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: 2012-04-25T12:40:42.878700
  mtime.conffile..etc.default.libvirt.bin: 2011-01-25T16:19:29.769778
  mtime.conffile..etc.libvirt.libvirtd.conf: 2012-04-25T13:57:06.138857
  mtime.conffile..etc.libvirt.lxc.conf: 2011-01-25T16:11:34.670971
  mtime.conffile..etc.libvirt.qemu.conf: 2012-04-25T12:18:38.835193
  mtime.conffile..etc.sasl2.libvirt.conf: 2011-01-26T17:57:01

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/988291/+subscriptions
#3 lore raw
In reply to a message not in the archive

*** This bug is a duplicate of bug 989452 ***

    https://bugs.launchpad.net/bugs/989452

Turning off gssapi-auth makes it work again: even between oneiric and precise.

Signature · 47 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/988291

Title:
  virsh -c qemu+ssh://root@source/system migrate --domain client
  --desturi qemu+ssh://root@destination/system fails

Status in QEMU:
  New
Status in “libvirt” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  Confirmed

Bug description:
  After upgrading from Ubuntu 11.10 to 12.04 migrating a VM from a not migrated host (Ubuntu 11.10)  to a migrated host (Ubuntu 12.04) fails:
  Only error message found:
  qemuMigrationUpdateJobStatus:890 : operation failed: migration job: unexpectedly failed

  Ubuntu 11.10 uses: libvirt-bin 0.9.2
  Ubuntu 12.04 uses: libvirt-bin 0.9.8

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libvirt-bin 0.9.8-2ubuntu17
  Uname: Linux 3.2.16 x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Wed Apr 25 14:12:29 2012
  InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   TERM=screen-bce
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=de_DE.UTF-8
  SourcePackage: libvirt
  UpgradeStatus: Upgraded to precise on 2012-04-25 (0 days ago)
  mtime.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: 2012-04-25T12:40:42.878700
  mtime.conffile..etc.default.libvirt.bin: 2011-01-25T16:19:29.769778
  mtime.conffile..etc.libvirt.libvirtd.conf: 2012-04-25T13:57:06.138857
  mtime.conffile..etc.libvirt.lxc.conf: 2011-01-25T16:11:34.670971
  mtime.conffile..etc.libvirt.qemu.conf: 2012-04-25T12:18:38.835193
  mtime.conffile..etc.sasl2.libvirt.conf: 2011-01-26T17:57:01

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/988291/+subscriptions
#4 lore raw
In reply to a message not in the archive

*** This bug is a duplicate of bug 989452 ***

    https://bugs.launchpad.net/bugs/989452

Hi,
How do you turning off gssapi-auth ?

Signature · 47 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/988291

Title:
  virsh -c qemu+ssh://root@source/system migrate --domain client
  --desturi qemu+ssh://root@destination/system fails

Status in QEMU:
  New
Status in “libvirt” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  Confirmed

Bug description:
  After upgrading from Ubuntu 11.10 to 12.04 migrating a VM from a not migrated host (Ubuntu 11.10)  to a migrated host (Ubuntu 12.04) fails:
  Only error message found:
  qemuMigrationUpdateJobStatus:890 : operation failed: migration job: unexpectedly failed

  Ubuntu 11.10 uses: libvirt-bin 0.9.2
  Ubuntu 12.04 uses: libvirt-bin 0.9.8

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libvirt-bin 0.9.8-2ubuntu17
  Uname: Linux 3.2.16 x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Wed Apr 25 14:12:29 2012
  InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   TERM=screen-bce
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=de_DE.UTF-8
  SourcePackage: libvirt
  UpgradeStatus: Upgraded to precise on 2012-04-25 (0 days ago)
  mtime.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: 2012-04-25T12:40:42.878700
  mtime.conffile..etc.default.libvirt.bin: 2011-01-25T16:19:29.769778
  mtime.conffile..etc.libvirt.libvirtd.conf: 2012-04-25T13:57:06.138857
  mtime.conffile..etc.libvirt.lxc.conf: 2011-01-25T16:11:34.670971
  mtime.conffile..etc.libvirt.qemu.conf: 2012-04-25T12:18:38.835193
  mtime.conffile..etc.sasl2.libvirt.conf: 2011-01-26T17:57:01

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/988291/+subscriptions
#5 lore raw
In reply to a message not in the archive

*** This bug is a duplicate of bug 989452 ***

    https://bugs.launchpad.net/bugs/989452

He means disabling kerberos authentication in your SSH client config, whether it be globally in /etc/ssh/ssh_config or ~/.ssh/config, assuming you're using qemu+ssh:// to migrate your VMs. Either way, this does not work for me. I can reproduce this error with:

# virsh migrate --live --verbose --persistent --copy-storage-all vm1
qemu+ssh://[email protected]/system
Signature · 47 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/988291

Title:
  virsh -c qemu+ssh://root@source/system migrate --domain client
  --desturi qemu+ssh://root@destination/system fails

Status in QEMU:
  New
Status in “libvirt” package in Ubuntu:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  Confirmed

Bug description:
  After upgrading from Ubuntu 11.10 to 12.04 migrating a VM from a not migrated host (Ubuntu 11.10)  to a migrated host (Ubuntu 12.04) fails:
  Only error message found:
  qemuMigrationUpdateJobStatus:890 : operation failed: migration job: unexpectedly failed

  Ubuntu 11.10 uses: libvirt-bin 0.9.2
  Ubuntu 12.04 uses: libvirt-bin 0.9.8

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libvirt-bin 0.9.8-2ubuntu17
  Uname: Linux 3.2.16 x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Wed Apr 25 14:12:29 2012
  InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  ProcEnviron:
   TERM=screen-bce
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=de_DE.UTF-8
  SourcePackage: libvirt
  UpgradeStatus: Upgraded to precise on 2012-04-25 (0 days ago)
  mtime.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: 2012-04-25T12:40:42.878700
  mtime.conffile..etc.default.libvirt.bin: 2011-01-25T16:19:29.769778
  mtime.conffile..etc.libvirt.libvirtd.conf: 2012-04-25T13:57:06.138857
  mtime.conffile..etc.libvirt.lxc.conf: 2011-01-25T16:11:34.670971
  mtime.conffile..etc.libvirt.qemu.conf: 2012-04-25T12:18:38.835193
  mtime.conffile..etc.sasl2.libvirt.conf: 2011-01-26T17:57:01

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/988291/+subscriptions