Joshua Boniface
fe93b1ed3c
Add try block around cur hypervisor
...
On initial deploy this doesn't work since the value is empty; just
set the value to None in this case.
2018-07-19 11:58:33 -04:00
Joshua Boniface
962cc0f5b0
Add missing text
2018-07-18 23:01:06 -04:00
Joshua Boniface
00f5567b9c
Better help text for init command
2018-07-18 22:44:52 -04:00
Joshua Boniface
e2b5feb660
Better text in root help
2018-07-18 22:33:17 -04:00
Joshua Boniface
c96b4bf013
Use consistent punctuation in help text
2018-07-18 22:28:49 -04:00
Joshua Boniface
8ce6c9afd0
Remove definite article from output messages
2018-07-18 22:26:31 -04:00
Joshua Boniface
37770d0fa8
Use consistent help messages
2018-07-18 22:25:12 -04:00
Joshua Boniface
943a754dae
Add default show to selector option
2018-07-18 22:22:12 -04:00
Joshua Boniface
06adebc5b0
Fix returning incorrect variable
2018-07-18 21:48:30 -04:00
Joshua Boniface
83fe95fabb
Correct variable typo
2018-07-18 21:48:00 -04:00
Joshua Boniface
c90e865aa6
Add cast of cpuload to a float
2018-07-18 21:36:45 -04:00
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