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

Daniel Henrique Barboza dhbarboza82 at gmail.com
Fri Dec 4 12:33:36 UTC 2015


The simple test scenario (migrate a VM, everything was preset before, 
without
deleting the VM after the migration) worked as expected. Good work.

Things that need work/fixing:

- setting the option to delete the VM after the migration isn't deleting 
the VM
after the migration.

- the password less login isn't being set, even passing 
root/rootpassword of the
remote host. I've tested it from the backend and it works. I believe 
you're not passing
the 'user' and 'password' fields as expected. There's the curl command 
I've used:

$ curl -k -u root  -H "Content-Type: application/json" -H "Accept: 
application/json" 
"https://localhost:10001/plugins/kimchi/vms/00-migrate-test-clone-1/migrate" 
-X POST -d '{"remote_host":"_valid_remote_host", "user":"root", 
"password":"valid_passwd"}'
Enter host password for user 'root':
{
   "status":"running",
   "message":"starting a migration",
   "id":"6",
   "target_uri":"/vms/00-migrate-test-clone-1/migrate"
}


NOTE: I believe that due to the code freeze you might postpone the v5 of 
this
feature and focus on the current bug fixes.


Thanks,

Daniel

On 12/03/2015 05:33 PM, sguimaraes943 at gmail.com wrote:
> From: samhenri <samuel.guimaraes at eldorado.org.br>
>
>   This patch adds 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.
>   v4 - Fixed form validation and POST request data.
>
> 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 | 121 ++++++++++++++++++++++++++++++++
>   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, 274 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