Commit Graph

103 Commits

Author SHA1 Message Date
Joshua Boniface 3c2bf4b996 Debug output 2018-06-11 21:23:57 -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 f6f53296c9 Increase delay between VM migrations to give the cluster more time to adjust 2018-06-11 19:19:21 -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 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 e4cb3d6a71 More debug 2018-06-11 17:32:21 -04:00
Joshua Boniface 6d8825ef57 Debug output 2018-06-11 03:05:02 -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 fa423bbfe7 Typo 2018-06-11 02:10:04 -04:00
Joshua Boniface cac98abc09 Typo 2018-06-11 02:06:08 -04:00
Joshua Boniface 26ef419a00 Capitalizationwq 2018-06-11 02:04:15 -04:00
Joshua Boniface 0dfae84be7 Improve output 2018-06-11 02:01:26 -04:00
Joshua Boniface 3df720d37f some more cleanups 2018-06-11 01:58:06 -04:00
Joshua Boniface 181bd1f2b8 Remove IPMI stuff from keepalive message and add to startup; convert memory into MB 2018-06-11 01:55:36 -04:00
Joshua Boniface 266db3f66a Wrong var name 2018-06-11 01:51:19 -04:00
Joshua Boniface 82769e16e4 Add domains_count and used memory to info 2018-06-11 01:50:06 -04:00
Joshua Boniface dec88f6c1a Improve handling to use hostname 2018-06-08 12:44:47 -04:00
Joshua Boniface 6cd84f725a Add config file support 2018-06-08 12:19:48 -04:00
Joshua Boniface d67ef9c9de Make colouring of keepalive printouts nicer 2018-06-07 00:39:09 -04:00
Joshua Boniface 1ee8fb99dc Add colours to node status 2018-06-07 00:32:10 -04:00
Joshua Boniface b6b7bb86b6 Use new ansiiprint setup 2018-06-06 23:46:32 -04:00
Joshua Boniface 640f38c3aa Add ANSII colours to output commands for easy parsing 2018-06-06 22:56:03 -04:00
Joshua Boniface 452681b812 Correct name to confirm 2018-06-06 21:37:36 -04:00
Joshua Boniface 34cbb5dc96 Fix wrong state during flush 2018-06-06 21:35:32 -04:00
Joshua Boniface f6b71efb1b Wrong variable name 2018-06-06 21:34:33 -04:00
Joshua Boniface 19561faa5e Define target_hypervisor variable 2018-06-06 21:31:20 -04:00
Joshua Boniface b7c7b5f647 Update variable name to match 2018-06-06 21:28:58 -04:00
Joshua Boniface 55f52bb3d7 Wrong key name 2018-06-06 21:28:02 -04:00
Joshua Boniface 90fa2e6b5e Fix missing self reference for ZK conn 2018-06-06 20:49:21 -04:00
Joshua Boniface 8282a35ff8 Remove remaining zkey references 2018-06-06 20:42:33 -04:00
Joshua Boniface 26d7c3e27b One extra bracket 2018-06-06 20:39:54 -04:00
Joshua Boniface 53e625e1a5 Update remaining instances of % to format() 2018-06-06 20:39:21 -04:00
Joshua Boniface c3280557ec Clean up flush/unflush to work like the client migration script 2018-06-06 20:36:03 -04:00
Joshua Boniface fd98ae58bf Some improvements in selecting to fencea node 2018-06-06 18:18:58 -04:00
Joshua Boniface 4b85ce9462 Fix problem writing keepalive time to ZK 2018-06-06 17:53:59 -04:00
Joshua Boniface 20a45f3d36 Changes for pending fencing configurationt 2018-06-06 15:41:06 -04:00
Joshua Boniface 76a431a500 Close the libvirt connection 2018-06-06 15:16:39 -04:00
Joshua Boniface 0794cc854c Improve handling of keepalive and message printing 2018-06-06 14:53:28 -04:00
Joshua Boniface 66fe258655 Convert NodeInstance from having an internal "daemon" to using the APScheduler library 2018-06-06 14:16:52 -04:00
Joshua Boniface c8dcbd1027 Remove pvcf import 2018-06-06 02:12:49 -04:00
Joshua Boniface f7bbca128a Add LICENSE and headers; move some functions out of pvcf.py and into VMInstance 2018-06-06 01:47:53 -04:00