Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
83b8ce7b62 | |||
5e43f9bd7c | |||
ed087d83c2 | |||
83d475bd15 | |||
3d5cdf2b23 |
@ -1,5 +1,14 @@
|
|||||||
## 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)
|
||||||
|
|
||||||
|
* [CLI] Fixes another bug with network info view
|
||||||
|
|
||||||
###### [v0.9.67](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.67)
|
###### [v0.9.67](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.67)
|
||||||
|
|
||||||
* [CLI] Fixes several more bugs in the refactored CLI
|
* [CLI] Fixes several more bugs in the refactored CLI
|
||||||
|
@ -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.67"
|
version = "0.9.69"
|
||||||
|
|
||||||
# API version
|
# API version
|
||||||
API_VERSION = 1.0
|
API_VERSION = 1.0
|
||||||
|
@ -700,7 +700,7 @@ def format_info(config, network_information, long_output):
|
|||||||
ainformation.append("")
|
ainformation.append("")
|
||||||
if retcode:
|
if retcode:
|
||||||
dhcp4_reservations_string = format_list_dhcp(
|
dhcp4_reservations_string = format_list_dhcp(
|
||||||
dhcp4_reservations_list
|
config, dhcp4_reservations_list
|
||||||
)
|
)
|
||||||
for line in dhcp4_reservations_string.split("\n"):
|
for line in dhcp4_reservations_string.split("\n"):
|
||||||
ainformation.append(line)
|
ainformation.append(line)
|
||||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pvc",
|
name="pvc",
|
||||||
version="0.9.67",
|
version="0.9.69",
|
||||||
packages=["pvc.cli", "pvc.lib"],
|
packages=["pvc.cli", "pvc.lib"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Click",
|
"Click",
|
||||||
|
13
debian/changelog
vendored
13
debian/changelog
vendored
@ -1,3 +1,16 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Sun, 27 Aug 2023 20:59:23 -0400
|
||||||
|
|
||||||
pvc (0.9.67-0) unstable; urgency=high
|
pvc (0.9.67-0) unstable; urgency=high
|
||||||
|
|
||||||
* [CLI] Fixes several more bugs in the refactored CLI
|
* [CLI] Fixes several more bugs in the refactored CLI
|
||||||
|
@ -49,7 +49,7 @@ import re
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.67"
|
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