Commit Graph

2607 Commits

Author SHA1 Message Date
Joshua Boniface bbfadac5e1 Fix dnsmasq options for DHCP-disabled networks 2020-01-06 16:04:26 -05:00
Joshua Boniface 096a740c4f Fix bugs around dhcp4_flag 2020-01-06 15:38:06 -05:00
Joshua Boniface 3816da6be6 Don't set a domain except on managed networks 2020-01-06 15:06:00 -05:00
Joshua Boniface 65be917542 Make sure dhcp4_flag is boolean 2020-01-06 15:03:24 -05:00
Joshua Boniface 7b3e267f7a Implement bridge_device for bridged VNIs
Required due to #64. Bridged networks were being created on top of a
vLAN if the Cluster network was a vLAN device, rather than being created
on the underlying device. This came from a previous revision of the
cluster architecture guidelines where Cluster was supposed to be a raw
device rather than a vLAN. This fixed the problem by implementing a
configuration field for a "bridge_device", a NIC device that can then
have the bridged vLANs created on top of it.

Fixes #64
2020-01-06 14:44:56 -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 456a50a73c Send proper delete for OSD deletion 2020-01-06 12:59:00 -05:00
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