Commit Graph

2639 Commits

Author SHA1 Message Date
Joshua Boniface 202b8f41af Add a short delay before managing state 2018-06-11 21:32:13 -04:00
Joshua Boniface d0c8f006c6 Forgot to replace state here 2018-06-11 21:30:32 -04:00
Joshua Boniface bed701ac38 More debug output 2018-06-11 21:26:09 -04:00
Joshua Boniface 3c2bf4b996 Debug output 2018-06-11 21:23:57 -04:00
Joshua Boniface 8db80fd3dc Reformat the output a bit to optimize visuals against terminal width 2018-06-11 20:44:39 -04:00
Joshua Boniface d66fbe556f Make flush/unflush happen after the rest of the keepalive 2018-06-11 20:33:06 -04:00
Joshua Boniface f58784f7b5 Fix up the startup clobber in a more elegant way 2018-06-11 20:25:22 -04:00
Joshua Boniface f2f9d722db That didn't work exactly right 2018-06-11 20:14:24 -04:00
Joshua Boniface 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
Joshua Boniface f4493ed7c1 Print out useful info on state change 2018-06-11 19:22:33 -04:00
Joshua Boniface f6f53296c9 Increase delay between VM migrations to give the cluster more time to adjust 2018-06-11 19:19:21 -04:00
Joshua Boniface ae6c024bc9 Remove the other sleeps 2018-06-11 19:14:22 -04:00
Joshua Boniface 47fb78f9df Remove debug text 2018-06-11 19:09:46 -04:00
Joshua Boniface a20aa76aeb Use proper tense 2018-06-11 19:07:10 -04:00
Joshua Boniface 0f74c68ae0 Modify printout during keepalive to properly handle new daemon/domain state split 2018-06-11 19:04:59 -04:00
Joshua Boniface 7279b66dc2 Lower the timeout 2018-06-11 18:59:45 -04:00
Joshua Boniface 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
Joshua Boniface 768dcdd480 Try to fix the race condition in a less-spaghetti way 2018-06-11 18:45:37 -04:00
Joshua Boniface f9af787ddd Fix another weird corner case 2018-06-11 18:41:32 -04:00
Joshua Boniface 4456d494ee Debug 2018-06-11 18:36:48 -04:00
Joshua Boniface 266d2c3544 Don't try to flush/unflush more than once 2018-06-11 18:05:35 -04:00
Joshua Boniface b24d8afc77 Fix race condition and such 2018-06-11 17:49:22 -04:00
Joshua Boniface b3169758ff (hopefully) fix race condition when data updates 2018-06-11 17:44:22 -04:00
Joshua Boniface d77373bb21 Remove some debug 2018-06-11 17:40:18 -04:00
Joshua Boniface 1ab3145a76 More debug 2018-06-11 17:35:57 -04:00
Joshua Boniface e4cb3d6a71 More debug 2018-06-11 17:32:21 -04:00
Joshua Boniface ef49260762 Some better logic here rather than using and/or 2018-06-11 17:02:36 -04:00
Joshua Boniface 50f34810bc Add millisecond granularity using datetime during output 2018-06-11 17:00:09 -04:00
Joshua Boniface 37e81524c4 Tweak ordering a bit 2018-06-11 16:53:04 -04:00
Joshua Boniface 7ac3e97daf Add restrictions against doing this during migrate 2018-06-11 16:49:46 -04:00
Joshua Boniface 1e4aadc989 Try to stop this looping forever 2018-06-11 13:22:48 -04:00
Joshua Boniface e10e1a0bc5 Add delay before setting to start state 2018-06-11 13:19:23 -04:00
Joshua Boniface 3c35142523 Weird little bugt 2018-06-11 13:16:42 -04:00
Joshua Boniface 39dce1cd93 Have to do it on the sending size 2018-06-11 13:13:18 -04:00
Joshua Boniface fdea02b888 Try to fix some weird bugs with receive migrate 2018-06-11 13:11:42 -04:00
Joshua Boniface 7309d22a17 Add node list output and fix up VM output 2018-06-11 12:26:51 -04:00
Joshua Boniface 1180f1a249 More debug 2018-06-11 03:11:43 -04:00
Joshua Boniface 6d8825ef57 Debug output 2018-06-11 03:05:02 -04:00
Joshua Boniface 217d5810b1 Correct creation value 2018-06-11 03:04:53 -04:00
Joshua Boniface a1e8494777 Found the bug 2018-06-11 03:01:12 -04:00
Joshua Boniface 8b9cdf4924 Some bugfixes here 2018-06-11 02:58:37 -04:00
Joshua Boniface e6d0f6e4bc Change short version of hypervisor flag for define command 2018-06-11 02:51:42 -04:00
Joshua Boniface 774dcc824e Make client work with new domainstate setup; add basic node info and node list commands 2018-06-11 02:50:45 -04:00
Joshua Boniface 705f2086be Add separate states for the daemon and the domains 2018-06-11 02:46:24 -04:00
Joshua Boniface 7779f7f895 Try adding regular node state change tests 2018-06-11 02:32:48 -04:00
Joshua Boniface 21f719977c Typo 2018-06-11 02:20:46 -04:00
Joshua Boniface 77df48060a Avoid accidental flushing of not-this-host instances 2018-06-11 02:20:03 -04:00
Joshua Boniface 8447c6890b Typo 2018-06-11 02:16:56 -04:00
Joshua Boniface 48326226da Typo 2018-06-11 02:16:08 -04:00
Joshua Boniface 33b6b46935 Add verification and output text to flush/ready commands 2018-06-11 02:15:46 -04:00