Commit Graph

3387 Commits

Author SHA1 Message Date
Joshua Boniface ec0dacb042 Make initialization function nicer 2018-06-06 01:20:09 -04:00
Joshua Boniface d803b417f9 Improve client a bit more, add init function, add configurable zk_host 2018-06-06 01:07:59 -04:00
Joshua Boniface e3aee843d4 Remove old debug print statement 2018-06-06 00:49:46 -04:00
Joshua Boniface f27c2c4a45 Put try around node update get 2018-06-06 00:49:34 -04:00
Joshua Boniface f2ec143544 Some minor tweaks to fix stuff 2018-06-06 00:44:43 -04:00
Joshua Boniface dacce87175 Some more major tweaks to client and rename the 'formerhypervisor' to 'lasthypervisor' 2018-06-05 22:06:08 -04:00
Joshua Boniface 62c5099d8f Make mutially exclusive option output much nicer info 2018-06-05 20:04:37 -04:00
Joshua Boniface 1e11ab25d1 More cool work on the client app 2018-06-05 18:46:36 -04:00
Joshua Boniface 9d8845dee3 More work on XML parsing to provide nice domain output 2018-06-05 12:27:41 -04:00
Joshua Boniface b63f6a2958 Major work on client-side application 2018-06-05 01:39:59 -04:00
Joshua Boniface 715c497b9d Terminate fully cleanly 2018-06-04 17:09:41 -04:00
Joshua Boniface b742030bd5 More try statemments to work 2018-06-04 17:08:00 -04:00
Joshua Boniface 4ab180d410 Some more cleanups to ake this more readable and efficient 2018-06-04 17:04:33 -04:00
Joshua Boniface 0d30804fc2 Some more cleanups and ensure consistent list contents 2018-06-04 16:46:45 -04:00
Joshua Boniface d666c5faff Clean up some more problems with migrate/flush and remove some crufty code 2018-06-04 16:37:58 -04:00
Joshua Boniface f1f6d10b0c Some cleanup of event handling here 2018-06-04 16:34:41 -04:00
Joshua Boniface df4f80cfb1 Remove all the remaining previous_hypervisor cruft 2018-06-04 16:30:09 -04:00
Joshua Boniface fab402dbbb Remove the unmigrate comand - this should happen in the client instead 2018-06-04 13:24:48 -04:00
Joshua Boniface 3648238cef Forgot some critical shit 2018-06-04 12:26:26 -04:00
Joshua Boniface 4c59fe03aa Remove some logic from wtach functions 2018-06-04 12:22:21 -04:00
Joshua Boniface 2f289df540 Another logic fail 2018-06-04 12:20:19 -04:00
Joshua Boniface cc402be6f6 Forgot self references 2018-06-04 12:18:23 -04:00
Joshua Boniface 533a70972f Refactor how migrations work to allow unmigrate and avoid code duplication 2018-06-04 12:15:37 -04:00
Joshua Boniface 4c7f7180b6 Fix decoding fluke 2018-06-04 11:52:48 -04:00
Joshua Boniface 9dcad19861 Forgot the array 2018-06-04 11:52:05 -04:00
Joshua Boniface b17fab4ec1 Use proper name 2018-06-04 11:51:31 -04:00
Joshua Boniface 0eccbd902f Add unmigrate facility 2018-06-04 11:49:39 -04:00
Joshua Boniface e161a543cb typo 2018-06-04 03:10:54 -04:00
Joshua Boniface 0709ccc003 typo 2018-06-04 03:10:22 -04:00
Joshua Boniface e4b866bda5 Add unflush function 2018-06-04 03:09:51 -04:00
Joshua Boniface 4d767d11c0 Remove result print 2018-06-04 03:02:00 -04:00
Joshua Boniface b4eb5e522f Add formerhypervisor section in ZK 2018-06-04 03:00:56 -04:00
Joshua Boniface b3ebc9bad3 Handle former hypervisor stuff properly 2018-06-04 03:00:17 -04:00
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