Commit Graph

3346 Commits

Author SHA1 Message Date
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
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 8f31f49252 Remove some old help text 2018-06-06 13:35:16 -04:00
Joshua Boniface 5b9482be2f Fix double quote issue 2018-06-06 13:25:32 -04:00
Joshua Boniface 440ce77585 Formatting fixup 2018-06-06 13:06:21 -04:00
Joshua Boniface 23bddd9c41 Cleanup imports in pvcf.py 2018-06-06 13:03:40 -04:00
Joshua Boniface ab13c555f0 Some more cleanups and fix LXML objectify import 2018-06-06 13:03:02 -04:00
Joshua Boniface 6b6ebaa9be Use proper name 2018-06-06 12:29:19 -04:00
Joshua Boniface eeeb54c23d Validate our UUIDs and fix some formatting inconsistencies 2018-06-06 12:28:15 -04:00
Joshua Boniface 2c09ee2a17 Add undefine function; clean up superflous functions from testing 2018-06-06 12:00:52 -04:00
Joshua Boniface c2d7231c6a Remove that whole bad logic and do it on the client side 2018-06-06 11:54:08 -04:00
Joshua Boniface aab86d065d Move that command to the very end so it won't override any others 2018-06-06 11:51:12 -04:00
Joshua Boniface 67571434a5 Improve the logic of the on-delete-stop a bit to avoid spurious stop calls 2018-06-06 11:50:02 -04:00
Joshua Boniface 5ca3f6860b Don't die with attribute error if we can't destroy VM 2018-06-06 11:48:28 -04:00
Joshua Boniface 5edb5d1e77 Handle stopping the VM when its ZK config is deleted or it shouldn't be running 2018-06-06 11:46:24 -04:00
Joshua Boniface dc661a8ea8 Remove spurious try statement 2018-06-06 11:42:49 -04:00
Joshua Boniface f2db381969 Handle case where VM is deleted 2018-06-06 11:42:11 -04:00
Joshua Boniface 176764f382 A few more tweaks 2018-06-06 02:43:34 -04:00