Commit Graph

83 Commits

Author SHA1 Message Date
Joshua Boniface 0b31bab797 Add more helpful config parse error message 2020-01-22 12:09:31 -05:00
Joshua Boniface b615a27e98 Return false if wait is not set 2020-01-18 23:12:38 -05:00
Joshua Boniface 99b220b051 Add profile modification endpoint 2020-01-16 22:58:08 -05:00
Joshua Boniface 2057859b9f Add Celery task list output 2020-01-12 14:12:01 -05:00
Joshua Boniface b6474198a4 Implement cluster maintenance mode
Implements a "maintenance mode" for PVC clusters. For now, the only
thing this mode does is disable node fencing while the state is true.
This allows the administrator to tell PVC that network connectivity,
etc. might be interrupted and to avoid fencing nodes.

Closes #70
2020-01-09 10:53:27 -05:00
Joshua Boniface f280c93c82 Add create/start VM flags to API endpoint 2020-01-08 19:59:01 -05:00
Joshua Boniface 4e5bce4975 Update copyright header year to 2020 2020-01-08 19:38:02 -05:00
Joshua Boniface 0fca10de4a Verify profile is valid when creating VM 2020-01-07 11:45:39 -05:00
Joshua Boniface 096a740c4f Fix bugs around dhcp4_flag 2020-01-06 15:38:06 -05:00
Joshua Boniface 17b6af3ee6 Only split nameservers if needed 2020-01-06 13:21:37 -05:00
Joshua Boniface 220230ad47 Add missing reqargs to network post() 2020-01-06 13:12:08 -05:00
Joshua Boniface 1122589b88 Add documentation of OSD endpoints and proper return 2020-01-06 12:54:18 -05:00
Joshua Boniface 56bc104f19 Actually return body 2020-01-06 10:53:25 -05:00
Joshua Boniface e433181e34 Support source_volume options to storage volumes 2020-01-05 17:25:34 -05:00
Joshua Boniface a7a2ace5ae Properly pass reqargs to script put() 2020-01-05 02:42:21 -05:00
Joshua Boniface c032cf3f49 Correct bad variables 2020-01-05 00:55:17 -05:00
Joshua Boniface 41766febe6 Fix name of endpoint 2020-01-04 14:21:15 -05:00
Joshua Boniface c34ec68038 Return delete 2020-01-04 14:07:58 -05:00
Joshua Boniface 0a04c5d748 Handle empty arguments better 2020-01-04 14:05:42 -05:00
Joshua Boniface a10ce95be3 Remove a few more instances of userdata_template 2020-01-04 13:58:48 -05:00
Joshua Boniface 1c12a4c2f9 Fix bugs around userdata 2020-01-04 12:52:30 -05:00
Joshua Boniface e1c7705c3e Add missing return value 2020-01-04 11:48:13 -05:00
Joshua Boniface c9b8355ff0 Fix bad handling of Nonetype 2020-01-03 12:07:32 -05:00
Joshua Boniface 7ed6308e80 Correct handling of template arguments 2020-01-03 11:55:41 -05:00
Joshua Boniface 9b8dec8991 Add missing reqargs argument 2020-01-03 11:50:13 -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 a661fec105 Handle boolean config values properly 2019-12-30 09:34:45 -05:00
Joshua Boniface 6de65378ca Fix bad metadata documentation 2019-12-29 20:58:02 -05:00
Joshua Boniface 3b08e887f8 Add cluster status to API 2019-12-29 20:52:05 -05:00
Joshua Boniface e29405c1ed Add missing argument to net_modify 2019-12-27 12:18:01 -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 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 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 9b81a02805 Disable doc endpoint to avoid flask_swagger dep 2019-12-24 11:19:06 -05:00
Joshua Boniface f48d1e6d40 Add documentation for API_Doc endpoint 2019-12-24 08:59:17 -05:00
Joshua Boniface 914b3d84e1 Fix URL hosts 2019-12-23 21:17:30 -05:00
Joshua Boniface 142e1f186d Fix in-app host URL 2019-12-23 21:15:26 -05:00
Joshua Boniface 398fb2dfe9 Set URL and information in local swagger.json 2019-12-23 21:09:58 -05:00
Joshua Boniface a6683d5b17 Rebuild API using Flask-RESTful and Swagger docs 2019-12-23 20:43:20 -05:00
Joshua Boniface 7901ffb5e3 Handle the list of node_limits even better 2019-12-19 13:22:38 -05:00
Joshua Boniface 796fa4692f Pass remaining required args to vm_define 2019-12-19 11:53:24 -05:00
Joshua Boniface 78089afb4e Remove spurious argument to vm_define 2019-12-19 11:43:59 -05:00
Joshua Boniface 0727a7f6ed Move all provisioner API functionality into main 2019-12-14 14:12:55 -05:00
Joshua Boniface 1fb560e996 Add DNS nameservers to networks 2019-12-08 23:55:45 -05:00