[Kimchi-devel] [PATCH 0/2] Live Migration UI v3

Daniel Henrique Barboza dhbarboza82 at gmail.com
Wed Dec 2 18:14:42 UTC 2015


The look of the dialog is exactly like I imagined. However I couldn't 
migrate
using the dialog.

The button turns to 'Migrating...' and the dialog stood there for 
minutes until I
gave up. Using the backend I can verify that the migration is possible using
the same VM and host:

$ curl -k -u root  -H "Content-Type: application/json" -H "Accept: 
application/json" 
"https://localhost:8001/plugins/kimchi/vms/00-migrate-test/migrate" -X 
POST -d '{"remote_host":"a_valid_private_remote_host"}'

I advise to try to simulate the live migration test scenario to 
develop/test this feature.
You need two hosts running the same libvirt version. I believe you can 
do it with VMs
with nested KVM enabled.



Let me know if you need any help,


Daniel



On 12/02/2015 02:09 PM, sguimaraes943 at gmail.com wrote:
> From: samhenri <samuel.guimaraes at eldorado.org.br>
>
> This patch addes Live Migration functionality to the new-ui.
> I'm attaching Socorro initial commit because I had to rebase it with the new-ui in Guests page.
>
> v1 - "Delete this VM when the migration is completed" checkbox not working
> v2 - Added support for checkbox but somehow Live Migration window was hanging instead of displaying error messages.
> v3 - Fixed problem above and rebased both patches to Kimchi submodule.
>
> Socorro Stoppler (1):
>    Initial checkin for live migration UI support
>
> samhenri (1):
>    Fixing Live Migration for the new-ui Guests tab
>
>   ui/js/src/kimchi.api.js                 |   3 +-
>   ui/js/src/kimchi.guest_livemigration.js | 113 ++++++++++++++++++++++++++++++++
>   ui/js/src/kimchi.guest_main.js          |  82 +++++++++++++++++++++--
>   ui/pages/guest-migration.html.tmpl      |  67 +++++++++++++++++++
>   ui/pages/guest.html.tmpl                |   7 +-
>   ui/pages/guests.html.tmpl               |   4 +-
>   ui/pages/i18n.json.tmpl                 |   2 +
>   7 files changed, 266 insertions(+), 12 deletions(-)
>   create mode 100644 ui/js/src/kimchi.guest_livemigration.js
>   create mode 100644 ui/pages/guest-migration.html.tmpl
>




More information about the Kimchi-devel mailing list