Commit Graph

1728 Commits

Author SHA1 Message Date
Joshua Boniface 837d134f4a Print out interval 2018-06-17 02:28:39 -04:00
Joshua Boniface 9c4475d4f9 Missed car change 2018-06-17 02:25:02 -04:00
Joshua Boniface 7f56542fe8 Better doc 2018-06-17 02:24:06 -04:00
Joshua Boniface ae28622475 Carpitalization 2018-06-17 02:22:43 -04:00
Joshua Boniface cb90d2a7bf Add 5 second sleep after fencing to be sure 2018-06-17 02:19:08 -04:00
Joshua Boniface 3c6678434c Add flushed state set 2018-06-17 02:08:40 -04:00
Joshua Boniface 1db8655f91 Use right states 2018-06-17 02:02:28 -04:00
Joshua Boniface a9635aac16 Get right state 2018-06-17 01:58:17 -04:00
Joshua Boniface 617902ede0 Don't skip outself when fencing 2018-06-17 01:55:11 -04:00
Joshua Boniface 778a126604 Ipmitool full command 2018-06-16 23:34:12 -04:00
Joshua Boniface 523096a3da Import subprocess too 2018-06-16 23:32:34 -04:00
Joshua Boniface eee45eb89d Bug 2018-06-16 23:29:28 -04:00
Joshua Boniface 7dac0df58a Bug 2018-06-16 23:27:26 -04:00
Joshua Boniface b1e77f6a20 Finish some better Zookeeper listening logic and functionlize start/stop of timer 2018-06-16 23:25:22 -04:00
Joshua Boniface 04f5fc8f32 Proper exit handling and don't worry about ZK state 2018-06-16 22:47:51 -04:00
Joshua Boniface 2ae7846ccb Don't try to functionize getting config 2018-06-16 22:40:37 -04:00
Joshua Boniface ddfa423f29 Actually don't handle SIGHUP; restart always required 2018-06-16 22:40:00 -04:00
Joshua Boniface cd73dc3a15 Finish up config handling and get rid of atexit 2018-06-16 22:38:25 -04:00
Joshua Boniface 313181f48f Add proper exit 2018-06-16 22:32:16 -04:00
Joshua Boniface 261d9394db Support proper sigterm exiting 2018-06-16 22:30:17 -04:00
Joshua Boniface 9d4f773b94 Change order 2018-06-16 22:27:27 -04:00
Joshua Boniface 90801858f4 Modify atexit trigger to work better 2018-06-16 22:26:19 -04:00
Joshua Boniface 4881a93758 Major usability tweaks to client; use arguments instead of options for the main argument of each command and remove mutual exclusivity options 2018-06-16 22:22:54 -04:00
Joshua Boniface 23f5434159 Add start dep on zookeeper.service 2018-06-16 21:18:25 -04:00
Joshua Boniface d931b23720 More consistent wording 2018-06-15 01:57:01 -04:00
Joshua Boniface 72c740d5ab Had fields reveresed 2018-06-15 01:55:40 -04:00
Joshua Boniface 04918b8a4f OK really fix the bugs 2018-06-15 01:50:39 -04:00
Joshua Boniface 60fba72976 Fix some bugs 2018-06-15 01:45:14 -04:00
Joshua Boniface 6798d4c078 Add delete of class object on delete call 2018-06-15 01:40:06 -04:00
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