Compare commits
3 Commits
v0.9.96
...
578e47410b
Author | SHA1 | Date | |
---|---|---|---|
578e47410b | |||
f2818385d4 | |||
efd915858e |
@ -1,5 +1,12 @@
|
|||||||
## PVC Changelog
|
## PVC Changelog
|
||||||
|
|
||||||
|
###### [v0.9.90](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.90)
|
||||||
|
|
||||||
|
* [Client CLI/API Daemon] Adds additional backup metainfo and an emailed report option to autobackups.
|
||||||
|
* [All] Adds a live migration maximum downtime selector to help with busy VM migrations.
|
||||||
|
* [API Daemon] Fixes a database migration bug on Debian 11.
|
||||||
|
* [Node Daemon] Fixes a race condition when applying Zookeeper schema changes.
|
||||||
|
|
||||||
###### [v0.9.89](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.89)
|
###### [v0.9.89](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.89)
|
||||||
|
|
||||||
* [API/Worker Daemons] Fixes a bug with the Celery result backends not being properly initialized on Debian 10/11.
|
* [API/Worker Daemons] Fixes a bug with the Celery result backends not being properly initialized on Debian 10/11.
|
||||||
|
@ -13,8 +13,8 @@ fi
|
|||||||
pushd /usr/share/pvc
|
pushd /usr/share/pvc
|
||||||
|
|
||||||
case "$( cat /etc/debian_version )" in
|
case "$( cat /etc/debian_version )" in
|
||||||
10.*|11.*)
|
10.*)
|
||||||
# Debian 10 & 11
|
# Debian 10
|
||||||
./pvcapid-manage_legacy.py db upgrade
|
./pvcapid-manage_legacy.py db upgrade
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -27,7 +27,7 @@ from distutils.util import strtobool as dustrtobool
|
|||||||
import daemon_lib.config as cfg
|
import daemon_lib.config as cfg
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.89"
|
version = "0.9.90"
|
||||||
|
|
||||||
# API version
|
# API version
|
||||||
API_VERSION = 1.0
|
API_VERSION = 1.0
|
||||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pvc",
|
name="pvc",
|
||||||
version="0.9.89",
|
version="0.9.90",
|
||||||
packages=["pvc.cli", "pvc.lib"],
|
packages=["pvc.cli", "pvc.lib"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Click",
|
"Click",
|
||||||
|
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,3 +1,12 @@
|
|||||||
|
pvc (0.9.90-0) unstable; urgency=high
|
||||||
|
|
||||||
|
* [Client CLI/API Daemon] Adds additional backup metainfo and an emailed report option to autobackups.
|
||||||
|
* [All] Adds a live migration maximum downtime selector to help with busy VM migrations.
|
||||||
|
* [API Daemon] Fixes a database migration bug on Debian 11.
|
||||||
|
* [Node Daemon] Fixes a race condition when applying Zookeeper schema changes.
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Thu, 11 Jan 2024 00:14:49 -0500
|
||||||
|
|
||||||
pvc (0.9.89-0) unstable; urgency=high
|
pvc (0.9.89-0) unstable; urgency=high
|
||||||
|
|
||||||
* [API/Worker Daemons] Fixes a bug with the Celery result backends not being properly initialized on Debian 10/11.
|
* [API/Worker Daemons] Fixes a bug with the Celery result backends not being properly initialized on Debian 10/11.
|
||||||
|
@ -33,7 +33,7 @@ import os
|
|||||||
import signal
|
import signal
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.89"
|
version = "0.9.90"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
@ -49,7 +49,7 @@ import re
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.89"
|
version = "0.9.90"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
@ -197,7 +197,9 @@ def entrypoint():
|
|||||||
os.execv(sys.argv[0], sys.argv)
|
os.execv(sys.argv[0], sys.argv)
|
||||||
|
|
||||||
# Validate the schema
|
# Validate the schema
|
||||||
pvcnoded.util.zookeeper.validate_schema(logger, zkhandler)
|
with zkhandler.writelock("base.schema.version"):
|
||||||
|
sleep(0.5)
|
||||||
|
pvcnoded.util.zookeeper.validate_schema(logger, zkhandler)
|
||||||
|
|
||||||
# Define a cleanup function
|
# Define a cleanup function
|
||||||
def cleanup(failure=False):
|
def cleanup(failure=False):
|
||||||
|
@ -94,7 +94,10 @@ def validate_schema(logger, zkhandler):
|
|||||||
# Validate our schema against the active version
|
# Validate our schema against the active version
|
||||||
if not zkhandler.schema.validate(zkhandler, logger):
|
if not zkhandler.schema.validate(zkhandler, logger):
|
||||||
logger.out("Found schema violations, applying", state="i")
|
logger.out("Found schema violations, applying", state="i")
|
||||||
zkhandler.schema.apply(zkhandler)
|
try:
|
||||||
|
zkhandler.schema.apply(zkhandler)
|
||||||
|
except Exception as e:
|
||||||
|
logger.out(f"Failed to apply schema updates: {e}", state="w")
|
||||||
else:
|
else:
|
||||||
logger.out("Schema successfully validated", state="o")
|
logger.out("Schema successfully validated", state="o")
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ from daemon_lib.vmbuilder import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.89"
|
version = "0.9.90"
|
||||||
|
|
||||||
|
|
||||||
config = cfg.get_configuration()
|
config = cfg.get_configuration()
|
||||||
|
Reference in New Issue
Block a user