Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
83b8ce7b62 | |||
5e43f9bd7c | |||
ed087d83c2 |
@ -1,5 +1,10 @@
|
|||||||
## PVC Changelog
|
## 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)
|
###### [v0.9.68](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.68)
|
||||||
|
|
||||||
* [CLI] Fixes another bug with network info view
|
* [CLI] Fixes another bug with network info view
|
||||||
|
@ -27,7 +27,7 @@ from ssl import SSLContext, TLSVersion
|
|||||||
from distutils.util import strtobool as dustrtobool
|
from distutils.util import strtobool as dustrtobool
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.68"
|
version = "0.9.69"
|
||||||
|
|
||||||
# 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.68",
|
version="0.9.69",
|
||||||
packages=["pvc.cli", "pvc.lib"],
|
packages=["pvc.cli", "pvc.lib"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Click",
|
"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
|
pvc (0.9.68-0) unstable; urgency=high
|
||||||
|
|
||||||
* [CLI] Fixes another bug with network info view
|
* [CLI] Fixes another bug with network info view
|
||||||
|
@ -49,7 +49,7 @@ import re
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.68"
|
version = "0.9.69"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
@ -620,9 +620,12 @@ class NodeInstance(object):
|
|||||||
for network in self.d_network:
|
for network in self.d_network:
|
||||||
self.d_network[network].startDHCPServer()
|
self.d_network[network].startDHCPServer()
|
||||||
# 9. Start DNS aggregator; just continue if we fail
|
# 9. Start DNS aggregator; just continue if we fail
|
||||||
if not patroni_failed:
|
try:
|
||||||
self.dns_aggregator.start_aggregator()
|
if not patroni_failed:
|
||||||
else:
|
self.dns_aggregator.start_aggregator()
|
||||||
|
else:
|
||||||
|
raise
|
||||||
|
except Exception:
|
||||||
self.logger.out(
|
self.logger.out(
|
||||||
"Not starting DNS aggregator due to Patroni failures", state="e"
|
"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.memtotal = int(psutil.virtual_memory().total / 1024 / 1024)
|
||||||
this_node.memused = int(psutil.virtual_memory().used / 1024 / 1024)
|
this_node.memused = int(psutil.virtual_memory().used / 1024 / 1024)
|
||||||
this_node.memfree = int(psutil.virtual_memory().free / 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
|
# Join against running threads
|
||||||
if config["enable_hypervisor"]:
|
if config["enable_hypervisor"]:
|
||||||
|
Reference in New Issue
Block a user