
Almost there, but: - when deleting the VM after the migration I've got an error 'VM <name> not found' in the VM listing. Probably because the UI tried to fetch information about the VM that was deleted - The modal doesn't disappear when firing a migration, locking the user from doing anything else in Kimchi. Ideally the UI would fire the migration process, return to the Guests tab and the user would keep doing whatever he was doing. When the migration is completed the UI would report 'Migration of VM <> completed' and, if the user is in the Guests tab, instantly refresh the tab to reflect the changes (VM shutoff or VM deleted). Second issue is kind of a deal breaker. I just stood in front of the modal for 6 minutes waiting for the whole migration to be completed (non shared migration with disk copy). We need to move the modal off and the UI must handle the end of migration in a asynchronous fashion. First issue can be handled later in a bug fix IMO. Daniel On 01/15/2016 02:47 PM, sguimaraes943@gmail.com wrote:
From: samhenri <samuel.guimaraes@eldorado.org.br>
- Rebased initial checkin for live migration to new-ui; - Added form validation to optional fields (e.g. disable submit button if username is filled but password is empty, added warn classes to form fields); - Fixed error messages in modal window; - Delete VM once Live Migration is finished checkbox is working;
Socorro Stoppler (1): Initial checkin for live migration UI support
samhenri (1): Live Migration front-end
ui/js/src/kimchi.api.js | 3 +- ui/js/src/kimchi.guest_livemigration.js | 145 ++++++++++++++++++++++++++++++++ ui/js/src/kimchi.guest_main.js | 47 +++++++++-- ui/pages/guest-migration.html.tmpl | 67 +++++++++++++++ ui/pages/guest.html.tmpl | 7 +- ui/pages/i18n.json.tmpl | 2 + ui/pages/tabs/guests.html.tmpl | 4 +- 7 files changed, 261 insertions(+), 14 deletions(-) create mode 100644 ui/js/src/kimchi.guest_livemigration.js create mode 100644 ui/pages/guest-migration.html.tmpl