Commit Graph

349 Commits

Author SHA1 Message Date
Joshua Boniface dd8b7d69cc Add task to gracefully terminate domain class instances 2018-06-15 01:37:23 -04:00
Joshua Boniface 60b5156c37 Fix a typo 2018-06-14 23:04:32 -04:00
Joshua Boniface 8b294d4bdb Add some validations that a VM is in start state before doing actions 2018-06-14 22:45:34 -04:00
Joshua Boniface 5a0599d2bc Forgot to import uuid too 2018-06-14 22:39:24 -04:00
Joshua Boniface 91eb4eca08 Tweaks to make it work better 2018-06-14 12:31:06 -04:00
Joshua Boniface 99efab5cdd Except any exception 2018-06-14 12:26:47 -04:00
Joshua Boniface 260a403c0a Add failed state to output 2018-06-14 12:16:44 -04:00
Joshua Boniface 27dd4b5720 Add VM failed state 2018-06-14 12:12:42 -04:00
Joshua Boniface 18de50f395 Fix up ansiiprint imports 2018-06-14 12:09:52 -04:00
Joshua Boniface f2d7b5a62a More cleanup of stuff to make the pvcd module 2018-06-14 12:07:46 -04:00
Joshua Boniface ff6c05a042 Remove superflous imports 2018-06-14 12:03:49 -04:00
Joshua Boniface 481c6fa445 Combine fencenode into NodeInstance.py 2018-06-14 12:00:48 -04:00
Joshua Boniface 705f7a9b29 Move all the stuff from pvcf.py into pvc.py to keep everything in a single "binary" 2018-06-14 11:57:36 -04:00
Joshua Boniface 91259fc2b2 Add restart colour 2018-06-13 12:59:18 -04:00
Joshua Boniface a3c6f22b02 Make shutdown list colour yellow 2018-06-13 12:58:26 -04:00
Joshua Boniface 51843cf911 Set state back to start after restart 2018-06-13 12:55:07 -04:00
Joshua Boniface cf6cc9ff8a Add condition to avoid setting ZK status during restart shutdown/stop 2018-06-13 12:52:40 -04:00
Joshua Boniface f543c43978 Typo 2018-06-13 12:50:38 -04:00
Joshua Boniface ae28cc932e Add restart command support 2018-06-13 12:49:51 -04:00
Joshua Boniface bc52c80aec Add ability to restart VM 2018-06-13 12:47:30 -04:00
Joshua Boniface f8e1039a07 Further reworking to make list consistent 2018-06-13 12:31:27 -04:00
Joshua Boniface 441ac73e14 Explicitly continue if VM is not supposed to be on this node 2018-06-13 12:12:00 -04:00
Joshua Boniface a31a53c829 Don't stupidly try to flush other nodes 2018-06-13 12:08:11 -04:00
Joshua Boniface 7bb72dc732 Explicitly clear the runningdomains list after a flush 2018-06-13 12:01:55 -04:00
Joshua Boniface c54a51aa95 Make the spaghetti IF conditions more manageable 2018-06-13 12:01:42 -04:00
Joshua Boniface 24678c12ca Remove delay in flushing/unflushing 2018-06-13 11:45:31 -04:00
Joshua Boniface 0b9b803493 Revert "Another fun bug"
This reverts commit 80bd9771f3.
2018-06-12 22:07:40 -04:00
Joshua Boniface 86cf3a57ee Another bugfix 2018-06-12 22:03:01 -04:00
Joshua Boniface c16eb86456 Undo some bugfixes 2018-06-12 22:00:23 -04:00
Joshua Boniface 68f6316c8e Numerous tweaks and bugfixes 2018-06-12 21:56:34 -04:00
Joshua Boniface 85c8ced3f9 Add some debugging 2018-06-12 21:49:46 -04:00
Joshua Boniface 80bd9771f3 Another fun bug 2018-06-12 21:46:38 -04:00
Joshua Boniface 75efefada3 More bugfixes 2018-06-12 21:44:06 -04:00
Joshua Boniface 3827261cc9 Fix up some typos here 2018-06-12 21:28:02 -04:00
Joshua Boniface ae1fd28e5d Remove spurious module references 2018-06-12 21:26:53 -04:00
Joshua Boniface f6921816fa Fix typo 2018-06-12 21:24:05 -04:00
Joshua Boniface 75477c7297 Finish up output printing and several other tweaks 2018-06-12 21:21:22 -04:00
Joshua Boniface aff0af5630 Add static data fields to startup 2018-06-12 12:07:57 -04:00
Joshua Boniface 8cd55b50de Typo 2018-06-12 11:58:47 -04:00
Joshua Boniface 7b95f8b283 Some wording tweaks 2018-06-12 02:15:51 -04:00
Joshua Boniface df057c8f6d Lower width of daemon state 2018-06-12 02:14:50 -04:00
Joshua Boniface 5612dec66d Typo 2018-06-12 02:14:06 -04:00
Joshua Boniface c66337fd7b Typo 2018-06-12 02:13:31 -04:00
Joshua Boniface d0a76b2ecb Reword some of the stuff and handle updates better 2018-06-12 02:12:36 -04:00
Joshua Boniface 1e9c225a87 Change startup state to be "init" 2018-06-12 01:55:06 -04:00
Joshua Boniface a87bf4bc4a Clean up some handling of restarting dead VMs 2018-06-12 01:54:01 -04:00
Joshua Boniface dd2560c2f8 Very beautiful and elegant list functions 2018-06-12 01:26:06 -04:00
Joshua Boniface de68519153 Remove superfluous state 2018-06-11 23:03:44 -04:00
Joshua Boniface bb1b2de77d Bikeshed this more 2018-06-11 22:58:19 -04:00
Joshua Boniface 12fe281169 Fix up spacing 2018-06-11 22:57:18 -04:00