Commit Graph

2173 Commits

Author SHA1 Message Date
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
Joshua Boniface 04b1368898 Add uuid import 2018-06-06 02:14:41 -04:00
Joshua Boniface 35d671c933 Remove pvcf import 2018-06-06 02:13:14 -04:00
Joshua Boniface c8dcbd1027 Remove pvcf import 2018-06-06 02:12:49 -04:00
Joshua Boniface d89314baa8 Update logo 2018-06-06 02:12:39 -04:00
Joshua Boniface eccbe27eb3 Add SVG logo 2018-06-06 02:05:27 -04:00
Joshua Boniface de134e4e42 Add logo attribution 2018-06-06 02:05:13 -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 c5a13afbb8 Add success message to init function 2018-06-06 01:29:11 -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 ec0dacb042 Make initialization function nicer 2018-06-06 01:20:09 -04:00
Joshua Boniface d803b417f9 Improve client a bit more, add init function, add configurable zk_host 2018-06-06 01:07:59 -04:00
Joshua Boniface e3aee843d4 Remove old debug print statement 2018-06-06 00:49:46 -04:00
Joshua Boniface f27c2c4a45 Put try around node update get 2018-06-06 00:49:34 -04:00
Joshua Boniface f2ec143544 Some minor tweaks to fix stuff 2018-06-06 00:44:43 -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 62c5099d8f Make mutially exclusive option output much nicer info 2018-06-05 20:04:37 -04:00
Joshua Boniface 1e11ab25d1 More cool work on the client app 2018-06-05 18:46:36 -04:00
Joshua Boniface 9d8845dee3 More work on XML parsing to provide nice domain output 2018-06-05 12:27:41 -04:00
Joshua Boniface b63f6a2958 Major work on client-side application 2018-06-05 01:39:59 -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