Project

General

Profile

Actions

Feature #1618

closed

libvirt: make sure migration works

Added by Josh Durgin over 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
libvirt
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

I think there's a small patch needed since it assumes the image is a file.


Files

libvirt-kludge.diff (3.15 KB) libvirt-kludge.diff Make all images named rbd/* migratable, whack unit tests with a hammer (not suitable for upstream) Anonymous, 10/31/2011 11:53 AM
kvm-014-debianization-forced-into-015-git-snapshot.diff (1.09 KB) kvm-014-debianization-forced-into-015-git-snapshot.diff Kludge deb build of kvm 0.15, based on the 0.14 debianization Anonymous, 10/31/2011 11:57 AM
Actions #1

Updated by Sage Weil over 12 years ago

  • Target version changed from v0.38 to v0.39
Actions #2

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_story_points set to 3
  • Translation missing: en.field_position set to 972
Actions #3

Updated by Anonymous over 12 years ago

Braindump of what I did for the earlier libvirt migration demo:

- on each vm host, install kvm 0.15 (0.14 is too old) (I created patch kvm-014-debianization-forced-into-015-git-snapshot.diff)
- on each vm host, install libvirt, ensure you can run local vms
- patch libvirt with attached libvirt-kludge.diff (better fix being worked out with upstream currently; need to check image type instead of name)
- install patched libvirt on each vm host
- set up separate ceph cluster, disable cephx authentication (fix being worked out with libvirt & qemu upstreams)
- define a vm with virsh create, passing suitable xml for the storage, install from ISO or use "rbd import"

Once you have >=2 of those vm hosts going, you can just take a virt-manager connection to both, right click on a vm and choose migrate. There's nothing special to it.

Actions #4

Updated by Anonymous over 12 years ago

Actions #6

Updated by Anonymous over 12 years ago

Mike Lowe emailed me and mentioned it works for him on Oneiric with a custom kvm 0.15.1, no other changes. I still want QA coverage.

Actions #7

Updated by Sage Weil over 12 years ago

  • Target version changed from v0.39 to v0.40
Actions #8

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (1010)
  • Translation missing: en.field_position set to 3
Actions #9

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (10)
  • Translation missing: en.field_position set to 56
Actions #10

Updated by Sage Weil over 12 years ago

  • Target version deleted (v0.40)
  • Translation missing: en.field_position deleted (59)
  • Translation missing: en.field_position set to 1
Actions #11

Updated by Sage Weil about 12 years ago

  • Status changed from New to Resolved

we demoed this

Actions

Also available in: Atom PDF