111 Commits

Author SHA1 Message Date
5ad49d239e Add some tweaks to prevent clobbering state changes happening at startup and during each keepalive cycle 2018-06-11 20:12:11 -04:00
f4493ed7c1 Print out useful info on state change 2018-06-11 19:22:33 -04:00
ae6c024bc9 Remove the other sleeps 2018-06-11 19:14:22 -04:00
47fb78f9df Remove debug text 2018-06-11 19:09:46 -04:00
7279b66dc2 Lower the timeout 2018-06-11 18:59:45 -04:00
ec26fb4849 Replace complicated ifs with a number of passes; this is pass 1 (are we doing somethin already) 2018-06-11 18:53:07 -04:00
768dcdd480 Try to fix the race condition in a less-spaghetti way 2018-06-11 18:45:37 -04:00
f9af787ddd Fix another weird corner case 2018-06-11 18:41:32 -04:00
b24d8afc77 Fix race condition and such 2018-06-11 17:49:22 -04:00
b3169758ff (hopefully) fix race condition when data updates 2018-06-11 17:44:22 -04:00
d77373bb21 Remove some debug 2018-06-11 17:40:18 -04:00
1ab3145a76 More debug 2018-06-11 17:35:57 -04:00
ef49260762 Some better logic here rather than using and/or 2018-06-11 17:02:36 -04:00
37e81524c4 Tweak ordering a bit 2018-06-11 16:53:04 -04:00
7ac3e97daf Add restrictions against doing this during migrate 2018-06-11 16:49:46 -04:00
1e4aadc989 Try to stop this looping forever 2018-06-11 13:22:48 -04:00
e10e1a0bc5 Add delay before setting to start state 2018-06-11 13:19:23 -04:00
3c35142523 Weird little bugt 2018-06-11 13:16:42 -04:00
39dce1cd93 Have to do it on the sending size 2018-06-11 13:13:18 -04:00
fdea02b888 Try to fix some weird bugs with receive migrate 2018-06-11 13:11:42 -04:00
1180f1a249 More debug 2018-06-11 03:11:43 -04:00
a1e8494777 Found the bug 2018-06-11 03:01:12 -04:00
8b9cdf4924 Some bugfixes here 2018-06-11 02:58:37 -04:00
fac2c9edb3 Output text change 2018-06-11 02:08:09 -04:00
236d472008 Add way out of receive migration 2018-06-11 02:03:23 -04:00
3851069b7a Fix handling of failed-start 2018-06-10 21:04:00 -04:00
974c708c82 Missing return if failed to start 2018-06-10 20:52:53 -04:00
6cd84f725a Add config file support 2018-06-08 12:19:48 -04:00
eb038dfbbb Add self 2018-06-07 00:40:32 -04:00
c89ec52019 Revert "Add space in prefix"
This reverts commit 577954ddd4c109fd62b7d2051924b156b56da39d.
2018-06-07 00:29:04 -04:00
577954ddd4 Add space in prefix 2018-06-07 00:28:48 -04:00
b6b7bb86b6 Use new ansiiprint setup 2018-06-06 23:46:32 -04:00
640f38c3aa Add ANSII colours to output commands for easy parsing 2018-06-06 22:56:03 -04:00
c124cae24b Remove zkey variable for better readability 2018-06-06 21:57:58 -04:00
f4bdc22602 Use string format() consistently 2018-06-06 21:54:38 -04:00
155e48ce94 Add terminate option instead of using stop (which screws with ZK state) 2018-06-06 21:47:06 -04:00
3f25f89324 Add additional state - vm should be stopped as it shouldn't run on that node 2018-06-06 21:45:03 -04:00
b5e8b1d45b Better output during migrations 2018-06-06 18:18:07 -04:00
c2d7231c6a Remove that whole bad logic and do it on the client side 2018-06-06 11:54:08 -04:00
aab86d065d Move that command to the very end so it won't override any others 2018-06-06 11:51:12 -04:00
67571434a5 Improve the logic of the on-delete-stop a bit to avoid spurious stop calls 2018-06-06 11:50:02 -04:00
5ca3f6860b Don't die with attribute error if we can't destroy VM 2018-06-06 11:48:28 -04:00
5edb5d1e77 Handle stopping the VM when its ZK config is deleted or it shouldn't be running 2018-06-06 11:46:24 -04:00
dc661a8ea8 Remove spurious try statement 2018-06-06 11:42:49 -04:00
f2db381969 Handle case where VM is deleted 2018-06-06 11:42:11 -04:00
04b1368898 Add uuid import 2018-06-06 02:14:41 -04:00
35d671c933 Remove pvcf import 2018-06-06 02:13:14 -04:00
f7bbca128a Add LICENSE and headers; move some functions out of pvcf.py and into VMInstance 2018-06-06 01:47:53 -04:00
df4f80cfb1 Remove all the remaining previous_hypervisor cruft 2018-06-04 16:30:09 -04:00
fab402dbbb Remove the unmigrate comand - this should happen in the client instead 2018-06-04 13:24:48 -04:00