Compare commits
2 Commits
309b203f5d
...
387fcfdf6b
Author | SHA1 | Date | |
---|---|---|---|
387fcfdf6b | |||
d695e855f9 |
@ -1,5 +1,9 @@
|
|||||||
## PVC Changelog
|
## PVC Changelog
|
||||||
|
|
||||||
|
###### [v0.9.107](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.107)
|
||||||
|
|
||||||
|
* [Worker Daemon] Fixes a bug where snapshot removal fails during autobackups
|
||||||
|
|
||||||
###### [v0.9.106](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.106)
|
###### [v0.9.106](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.106)
|
||||||
|
|
||||||
* [API Daemon] Fixes a calculation bug when checking storage free space
|
* [API Daemon] Fixes a calculation bug when checking storage free space
|
||||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pvc",
|
name="pvc",
|
||||||
version="0.9.106",
|
version="0.9.107",
|
||||||
packages=["pvc.cli", "pvc.lib"],
|
packages=["pvc.cli", "pvc.lib"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Click",
|
"Click",
|
||||||
|
@ -469,13 +469,14 @@ def run_vm_backup(zkhandler, celery, config, vm_detail, force_full=False):
|
|||||||
|
|
||||||
if len(marked_for_deletion) > 0:
|
if len(marked_for_deletion) > 0:
|
||||||
for backup_to_delete in marked_for_deletion:
|
for backup_to_delete in marked_for_deletion:
|
||||||
|
try:
|
||||||
ret = vm.vm_worker_remove_snapshot(
|
ret = vm.vm_worker_remove_snapshot(
|
||||||
zkhandler, None, vm_name, backup_to_delete["snapshot_name"]
|
zkhandler, None, vm_name, backup_to_delete["snapshot_name"]
|
||||||
)
|
)
|
||||||
if ret is False:
|
except Exception:
|
||||||
error_message = f"Failed to remove obsolete backup snapshot '{backup_to_delete['snapshot_name']}', leaving in tracked backups"
|
error_message = f"Failed to remove obsolete backup snapshot '{backup_to_delete['snapshot_name']}', removing from tracked backups anyways"
|
||||||
log_err(celery, error_message)
|
log_err(celery, error_message)
|
||||||
else:
|
|
||||||
rmtree(f"{vm_backup_path}/{backup_to_delete['snapshot_name']}")
|
rmtree(f"{vm_backup_path}/{backup_to_delete['snapshot_name']}")
|
||||||
tracked_backups.remove(backup_to_delete)
|
tracked_backups.remove(backup_to_delete)
|
||||||
|
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
pvc (0.9.107-0) unstable; urgency=high
|
||||||
|
|
||||||
|
* [Worker Daemon] Fixes a bug where snapshot removal fails during autobackups
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Mon, 10 Feb 2025 23:15:21 -0500
|
||||||
|
|
||||||
pvc (0.9.106-0) unstable; urgency=high
|
pvc (0.9.106-0) unstable; urgency=high
|
||||||
|
|
||||||
* [API Daemon] Fixes a calculation bug when checking storage free space
|
* [API Daemon] Fixes a calculation bug when checking storage free space
|
||||||
|
@ -33,7 +33,7 @@ import os
|
|||||||
import signal
|
import signal
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.106"
|
version = "0.9.107"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
@ -49,7 +49,7 @@ import re
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.106"
|
version = "0.9.107"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
@ -58,7 +58,7 @@ from daemon_lib.automirror import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.106"
|
version = "0.9.107"
|
||||||
|
|
||||||
|
|
||||||
config = cfg.get_configuration()
|
config = cfg.get_configuration()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user