Commit Graph

1464 Commits

Author SHA1 Message Date
Joshua Boniface c0808b40b4 Fix up pvcd.conf a bit 2018-06-10 20:29:53 -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 33e0100687 Complete fencing configurations 2018-06-08 12:19:30 -04:00
Joshua Boniface eb038dfbbb Add self 2018-06-07 00:40:32 -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 8176bd0416 Add some more comments and spaces for readability 2018-06-07 00:30:20 -04:00
Joshua Boniface 79fd22305c Add auto-space to prefix 2018-06-07 00:29:57 -04:00
Joshua Boniface c89ec52019 Revert "Add space in prefix"
This reverts commit 577954ddd4.
2018-06-07 00:29:04 -04:00
Joshua Boniface 577954ddd4 Add space in prefix 2018-06-07 00:28:48 -04:00
Joshua Boniface c642a20d73 Add error text to error prints 2018-06-07 00:26:55 -04:00
Joshua Boniface e3c789ea54 And some more 2018-06-07 00:21:53 -04:00
Joshua Boniface 8ce24d9660 Prettifiy formatting of columns 2018-06-07 00:21:15 -04:00
Joshua Boniface 7309af5ec0 Lengthen field a bit 2018-06-07 00:14:35 -04:00
Joshua Boniface fb796b74a7 Add colours to information printout 2018-06-07 00:12:55 -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 c6c058d832 Merge branch 'master' of ssh://dev.bonifacelabs.ca:2222/bonifacelabs/pvc 2018-06-06 23:50:30 -04:00
Joshua Boniface 18d5e3e33d Make that simpler 2018-06-06 23:49:25 -04:00
Joshua Boniface b6b7bb86b6 Use new ansiiprint setup 2018-06-06 23:46:32 -04:00
Joshua Boniface 4ca79f6a81 Consistent wording 2018-06-06 22:59:31 -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 c124cae24b Remove zkey variable for better readability 2018-06-06 21:57:58 -04:00
Joshua Boniface f4bdc22602 Use string format() consistently 2018-06-06 21:54:38 -04:00
Joshua Boniface 155e48ce94 Add terminate option instead of using stop (which screws with ZK state) 2018-06-06 21:47:06 -04:00
Joshua Boniface 3f25f89324 Add additional state - vm should be stopped as it shouldn't run on that node 2018-06-06 21:45:03 -04:00
Joshua Boniface 6bc935c38a Another missed 2018-06-06 21:41:02 -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 700f2e8cc4 Implement flush and unflush finally 2018-06-06 20:49:07 -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 6a0e262e96 Add flush component to fence 2018-06-06 20:36: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 36293d2d41 Basic fencenode functions 2018-06-06 18:18:48 -04:00
Joshua Boniface 244464415d Delete a comment 2018-06-06 18:18:39 -04:00
Joshua Boniface b5e8b1d45b Better output during migrations 2018-06-06 18:18:07 -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 76a431a500 Close the libvirt connection 2018-06-06 15:16:39 -04:00