Joshua Boniface
7663ad72c5
Update length of progress bar each update
...
Allows us to start with a lower length, and increase it later.
2024-08-20 17:22:15 -04:00
Joshua Boniface
9b3075be18
Add UUID check and fix wording
...
Don't suggest renaming any more as it's not enough.
2024-08-20 17:05:27 -04:00
Joshua Boniface
9a661d0173
Convert VM snapshots to worker tasks
...
Improves manageability and offloads these from the API context.
2024-08-20 16:50:41 -04:00
Joshua Boniface
6597f7aef6
Fix bad function call
2024-08-20 12:58:17 -04:00
Joshua Boniface
7cc354466f
Finish implementing snapshot import
2024-08-20 11:25:09 -04:00
Joshua Boniface
a6e824a049
Improve output text message
2024-08-19 18:51:41 -04:00
Joshua Boniface
624eb4e752
Fix bug in primary node display
2024-08-19 18:48:32 -04:00
Joshua Boniface
d060787503
Add initial implementation of snapshot export
2024-08-19 18:46:07 -04:00
Joshua Boniface
9f47da6777
Fix triplicate API calls on GET commands
2024-08-19 17:33:21 -04:00
Joshua Boniface
fc55046812
Add confirmation of snapshot removals
2024-08-19 13:57:20 -04:00
Joshua Boniface
33f905459a
Implement VM rollback
...
Closes #184
2024-08-16 10:47:18 -04:00
Joshua Boniface
174e6e08e3
Correct issues with VM output formats
2024-08-16 10:46:25 -04:00
Joshua Boniface
9f85c92dff
Handle missing or empty snapshot lists
2024-08-16 10:46:25 -04:00
Joshua Boniface
4b30d2f58a
Always show snapshots
2024-08-16 10:46:25 -04:00
Joshua Boniface
2fcee28fed
Hide topology in long output
2024-08-16 10:46:25 -04:00
Joshua Boniface
1f18e88c06
Add snapshots to VM info details
2024-08-16 10:46:25 -04:00
Joshua Boniface
a4ca112128
Add snapshot count to VM list
2024-08-16 10:46:25 -04:00
Joshua Boniface
0c240a5129
Add VM snapshot removal
2024-08-16 10:46:25 -04:00
Joshua Boniface
553c1e670e
Add VM snapshots functionality
...
Adds the ability to create snapshots of an entire VM, including all its
RBD disks and the VM XML config, though not any PVC metadata.
2024-08-16 10:46:25 -04:00
Joshua Boniface
1aa5999109
Bump version to 0.9.98
2024-06-05 12:01:31 -04:00
Joshua Boniface
234d6ae83b
Add warnings about snapshot consistency
2024-05-13 15:29:43 -04:00
Joshua Boniface
5d0e7931d1
Add support for rolling back snapshots
...
We supported creating snapshots, but not doing anything with them. This
removes the manual task of restoring a snapshot and replace it with a
PVC abstraction of rolling back to a snapshot.
While Ceph recommends cloning a snapshot instead of rolling back, due to
the time taken, in our usecase I don't think that is an optimal
strategy, as it will leave dangling clones that we'd then have to
manage.
Closes #183
2024-05-13 15:24:51 -04:00
Joshua Boniface
f6e856bf98
Fix debug output on timeout
2024-05-06 10:49:57 -04:00
Joshua Boniface
f1fe0c63f5
Bump version to 0.9.97
2024-04-19 10:32:16 -04:00
Joshua Boniface
9714ac20b2
Update formatting for Black 24.4.0
2024-04-19 10:26:06 -04:00
Joshua Boniface
559400ed90
Explicitly set --lines to integer type
2024-03-13 13:01:02 -04:00
Joshua Boniface
78c774b607
Bump version to 0.9.96
2024-03-08 14:23:07 -05:00
Joshua Boniface
dee8d186cf
Bump version to 0.9.95
2024-02-12 13:12:48 -05:00
Joshua Boniface
1e9871241e
Fix bug showing OSDs as split when not
2024-02-12 13:12:08 -05:00
Joshua Boniface
3bc500bc55
Permit duplicate VNIs in templates with flag
...
Supports niche usecases whereby a network template should contain the
same VNI(s) more than once.
2024-02-09 12:12:04 -05:00
Joshua Boniface
d63cc2e661
Bump version to 0.9.94
2024-02-06 13:31:50 -05:00
Joshua Boniface
a95e72008e
Add size validations for volume clones
...
Adds the same validations as a volume add or resize to volume clones, to
ensure there is enough free space for them.
2024-02-02 11:37:29 -05:00
Joshua Boniface
efc7434143
Add safety check for 80% full size
...
Adds a check that a volume creation or resize won't violate the 80% full
rule for the storage cluster. This ensures a cluster won't get too full
if a storage volume fills up.
Also adds a force flag throughout the pipeline to override this check,
should an administrator really want to do so.
Closes #177
2024-02-02 11:37:00 -05:00
Joshua Boniface
c473dcca81
Fix errors with autobackup email summary
...
How this was being done didn't work, as the backup volume was already
unmounted when we tried to read the backups from it. Instead, populate
the backup summary earlier in the run, during the actual backup.
2024-02-02 09:31:16 -05:00
Joshua Boniface
18f09196be
Bump version to 0.9.93
2024-01-30 09:51:21 -05:00
Joshua Boniface
df40b779af
Bump version to 0.9.92
2024-01-29 09:39:10 -05:00
Joshua Boniface
db4f0881a2
Improve error handling and retries
...
1. Use the actual response code from the server on error, or 504 on
timeouts instead of 500.
2. Retry GET requests 3 times and only error if the last fails
2024-01-29 09:35:14 -05:00
Joshua Boniface
9b51fe9f10
Use get() for newer keys in client
2024-01-29 09:21:02 -05:00
Joshua Boniface
e5e9c7086a
Add missing restore state to colours
2024-01-24 09:34:59 -05:00
Joshua Boniface
f29b4c2755
Bump version to 0.9.91
2024-01-23 10:40:59 -05:00
Joshua Boniface
6d6420a695
Add missing value to vm_define function
2024-01-23 09:58:32 -05:00
Joshua Boniface
2886176762
Improve handling of task arg display
...
Shows each subarg of the task_args as its own element, if applicable,
and fits the width to the terminal using MAX_CONTENT_WIDTH instead of an
arbitrary value.
2024-01-18 13:00:48 -05:00
Joshua Boniface
4dc4c975f1
Add status messages during task query
2024-01-18 12:38:53 -05:00
Joshua Boniface
8f3120baf3
Avoid errors if task_status is a tuple
2024-01-18 12:30:31 -05:00
Joshua Boniface
86ca363697
Bump version to 0.9.90
2024-01-11 10:22:48 -05:00
Joshua Boniface
09269f182c
Add live migrate max downtime selector meta field
...
Adds a new flag to VM metadata to allow setting the VM live migration
max downtime. This will enable very busy VMs that hang live migration to
have this value changed.
2024-01-11 00:05:50 -05:00
Joshua Boniface
362edeed8c
Add backup reporting and improve metrics
...
Major improvements to autobackup and backups, including additional
information/fields in the backup JSON itself, improved error handling,
and the ability to email reports of autobackups using a local sendmail
utility.
2024-01-10 14:18:44 -05:00
Joshua Boniface
e9b6072fa0
Bump version to 0.9.89
2024-01-09 12:15:53 -05:00
Joshua Boniface
1d480f5629
Bump version to 0.9.88
2023-12-29 14:56:33 -05:00
Joshua Boniface
123c7ce857
Update copyright header on all files for 2024
...
Last release of 2023 is probably the best time to do this.
2023-12-29 11:16:59 -05:00