2646 Commits

Author SHA1 Message Date
f076554b15 Disable RBD caching by default
Results in a massive (~2x) performance boost for random block I/O inside
VMs, and thus a worthwhile default change.
2022-12-05 17:56:59 -05:00
35f5219916 Fix bad ref in example scripts 2022-11-18 12:54:28 -05:00
f7eaa11a5f Update description 2022-11-16 22:48:40 -05:00
924a0b22ec Fix up remaining bugs in Rinse test script 2022-11-16 13:32:24 -05:00
6a5f54d169 Ensure transient dirs are cleaned up 2022-11-16 13:01:15 -05:00
7741400370 Ensure swap is skipped during cleanup too 2022-11-16 12:52:24 -05:00
5eafa475b9 Skip swap volumes during mounting 2022-11-16 12:42:28 -05:00
f3ba4b6294 Bump version to 0.9.59 2022-11-15 15:50:15 -05:00
faf9cc537f Flip behaviour of memory selectors
It didn't make any sense to me for mem(prov) to be the default selector,
since this has too many caveats versus mem(free). Switch to using
mem(free) as the default (i.e. "mem") and make memprov the alternative.
2022-11-15 15:45:59 -05:00
a28df75a5d Bump version to 0.9.58 2022-11-07 12:27:48 -05:00
13dab7a285 Remove extra lower() call where not needed 2022-11-07 12:26:50 -05:00
f89dbe802e Ensure equality of none and None for selector 2022-11-07 11:59:53 -05:00
d63e80675a Bump version to 0.9.57 2022-11-06 01:39:50 -04:00
263f3570ab Add module tag for daemon lib 2022-11-04 03:47:18 -04:00
90f9336041 Make benchmarker function as a module
1. Move the test_matrix, volume name, and size to module-level variables
so they can be accessed externally if this is imported.
2. Separate the volume creation and volume cleanup into functions.
3. Separate the individual benchmark runs into a function.

This should enable easier calling of the various subcomponents
externally, e.g. for external benchmark scripts.
2022-11-03 21:33:32 -04:00
5415985ed2 Better handle invalid nets in VMs
1. Error out when trying to add a new network to a VM if the network
doesn't exist on the cluster.
2. When showing the VM list, only show invalid networks in red, not the
whole list.
2022-11-01 10:24:24 -04:00
3384f24ef5 Remove VXLAN ref where it isn't correct 2022-11-01 09:40:13 -04:00
ef3c22d793 Bump version to 0.9.56 2022-10-27 14:21:04 -04:00
078f85b431 Add node autoready oneshot unit
This replicates some of the more important functionality of the defunct
pvc-flush.service unit. On presence of a trigger file (i.e.
/etc/pvc/autoready), it will trigger a "node ready" on boot. It does
nothing on shutdown as this must be handled by other mechanisms, though
a similar autoflush could be added as well.
2022-10-27 14:09:14 -04:00
bfb363c459 Ensure None filesystem is valid 2022-10-21 15:13:52 -04:00
13e6a0f0bd Move /dev umount to cleanup step 2022-10-21 14:47:48 -04:00
c1302cf8b6 Adjust help message text 2022-10-21 14:22:15 -04:00
9358949991 Add ova as valid name in addition to default_ova 2022-10-21 14:13:40 -04:00
cd0b8c23e6 Fix console config and domain argument 2022-10-21 14:04:17 -04:00
fb30263a41 Add cloud-init configuration to debootstrap script
Prevents errors trying to find the cloud-init metadata source.
2022-10-21 14:03:34 -04:00
172e3627d4 Add pfsense example provisioner script 2022-10-21 13:35:48 -04:00
53ffe6cd55 Include /proc in chroot mounts 2022-10-20 15:00:10 -04:00
df6e11ae7a Properly handle missing source_volume from OVAs 2022-10-19 13:18:12 -04:00
de2135db42 Add missing ceph import 2022-10-19 13:10:40 -04:00
72e093c2c4 Move conversion to install() step
Seems more clear to me than doing it in prepare()
2022-10-19 13:09:29 -04:00
60e32f7795 Add missing imports 2022-10-19 13:07:34 -04:00
23e7d84f53 Add output messages during OVA prepare 2022-10-19 12:58:11 -04:00
dd81594f26 Fix bad comparison 2022-10-19 12:46:15 -04:00
0d09f5d089 Remove reference to automatic upload of OVA script 2022-10-19 03:37:12 -04:00
365c70e873 Add missing flag 2022-10-19 03:34:37 -04:00
4f7e2fe146 Fix wording of initial script paragraphs 2022-10-19 03:27:14 -04:00
77f49654b9 Fix missing f-string marker 2022-10-15 16:26:47 -04:00
c158e4e0f5 Use own domain for docs links 2022-10-08 21:12:59 -04:00
31a5c8801f Add rinse example configuration
Provisions Rocky Linux 8 and 9 systems, and potentially older
CentOS/Fedora/Scientific Linux/SuSE systems. Depends on a custom build
of rinse (3.7.1) with Rocky 9 support.
2022-10-07 19:55:56 -04:00
0a4e4c7048 Add host-model to CPU config in VMs 2022-10-07 09:36:22 -04:00
de97f2f476 Add output message to debootstrap install 2022-10-07 02:27:20 -04:00
165ce15dfe Fix braces in fstring example 2022-10-06 15:57:31 -04:00
a81d419a2e Update copyright header year 2022-10-06 11:55:27 -04:00
85a7088e5a Fix titles 2022-10-06 11:54:36 -04:00
b58fa06f67 Add OVA script support
1. Ensure that system_template and script are not nullable in the DB.
2. Ensure that the CLI and API enforce the above and clean up CLI
arguments for profile add.
3. Ensure that, before uploading OVAs, a 'default_ova' provisioning
script is present.
4. Use the 'default_ova' script for new OVA uploads.
5. Ensure that OVA details are properly added to the vm_data dict in the
provisioner vmbuilder.
2022-10-06 10:48:12 -04:00
3b3d2e7f7e Reverse numbering of example scripts 2022-10-06 10:14:37 -04:00
72a5de800c Complete OVA provisioning script 2022-10-06 10:14:04 -04:00
f450d1d313 Remove lingering OVA references 2022-10-06 00:13:36 -04:00
2db58488a2 Update documentation to reflect script changes 2022-10-06 00:06:02 -04:00
1bbf8f6bf6 Reorganize and add more comments to examples 2022-10-05 23:35:53 -04:00