Compare commits
6 Commits
82cef60078
...
v0.9.105
Author | SHA1 | Date | |
---|---|---|---|
7a32d8da9d | |||
e3b8673789 | |||
9db46d48e4 | |||
d74c3a2d45 | |||
f4e946c262 | |||
31254e8174 |
12
CHANGELOG.md
12
CHANGELOG.md
@ -1,5 +1,17 @@
|
|||||||
## PVC Changelog
|
## PVC Changelog
|
||||||
|
|
||||||
|
###### [v0.9.105](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.105)
|
||||||
|
|
||||||
|
* [API Daemon/Provisioner] Corrects some small bugs with OVA handling
|
||||||
|
|
||||||
|
###### [v0.9.104](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.104)
|
||||||
|
|
||||||
|
* [API Daemon] Fixes a bug that failed uploading of RAW block devices in "storage volume upload"
|
||||||
|
* [API Daemon/CLI Client] Adds support for VM automirrors, replicating the functionality of autobackup but for cross-cluster mirroring
|
||||||
|
* [CLI Client] Improves the help output of several commands
|
||||||
|
* [API Daemon/CLI Client] Moves VM snapshot age conversions to human-readable values out of the API and into the client to open up more programatic handling in the future
|
||||||
|
* [Worker Daemon] Improves the Celery logging output clarity by including the calling function in any task output
|
||||||
|
|
||||||
###### [v0.9.103](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.103)
|
###### [v0.9.103](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.103)
|
||||||
|
|
||||||
* [Provisioner] Fixes a bug with the change in `storage_hosts` to FQDNs affecting the VM Builder
|
* [Provisioner] Fixes a bug with the change in `storage_hosts` to FQDNs affecting the VM Builder
|
||||||
|
@ -179,6 +179,10 @@ def upload_ova(zkhandler, pool, name, ova_size):
|
|||||||
}
|
}
|
||||||
retcode = 400
|
retcode = 400
|
||||||
return output, retcode
|
return output, retcode
|
||||||
|
else:
|
||||||
|
ova_script = "default_ova"
|
||||||
|
else:
|
||||||
|
ova_script = "ova"
|
||||||
|
|
||||||
ova_archive = None
|
ova_archive = None
|
||||||
|
|
||||||
@ -397,7 +401,14 @@ def upload_ova(zkhandler, pool, name, ova_size):
|
|||||||
vnc = False
|
vnc = False
|
||||||
serial = True
|
serial = True
|
||||||
retdata, retcode = provisioner.create_template_system(
|
retdata, retcode = provisioner.create_template_system(
|
||||||
name, vcpu_count, vram_mb, serial, vnc, vnc_bind=None, ova=ova_id
|
name,
|
||||||
|
vcpu_count,
|
||||||
|
vram_mb,
|
||||||
|
serial,
|
||||||
|
vnc,
|
||||||
|
vnc_bind=None,
|
||||||
|
ova=ova_id,
|
||||||
|
migration_max_downtime=300,
|
||||||
)
|
)
|
||||||
if retcode != 200:
|
if retcode != 200:
|
||||||
return retdata, retcode
|
return retdata, retcode
|
||||||
@ -414,7 +425,7 @@ def upload_ova(zkhandler, pool, name, ova_size):
|
|||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
userdata=None,
|
userdata=None,
|
||||||
script="default_ova",
|
script=ova_script,
|
||||||
ova=name,
|
ova=name,
|
||||||
arguments=None,
|
arguments=None,
|
||||||
)
|
)
|
||||||
|
@ -221,7 +221,7 @@ def create_template_system(
|
|||||||
node_selector=None,
|
node_selector=None,
|
||||||
node_autostart=False,
|
node_autostart=False,
|
||||||
migration_method=None,
|
migration_method=None,
|
||||||
migration_max_downtime=None,
|
migration_max_downtime=300,
|
||||||
ova=None,
|
ova=None,
|
||||||
):
|
):
|
||||||
if list_template_system(name, is_fuzzy=False)[-1] != 404:
|
if list_template_system(name, is_fuzzy=False)[-1] != 404:
|
||||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pvc",
|
name="pvc",
|
||||||
version="0.9.103",
|
version="0.9.105",
|
||||||
packages=["pvc.cli", "pvc.lib"],
|
packages=["pvc.cli", "pvc.lib"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Click",
|
"Click",
|
||||||
|
@ -121,6 +121,9 @@ def format_bytes_tohuman(databytes):
|
|||||||
|
|
||||||
|
|
||||||
def format_bytes_fromhuman(datahuman):
|
def format_bytes_fromhuman(datahuman):
|
||||||
|
if not isinstance(datahuman, str):
|
||||||
|
datahuman = str(datahuman)
|
||||||
|
|
||||||
if not re.search(r"[A-Za-z]+", datahuman):
|
if not re.search(r"[A-Za-z]+", datahuman):
|
||||||
dataunit = "B"
|
dataunit = "B"
|
||||||
datasize = float(datahuman)
|
datasize = float(datahuman)
|
||||||
|
16
debian/changelog
vendored
16
debian/changelog
vendored
@ -1,3 +1,19 @@
|
|||||||
|
pvc (0.9.105-0) unstable; urgency=high
|
||||||
|
|
||||||
|
* [API Daemon/Provisioner] Corrects some small bugs with OVA handling
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Tue, 19 Nov 2024 14:43:43 -0500
|
||||||
|
|
||||||
|
pvc (0.9.104-0) unstable; urgency=high
|
||||||
|
|
||||||
|
* [API Daemon] Fixes a bug that failed uploading of RAW block devices in "storage volume upload"
|
||||||
|
* [API Daemon/CLI Client] Adds support for VM automirrors, replicating the functionality of autobackup but for cross-cluster mirroring
|
||||||
|
* [CLI Client] Improves the help output of several commands
|
||||||
|
* [API Daemon/CLI Client] Moves VM snapshot age conversions to human-readable values out of the API and into the client to open up more programatic handling in the future
|
||||||
|
* [Worker Daemon] Improves the Celery logging output clarity by including the calling function in any task output
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Mon, 18 Nov 2024 10:53:56 -0500
|
||||||
|
|
||||||
pvc (0.9.103-0) unstable; urgency=high
|
pvc (0.9.103-0) unstable; urgency=high
|
||||||
|
|
||||||
* [Provisioner] Fixes a bug with the change in `storage_hosts` to FQDNs affecting the VM Builder
|
* [Provisioner] Fixes a bug with the change in `storage_hosts` to FQDNs affecting the VM Builder
|
||||||
|
@ -33,7 +33,7 @@ import os
|
|||||||
import signal
|
import signal
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.103"
|
version = "0.9.105"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
@ -49,7 +49,7 @@ import re
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.103"
|
version = "0.9.105"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
@ -58,7 +58,7 @@ from daemon_lib.automirror import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.103"
|
version = "0.9.105"
|
||||||
|
|
||||||
|
|
||||||
config = cfg.get_configuration()
|
config = cfg.get_configuration()
|
||||||
|
Reference in New Issue
Block a user