Joshua Boniface
f624cf9e24
Handle no-good-cluster scenarios
2020-01-02 11:19:11 -05:00
Joshua Boniface
cb3cc2782a
Add initial bits of provisioner CLI
2020-01-02 11:19:08 -05:00
Joshua Boniface
e550d4589d
Move userdata from templates
...
This arrangement was driving me somewhat mad; make userdata just like
script in that it is not a "template".
2019-12-30 15:01:28 -05:00
Joshua Boniface
d6bd616b31
Fix some bad output
2019-12-30 14:35:44 -05:00
Joshua Boniface
0ced9b2777
Fix incorrect bolding on output
2019-12-30 14:19:17 -05:00
Joshua Boniface
217b163d4b
Remove indented empty lines
2019-12-30 13:29:07 -05:00
Joshua Boniface
18e6192178
Add support for multiple clusters in CLI
2019-12-30 13:27:40 -05:00
Joshua Boniface
18c14cbf77
Handle there being no good nodes/VMs
2019-12-30 09:39:04 -05:00
Joshua Boniface
a661fec105
Handle boolean config values properly
2019-12-30 09:34:45 -05:00
Joshua Boniface
2325f87389
Correct typo in header
2019-12-30 09:07:41 -05:00
Joshua Boniface
0671a81aa2
Add missing install line for cli_lib
2019-12-29 21:02:05 -05:00
Joshua Boniface
6de65378ca
Fix bad metadata documentation
2019-12-29 20:58:02 -05:00
Joshua Boniface
4af95ecfcb
Add API doc for cluster status
2019-12-29 20:54:20 -05:00
Joshua Boniface
3b08e887f8
Add cluster status to API
2019-12-29 20:52:05 -05:00
Joshua Boniface
d2af6f4508
Complete conversion to API client
2019-12-29 20:33:51 -05:00
Joshua Boniface
d2f27cc8fe
Add network functions to API client
2019-12-29 16:34:32 -05:00
Joshua Boniface
d0b6bb4cc3
Convert VM functions to API client
2019-12-29 16:33:50 -05:00
Joshua Boniface
f4ef08df49
Add lxml dependency for pretty parsing of VM XML
2019-12-29 16:33:50 -05:00
Joshua Boniface
a85d8e5c4d
Add some QOL improvements
2019-12-29 16:33:50 -05:00
Joshua Boniface
e0c7397703
Complete node API client functions
2019-12-29 16:33:50 -05:00
Joshua Boniface
28a0ce772b
Node info moved to API
2019-12-29 16:33:50 -05:00
Joshua Boniface
3d178304f1
Convert some node functions to API
2019-12-29 16:33:50 -05:00
Joshua Boniface
a9aeb2e836
Implement log viewing/following with API
2019-12-29 16:33:50 -05:00
Joshua Boniface
b9fe918d7d
Remove extraneous print
2019-12-29 16:33:50 -05:00
Joshua Boniface
b7eddc6ae9
Add CLI lib
2019-12-29 16:33:50 -05:00
Joshua Boniface
f5436ed8a9
Change dependencies for CLI client
2019-12-29 16:33:50 -05:00
Joshua Boniface
3e960b8adf
Fix bugs in ACL
2019-12-29 16:33:28 -05:00
Joshua Boniface
e55f2f0b92
Ensure var is valid first
2019-12-29 16:19:33 -05:00
Joshua Boniface
a3df70014b
Refactor modify_network to use nicer format
2019-12-27 12:30:45 -05:00
Joshua Boniface
e29405c1ed
Add missing argument to net_modify
2019-12-27 12:18:01 -05:00
Joshua Boniface
e82b851643
Don't bother splitting name_servers
2019-12-27 12:15:57 -05:00
Joshua Boniface
bc22c008dd
Split the name_servers in the right place
2019-12-27 12:14:34 -05:00
Joshua Boniface
33e5dcd5e8
Add missing reqargs to network put
2019-12-27 12:12:07 -05:00
Joshua Boniface
4a0806d23e
Fix bug setting node limit of CSV
2019-12-26 19:08:26 -05:00
Joshua Boniface
1d4e4d178c
Correct bad comma
2019-12-26 18:58:46 -05:00
Joshua Boniface
5e226af4a1
Pass VM argument into function
2019-12-26 18:56:34 -05:00
Joshua Boniface
89f598e429
Fix another instance of selector name
2019-12-26 18:55:01 -05:00
Joshua Boniface
f178436025
Fix selector name in POST
2019-12-26 18:53:35 -05:00
Joshua Boniface
c9fb9600a4
Fix two small bugs and regen docs
2019-12-26 18:45:11 -05:00
Joshua Boniface
49dfc6564f
Add additional bit about response bodies
2019-12-26 11:26:30 -05:00
Joshua Boniface
20ae2186f9
Run VM state actions in a thread
...
Prevents blocking the main thread(s) while a VM is changing state. In
particular, this caused some issues with nodes not responding to
cancellation/reversal of a flush/ready state until the previous
migration was finished, which could cause issues. This entire subset of
actions is now threaded and so can run on its own in the background.
2019-12-26 11:08:16 -05:00
Joshua Boniface
b3483fa810
Add explicit returns from flush/ready threads
2019-12-26 11:08:00 -05:00
Joshua Boniface
47cf0a8006
Ensure migration out occurs
2019-12-25 21:11:02 -05:00
Joshua Boniface
77db36a891
Ensure migration out occurs
2019-12-25 21:02:46 -05:00
Joshua Boniface
9a39d739e8
Ensure we empty of flush_thread
2019-12-25 20:29:17 -05:00
Joshua Boniface
e8d8fb161b
Add wait functionality to API domain-state
2019-12-25 20:24:12 -05:00
Joshua Boniface
b1c19a21ba
Move int cast to helper try block
2019-12-25 19:31:51 -05:00
Joshua Boniface
1f77b382ef
Support providing console log lines from API
2019-12-25 19:13:53 -05:00
Joshua Boniface
8a0a278fe9
Cast numbers to strings for length
2019-12-25 13:47:46 -05:00
Joshua Boniface
1f6f486b3b
Fix broken unwanted change to pvc.py
2019-12-25 13:35:31 -05:00