Commit Graph

108 Commits

Author SHA1 Message Date
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
Joshua Boniface 8eb91a4ec3 Some more cleanup and avoid opening libvirt connections until they're really needed 2018-06-04 01:23:27 -04:00
Joshua Boniface ad4a9d8ea6 Fix up the logic and remove our extra try's around UUID lookups 2018-06-04 01:13:48 -04:00
Joshua Boniface 8904e25beb Write and use wrapper function for lookupByUUID 2018-06-04 01:09:42 -04:00
Joshua Boniface 7b427a8730 Fix spurious attempts to manage nonexistent VM instances 2018-06-04 00:51:11 -04:00
Joshua Boniface 6aca8f9fee Fix migrate problem 2018-06-02 16:45:20 -04:00
Joshua Boniface ea97b51edb Add tick counting during graceful shutdown to forcibly stop if blocked 2018-06-02 16:30:55 -04:00
Joshua Boniface fe52d3815c Print message indenting fixes 2018-06-02 16:22:05 -04:00
Joshua Boniface a155eb5fab Gracefully handle not being able to remove oruself from list 2018-06-02 15:43:02 -04:00
Joshua Boniface 87954559a1 Make this work better and stop bad VMs 2018-06-02 15:26:37 -04:00
Joshua Boniface beef743dd6 Fix up state toggles 2018-06-02 15:20:01 -04:00
Joshua Boniface cbfd3a8a31 Add s_domain elements and data from VM instances 2018-06-02 15:04:04 -04:00
Joshua Boniface ef1acc0188 Fix bug with lookup of uuid 2018-06-02 14:50:26 -04:00
Joshua Boniface fd7e240891 Forgot self 2018-06-02 14:38:37 -04:00
Joshua Boniface 3cb05f1c48 Add way to remove inactive VMs from the list 2018-06-02 14:37:49 -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 bf1afbd7eb Finally get this working 2018-06-01 01:26:21 -04:00
Joshua Boniface 3b319fa498 Fix 2018-06-01 01:02:45 -04:00
Joshua Boniface 0a8faac2aa Fix 2018-06-01 01:00:55 -04:00
Joshua Boniface cfd4639630 Fix 2018-06-01 00:58:37 -04:00
Joshua Boniface 2570d3c450 More fix 2018-06-01 00:53:53 -04:00
Joshua Boniface 54d40f117b More fix 2018-06-01 00:51:20 -04:00
Joshua Boniface 177ec4f862 More fix 2018-06-01 00:49:16 -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 365ad6709a Add state set 2018-05-31 23:48:12 -04:00
Joshua Boniface 226a88b064 Add state to initial setup 2018-05-31 23:45:07 -04:00
Joshua Boniface 1f2adafc4e Issue with self in defswq 2018-05-31 23:41:52 -04:00
Joshua Boniface bd4329b09f More bugs 2018-05-31 23:40:21 -04:00
Joshua Boniface 59410bf2d9 More fixes 2018-05-31 23:28:26 -04:00
Joshua Boniface 77c5c2ccf7 Add ability to update nodelists 2018-05-31 23:02:00 -04:00
Joshua Boniface 16613d900e Fix up creating empty node entry 2018-05-31 22:55:44 -04:00
Joshua Boniface 26a460c438 More significant work 2018-05-31 22:31:20 -04:00
Joshua Boniface 92ddec311b Add node instances 2018-05-31 21:49:23 -04:00