Compare commits

..

3 Commits

8 changed files with 23 additions and 8 deletions

View File

@ -1 +1 @@
0.9.68
0.9.69

View File

@ -1,5 +1,10 @@
## PVC Changelog
###### [v0.9.69](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.69)
* [Node Daemon] Ensures that system load is always 2 decimal places on Bookworm
* [Node Daemon] Fixes bug blocking primary takeover at DNS Aggregator start if Patroni is down
###### [v0.9.68](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.68)
* [CLI] Fixes another bug with network info view

View File

@ -27,7 +27,7 @@ from ssl import SSLContext, TLSVersion
from distutils.util import strtobool as dustrtobool
# Daemon version
version = "0.9.68"
version = "0.9.69"
# API version
API_VERSION = 1.0

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name="pvc",
version="0.9.68",
version="0.9.69",
packages=["pvc.cli", "pvc.lib"],
install_requires=[
"Click",

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
pvc (0.9.69-0) unstable; urgency=high
* [Node Daemon] Ensures that system load is always 2 decimal places on Bookworm
* [Node Daemon] Fixes bug blocking primary takeover at DNS Aggregator start if Patroni is down
-- Joshua M. Boniface <joshua@boniface.me> Tue, 29 Aug 2023 22:01:22 -0400
pvc (0.9.68-0) unstable; urgency=high
* [CLI] Fixes another bug with network info view

View File

@ -49,7 +49,7 @@ import re
import json
# Daemon version
version = "0.9.68"
version = "0.9.69"
##########################################################

View File

@ -620,9 +620,12 @@ class NodeInstance(object):
for network in self.d_network:
self.d_network[network].startDHCPServer()
# 9. Start DNS aggregator; just continue if we fail
try:
if not patroni_failed:
self.dns_aggregator.start_aggregator()
else:
raise
except Exception:
self.logger.out(
"Not starting DNS aggregator due to Patroni failures", state="e"
)

View File

@ -753,7 +753,7 @@ def node_keepalive(logger, config, zkhandler, this_node, monitoring_instance):
this_node.memtotal = int(psutil.virtual_memory().total / 1024 / 1024)
this_node.memused = int(psutil.virtual_memory().used / 1024 / 1024)
this_node.memfree = int(psutil.virtual_memory().free / 1024 / 1024)
this_node.cpuload = os.getloadavg()[0]
this_node.cpuload = round(os.getloadavg()[0], 2)
# Join against running threads
if config["enable_hypervisor"]: