Commit Graph

83 Commits

Author SHA1 Message Date
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
Joshua Boniface 34fb851c33 Add try blocks around decode functions for when a new daemon is created 2018-06-06 01:24:28 -04:00
Joshua Boniface f27c2c4a45 Put try around node update get 2018-06-06 00:49:34 -04:00
Joshua Boniface dacce87175 Some more major tweaks to client and rename the 'formerhypervisor' to 'lasthypervisor' 2018-06-05 22:06:08 -04:00
Joshua Boniface 715c497b9d Terminate fully cleanly 2018-06-04 17:09:41 -04:00
Joshua Boniface b742030bd5 More try statemments to work 2018-06-04 17:08:00 -04:00
Joshua Boniface 4ab180d410 Some more cleanups to ake this more readable and efficient 2018-06-04 17:04:33 -04:00
Joshua Boniface 0d30804fc2 Some more cleanups and ensure consistent list contents 2018-06-04 16:46:45 -04:00
Joshua Boniface d666c5faff Clean up some more problems with migrate/flush and remove some crufty code 2018-06-04 16:37:58 -04:00
Joshua Boniface f1f6d10b0c Some cleanup of event handling here 2018-06-04 16:34:41 -04:00
Joshua Boniface e161a543cb typo 2018-06-04 03:10:54 -04:00
Joshua Boniface 0709ccc003 typo 2018-06-04 03:10:22 -04:00
Joshua Boniface e4b866bda5 Add unflush function 2018-06-04 03:09:51 -04:00
Joshua Boniface 4d767d11c0 Remove result print 2018-06-04 03:02:00 -04:00
Joshua Boniface b3ebc9bad3 Handle former hypervisor stuff properly 2018-06-04 03:00:17 -04:00
Joshua Boniface 8e04d47338 Some more tweaks 2018-06-04 02:46:55 -04:00
Joshua Boniface c0c84036c3 Fix some bugs 2018-06-04 02:34:03 -04:00
Joshua Boniface 1a72ee6414 Get flush working properly 2018-06-04 02:22:59 -04:00
Joshua Boniface 55ebbea6cf Parse the node_list as t_node array of objects for easy resouce passing 2018-06-04 01:52:26 -04:00
Joshua Boniface 0ec1399424 Restore some try functionalirty here 2018-06-04 01:26:23 -04:00
Joshua Boniface 79b5c41abd Fix calling name 2018-06-04 01:24:11 -04:00