Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
83b8ce7b62 | |||
5e43f9bd7c | |||
ed087d83c2 |
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
7
debian/changelog
vendored
@ -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
|
||||
|
@ -49,7 +49,7 @@ import re
|
||||
import json
|
||||
|
||||
# Daemon version
|
||||
version = "0.9.68"
|
||||
version = "0.9.69"
|
||||
|
||||
|
||||
##########################################################
|
||||
|
@ -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
|
||||
if not patroni_failed:
|
||||
self.dns_aggregator.start_aggregator()
|
||||
else:
|
||||
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"
|
||||
)
|
||||
|
@ -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"]:
|
||||
|
Reference in New Issue
Block a user