Commit Graph

1699 Commits

Author SHA1 Message Date
Joshua Boniface 47c49f7672 Fix click import (again) 2020-01-06 12:55:44 -05:00
Joshua Boniface 1122589b88 Add documentation of OSD endpoints and proper return 2020-01-06 12:54:18 -05:00
Joshua Boniface 27279c9686 Properly import click echo 2020-01-06 12:38:20 -05:00
Joshua Boniface 094ac8c3a8 Ensure stdout is used 2020-01-06 12:34:35 -05:00
Joshua Boniface 9ea86cc570 Better handle key values 2020-01-06 11:56:34 -05:00
Joshua Boniface 5edcd45ad6 Handle non-200 codes in the multi-template return 2020-01-06 11:43:32 -05:00
Joshua Boniface a9edbe0234 Improve retdata 2020-01-06 11:32:27 -05:00
Joshua Boniface 13548b791d Add additional debugging and fix pool_idx loop var 2020-01-06 11:31:22 -05:00
Joshua Boniface 56bc104f19 Actually return body 2020-01-06 10:53:25 -05:00
Joshua Boniface 1113234270 Send DELETE instead of POST 2020-01-06 10:47:01 -05:00
Joshua Boniface 66863a0183 Improve output of cluster 2020-01-06 09:23:35 -05:00
Joshua Boniface 007ee56a46 Fix some bugs and where no-cluster message happens 2020-01-06 09:18:22 -05:00
Joshua Boniface be5c67f696 Add messages when adding/removing clusters to CLI 2020-01-06 09:11:00 -05:00
Joshua Boniface 3e5c7c5546 Remove my stuff from userdata.yaml example 2020-01-05 23:55:11 -05:00
Joshua Boniface cdd887757e Use by-id labels for disks and dump/cpass /var/log 2020-01-05 23:46:06 -05:00
Joshua Boniface 5e2efacda5 Strip VM schema when defining 2020-01-05 23:22:23 -05:00
Joshua Boniface 3719d850c7 Fix setting hostname in debootstrap script 2020-01-05 23:09:33 -05:00
Joshua Boniface 8eb95afae5 Update the comment and remove hostname 2020-01-05 22:47:10 -05:00
Joshua Boniface e7bc4f7328 Handle empty None-type hostname 2020-01-05 22:46:56 -05:00
Joshua Boniface 46c5e8e36c Correct bad variable name 2020-01-05 22:11:40 -05:00
Joshua Boniface acc7c1b554 Ensure template code responses accross everything 2020-01-05 22:07:37 -05:00
Joshua Boniface f4ae245184 Avoid splitting an empty node_limit 2020-01-05 21:28:22 -05:00
Joshua Boniface 6fc12b4438 Add wget to packages list in debootstrap script 2020-01-05 20:18:58 -05:00
Joshua Boniface 5521110043 Add missing return failure 2020-01-05 20:16:49 -05:00
Joshua Boniface 80077efc63 Send error in regular message and fix codes 2020-01-05 19:41:55 -05:00
Joshua Boniface 832ca2e4b3 Handle code properly 2020-01-05 19:28:02 -05:00
Joshua Boniface 8364d67c51 Correct bad name 2020-01-05 19:19:19 -05:00
Joshua Boniface a9b8403812 Support viewing source volumes 2020-01-05 19:11:52 -05:00
Joshua Boniface 698b185fb4 Fix bugs with codes and fsargs 2020-01-05 19:11:39 -05:00
Joshua Boniface e433181e34 Support source_volume options to storage volumes 2020-01-05 17:25:34 -05:00
Joshua Boniface 2ed6949373 Add storage table column for source_volume 2020-01-05 17:17:06 -05:00
Joshua Boniface 33709828b1 Handle bad response to logs 2020-01-05 17:07:39 -05:00
Joshua Boniface cfb5862cf0 Just return an empty log 2020-01-05 17:06:14 -05:00
Joshua Boniface bde0bd6238 Better handle empty script 2020-01-05 16:59:19 -05:00
Joshua Boniface 6306586ad3 Handle new return setup 2020-01-05 16:53:12 -05:00
Joshua Boniface ba85d1d338 Update schema format 2020-01-05 16:46:13 -05:00
Joshua Boniface 3b3436f647 Add default "empty" script matching userdata 2020-01-05 16:45:01 -05:00
Joshua Boniface 8b05dfea7b Skip provisioning process steps if script is "empty" 2020-01-05 16:43:50 -05:00
Joshua Boniface d1331401d8 Correct tense post-wait 2020-01-05 15:28:08 -05:00
Joshua Boniface be20ba02a7 Handle VM states in flush more accurately
We don't want to block forever on a failure, so limit valid waiting
states to just those we know it should be in during a migration.
2020-01-05 15:21:16 -05:00
Joshua Boniface c3231ddc24 Wrap list bad request responses in JSON 2020-01-05 15:14:11 -05:00
Joshua Boniface 9d06aa111b Handle creating swap in provisioner 2020-01-05 15:07:48 -05:00
Joshua Boniface c39c6e8d86 Mention what to do if no cluster found 2020-01-05 15:00:08 -05:00
Joshua Boniface 8d758f3e53 Add missing disable function 2020-01-05 14:38:14 -05:00
Joshua Boniface 8cc20fbcfb Properly handle empty node limit 2020-01-05 13:42:23 -05:00
Joshua Boniface ef293b7778 Fix syntax error 2020-01-05 13:19:21 -05:00
Joshua Boniface b9fdce6728 Use consistent function and stderr for debug 2020-01-05 12:51:06 -05:00
Joshua Boniface baae9b4982 Print initial cluster message to stderr
Allows it to be easily filtered out
2020-01-05 12:38:29 -05:00
Joshua Boniface 08570bd7b9 Don't click.echo except in main program
Return all the strings we printed directly, so that the caller can print
them normally.
2020-01-05 12:35:00 -05:00
Joshua Boniface 46f3915ab4 Put list handling in the right place 2020-01-05 11:51:03 -05:00