Compare commits
No commits in common. "master" and "v0.9.104" have entirely different histories.
|
@ -1,9 +1,5 @@
|
|||
## 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"
|
||||
|
|
|
@ -179,10 +179,6 @@ def upload_ova(zkhandler, pool, name, ova_size):
|
|||
}
|
||||
retcode = 400
|
||||
return output, retcode
|
||||
else:
|
||||
ova_script = "default_ova"
|
||||
else:
|
||||
ova_script = "ova"
|
||||
|
||||
ova_archive = None
|
||||
|
||||
|
@ -401,14 +397,7 @@ def upload_ova(zkhandler, pool, name, ova_size):
|
|||
vnc = False
|
||||
serial = True
|
||||
retdata, retcode = provisioner.create_template_system(
|
||||
name,
|
||||
vcpu_count,
|
||||
vram_mb,
|
||||
serial,
|
||||
vnc,
|
||||
vnc_bind=None,
|
||||
ova=ova_id,
|
||||
migration_max_downtime=300,
|
||||
name, vcpu_count, vram_mb, serial, vnc, vnc_bind=None, ova=ova_id
|
||||
)
|
||||
if retcode != 200:
|
||||
return retdata, retcode
|
||||
|
@ -425,7 +414,7 @@ def upload_ova(zkhandler, pool, name, ova_size):
|
|||
None,
|
||||
None,
|
||||
userdata=None,
|
||||
script=ova_script,
|
||||
script="default_ova",
|
||||
ova=name,
|
||||
arguments=None,
|
||||
)
|
||||
|
|
|
@ -221,7 +221,7 @@ def create_template_system(
|
|||
node_selector=None,
|
||||
node_autostart=False,
|
||||
migration_method=None,
|
||||
migration_max_downtime=300,
|
||||
migration_max_downtime=None,
|
||||
ova=None,
|
||||
):
|
||||
if list_template_system(name, is_fuzzy=False)[-1] != 404:
|
||||
|
|
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||
|
||||
setup(
|
||||
name="pvc",
|
||||
version="0.9.105",
|
||||
version="0.9.104",
|
||||
packages=["pvc.cli", "pvc.lib"],
|
||||
install_requires=[
|
||||
"Click",
|
||||
|
|
|
@ -121,9 +121,6 @@ def format_bytes_tohuman(databytes):
|
|||
|
||||
|
||||
def format_bytes_fromhuman(datahuman):
|
||||
if not isinstance(datahuman, str):
|
||||
datahuman = str(datahuman)
|
||||
|
||||
if not re.search(r"[A-Za-z]+", datahuman):
|
||||
dataunit = "B"
|
||||
datasize = float(datahuman)
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
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"
|
||||
|
|
|
@ -33,7 +33,7 @@ import os
|
|||
import signal
|
||||
|
||||
# Daemon version
|
||||
version = "0.9.105"
|
||||
version = "0.9.104"
|
||||
|
||||
|
||||
##########################################################
|
||||
|
|
|
@ -49,7 +49,7 @@ import re
|
|||
import json
|
||||
|
||||
# Daemon version
|
||||
version = "0.9.105"
|
||||
version = "0.9.104"
|
||||
|
||||
|
||||
##########################################################
|
||||
|
|
|
@ -58,7 +58,7 @@ from daemon_lib.automirror import (
|
|||
)
|
||||
|
||||
# Daemon version
|
||||
version = "0.9.105"
|
||||
version = "0.9.104"
|
||||
|
||||
|
||||
config = cfg.get_configuration()
|
||||
|
|
Loading…
Reference in New Issue