Commit Graph

91 Commits

Author SHA1 Message Date
Joshua Boniface 87bf47c6d0 Use correct ZK node ID 2018-07-18 21:35:20 -04:00
Joshua Boniface 88b7059532 Correct valid_hypervisor_list to be a list 2018-07-18 21:32:57 -04:00
Joshua Boniface 22776cdaaa Fix incorrect usage of zkhandler inside pvc.py 2018-07-18 21:31:17 -04:00
Joshua Boniface f91e210f1a Implement migration targets in client
Addresses #11
2018-07-18 21:18:43 -04:00
Joshua Boniface d5ca4262ee Typo in definition 2018-07-18 02:40:20 -04:00
Joshua Boniface 8e7c883d72 Correct some bugs and remove this_node aspect
Addresses #9
2018-07-18 02:30:50 -04:00
Joshua Boniface d8962bf998 Use memalloc for target selection
Uses the new memalloc ZK data to calculate the most free target
hypervisor during migrations. Also functionizes the selection
to avoid code duplication and facilitate adding alternate search
functions in the future.

Addresses #9
2018-07-18 02:14:35 -04:00
Joshua Boniface 68ab7da2aa Set proper variable name x2 2018-07-17 01:57:39 -04:00
Joshua Boniface eb44381651 Set proper variable name 2018-07-17 01:53:25 -04:00
Joshua Boniface c517847c54 Add forgotten time flag to sleep 2018-07-17 01:51:35 -04:00
Joshua Boniface eef9bb6b1d Add wait flag to flush command 2018-07-17 01:48:15 -04:00
Joshua Boniface 01eec7b392 Add node load to information 2018-07-16 12:28:22 -04:00
Joshua Boniface 88b6b0e5f5 Correct variable name typo 2018-07-16 02:22:02 -04:00
Joshua Boniface 4d59b95035 Implement both names for ready/unflush 2018-06-26 23:47:24 -04:00
Joshua Boniface 8fc4de4093 [#2] Ensure nodes are validated as present in the cluster before acting on them 2018-06-22 12:24:53 -04:00
Joshua Boniface 4fdafff9f3 Add explanation about PVC_ZOOKEEPER envvar 2018-06-20 14:33:40 -04:00
Joshua Boniface bf5aa71381 Change colour of overprov state to yellow 2018-06-19 17:37:42 -04:00
Joshua Boniface ef8290370d Typo'd == 2018-06-19 17:36:54 -04:00
Joshua Boniface 88c3ca45b8 Fix up ordering here 2018-06-19 17:35:54 -04:00
Joshua Boniface 306d024fb8 Add displaying of overprovisioned status 2018-06-19 17:30:36 -04:00
Joshua Boniface fc8ff40814 Improve handling of non-running VMs for move/migrate/unmigrate 2018-06-17 23:26:33 -04:00
Joshua Boniface 4444bca39d Mass rename of connection variables to sensible names 2018-06-17 21:55: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 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 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 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 260a403c0a Add failed state to output 2018-06-14 12:16:44 -04:00
Joshua Boniface f2d7b5a62a More cleanup of stuff to make the pvcd module 2018-06-14 12:07:46 -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 a3c6f22b02 Make shutdown list colour yellow 2018-06-13 12:58:26 -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 86cf3a57ee Another bugfix 2018-06-12 22:03:01 -04:00
Joshua Boniface 75efefada3 More bugfixes 2018-06-12 21:44:06 -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 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 d0a76b2ecb Reword some of the stuff and handle updates better 2018-06-12 02:12:36 -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