Commit Graph

1504 Commits

Author SHA1 Message Date
Joshua Boniface 8e04d47338 Some more tweaks 2018-06-04 02:46:55 -04:00
Joshua Boniface eb9ef43957 Don't override flush state on exit 2018-06-04 02:35:41 -04:00
Joshua Boniface c0c84036c3 Fix some bugs 2018-06-04 02:34:03 -04:00
Joshua Boniface 1a72ee6414 Get flush working properly 2018-06-04 02:22:59 -04:00
Joshua Boniface 55ebbea6cf Parse the node_list as t_node array of objects for easy resouce passing 2018-06-04 01:52:26 -04:00
Joshua Boniface 285b4434b7 Suppressing the output is useless (fucking C function...) 2018-06-04 01:39:39 -04:00
Joshua Boniface 012f341e75 Improve silent uuid lookup function 2018-06-04 01:35:23 -04:00
Joshua Boniface 0ec1399424 Restore some try functionalirty here 2018-06-04 01:26:23 -04:00
Joshua Boniface 79b5c41abd Fix calling name 2018-06-04 01:24:11 -04:00
Joshua Boniface 8eb91a4ec3 Some more cleanup and avoid opening libvirt connections until they're really needed 2018-06-04 01:23:27 -04:00
Joshua Boniface ad4a9d8ea6 Fix up the logic and remove our extra try's around UUID lookups 2018-06-04 01:13:48 -04:00
Joshua Boniface 8904e25beb Write and use wrapper function for lookupByUUID 2018-06-04 01:09:42 -04:00
Joshua Boniface 89e7a2b5b3 Systematize logging output 2018-06-04 00:55:54 -04:00
Joshua Boniface 7b427a8730 Fix spurious attempts to manage nonexistent VM instances 2018-06-04 00:51:11 -04:00
Joshua Boniface b577ad1771 Set into stop after successful shutdown 2018-06-02 19:14:10 -04:00
Joshua Boniface ef6b984296 Fix weird bugs 2018-06-02 19:06:59 -04:00
Joshua Boniface 97f8030700 Fix up migration receive 2018-06-02 18:38:59 -04:00
Joshua Boniface a297f9dbcf Numerous tweaks to make migration work well 2018-06-02 18:34:48 -04:00
Joshua Boniface b84f6ff62e Forgot array bit 2018-06-02 17:00:49 -04:00
Joshua Boniface 3e24eab61e Sleep while waiting 2018-06-02 16:55:48 -04:00
Joshua Boniface 6aca8f9fee Fix migrate problem 2018-06-02 16:45:20 -04:00
Joshua Boniface f032dbefac Set the hypervisor back on a failed migrate 2018-06-02 16:33:53 -04:00
Joshua Boniface ea97b51edb Add tick counting during graceful shutdown to forcibly stop if blocked 2018-06-02 16:30:55 -04:00
Joshua Boniface b199039453 Catch another exception 2018-06-02 16:24:11 -04:00
Joshua Boniface fe52d3815c Print message indenting fixes 2018-06-02 16:22:05 -04:00
Joshua Boniface 6a1b282bfd Wait for shutdown 2018-06-02 16:19:51 -04:00
Joshua Boniface 6bc2bf0579 Switch to TCP mode 2018-06-02 16:15:37 -04:00
Joshua Boniface 915e592f5a Fix handling of force away 2018-06-02 16:10:59 -04:00
Joshua Boniface 19888143c5 Fix the bugs 2018-06-02 16:09:25 -04:00
Joshua Boniface c587f2cc65 Catch another remove list 2018-06-02 15:58:21 -04:00
Joshua Boniface 0826b508ad Fix some startup weirdness in ordering 2018-06-02 15:56:17 -04:00
Joshua Boniface 2349e56fc1 Improve dom handling 2018-06-02 15:52:50 -04:00
Joshua Boniface 76e99b6e87 Set state back to start in both migrate fail cases 2018-06-02 15:46:20 -04:00
Joshua Boniface a155eb5fab Gracefully handle not being able to remove oruself from list 2018-06-02 15:43:02 -04:00
Joshua Boniface 152cba5e19 Fix this to handle errors 2018-06-02 15:39:17 -04:00
Joshua Boniface 286561307b Use right variable 2018-06-02 15:35:19 -04:00
Joshua Boniface 982a9a2fd4 Fix some errors 2018-06-02 15:34:25 -04:00
Joshua Boniface c5668711fe Add tmp to ignore list 2018-06-02 15:29:49 -04:00
Joshua Boniface 0ffee374d5 Dummy for now 2018-06-02 15:29:42 -04:00
Joshua Boniface 15cee50eee Fix some faulty logic with migrations 2018-06-02 15:29:12 -04:00
Joshua Boniface 87954559a1 Make this work better and stop bad VMs 2018-06-02 15:26:37 -04:00
Joshua Boniface beef743dd6 Fix up state toggles 2018-06-02 15:20:01 -04:00
Joshua Boniface 8ac429dad8 Remove bad snippit 2018-06-02 15:04:25 -04:00
Joshua Boniface cbfd3a8a31 Add s_domain elements and data from VM instances 2018-06-02 15:04:04 -04:00
Joshua Boniface f61be2c30b Pass s_domain into each node instance object for ease of handling 2018-06-02 15:03:34 -04:00
Joshua Boniface ef1acc0188 Fix bug with lookup of uuid 2018-06-02 14:50:26 -04:00
Joshua Boniface fd7e240891 Forgot self 2018-06-02 14:38:37 -04:00
Joshua Boniface 3cb05f1c48 Add way to remove inactive VMs from the list 2018-06-02 14:37:49 -04:00
Joshua Boniface d9a5895c4e Some fixes 2018-06-02 14:32:59 -04:00
Joshua Boniface 0e897faf21 Typo 2018-06-02 14:18:09 -04:00