Commit Graph

64 Commits

Author SHA1 Message Date
Joshua Boniface 1e9c225a87 Change startup state to be "init" 2018-06-12 01:55:06 -04:00
Joshua Boniface eca7ca4958 Set the daemon into startup state on boot 2018-06-11 22:55:06 -04:00
Joshua Boniface 217d5810b1 Correct creation value 2018-06-11 03:04:53 -04:00
Joshua Boniface 705f2086be Add separate states for the daemon and the domains 2018-06-11 02:46:24 -04:00
Joshua Boniface 77df48060a Avoid accidental flushing of not-this-host instances 2018-06-11 02:20:03 -04:00
Joshua Boniface 1ecd31e6f6 Move ordering 2018-06-11 01:58:40 -04:00
Joshua Boniface 3df720d37f some more cleanups 2018-06-11 01:58:06 -04:00
Joshua Boniface 88d4964b9c Add hostname to startup to 2018-06-11 01:56:42 -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 82769e16e4 Add domains_count and used memory to info 2018-06-11 01:50:06 -04:00
Joshua Boniface e08b7516b4 Change some settings regarding config file 2018-06-11 01:36:07 -04:00
Joshua Boniface 0a882ef693 More work to make stuff work right 2018-06-10 20:45:32 -04:00
Joshua Boniface d0926afe95 Better parsing of config file with default section 2018-06-10 20:41:11 -04:00
Joshua Boniface 6fd2508ff6 Some better handling 2018-06-10 20:21:00 -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 3e51988e9a Make the ansiiprint more portable (give colour functions), have pvcd.py use it too 2018-06-06 23:57:25 -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 ad1bf35837 Formatting cleanup and colours! 2018-06-06 22:13:16 -04:00
Joshua Boniface 244464415d Delete a comment 2018-06-06 18:18:39 -04:00
Joshua Boniface 4b85ce9462 Fix problem writing keepalive time to ZK 2018-06-06 17:53:59 -04:00
Joshua Boniface bce202246e Remove extra line 2018-06-06 17:01:01 -04:00
Joshua Boniface 20a45f3d36 Changes for pending fencing configurationt 2018-06-06 15:41:06 -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 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 eb9ef43957 Don't override flush state on exit 2018-06-04 02:35:41 -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 8ac429dad8 Remove bad snippit 2018-06-02 15:04:25 -04:00
Joshua Boniface f61be2c30b Pass s_domain into each node instance object for ease of handling 2018-06-02 15:03:34 -04:00
Joshua Boniface f721e1c3d1 Lower sleep time during daemon start 2018-06-02 01:37:20 -04:00
Joshua Boniface b36cb9597d Remove superflous sleep 2018-06-02 00:51:23 -04:00
Joshua Boniface 765bad425c Sleep elsewhere 2018-06-02 00:46:06 -04:00
Joshua Boniface c4595fd595 Numerous more tweaks to make everything work properly (yay vague messages) 2018-06-01 12:21:58 -04:00
Joshua Boniface 00b0aa0031 Fix 2018-06-01 01:32:19 -04:00
Joshua Boniface bf1afbd7eb Finally get this working 2018-06-01 01:26:21 -04:00
Joshua Boniface 5afb2f7520 Fix 2018-06-01 01:03:41 -04:00
Joshua Boniface 0a8faac2aa Fix 2018-06-01 01:00:55 -04:00
Joshua Boniface 985977dafc Fix 2018-06-01 00:59:21 -04:00
Joshua Boniface cfd4639630 Fix 2018-06-01 00:58:37 -04:00
Joshua Boniface 549c4ac804 fix 2018-06-01 00:46:36 -04:00
Joshua Boniface 164d9739de Start all threads 2018-06-01 00:44:23 -04:00
Joshua Boniface 963d582c24 Fix 2018-06-01 00:42:29 -04:00
Joshua Boniface 9ab02318c6 More fixes 2018-06-01 00:41:26 -04:00
Joshua Boniface 7bcb2e0b00 Fix up some more bugs 2018-06-01 00:35:39 -04:00
Joshua Boniface ae445d7770 Remove global thing 2018-05-31 23:51:49 -04:00
Joshua Boniface c177f977e4 Add sleep after starting thread 2018-05-31 23:46:08 -04:00
Joshua Boniface bd4329b09f More bugs 2018-05-31 23:40:21 -04:00