Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
a8115cafd1 | |||
570da99605 | |||
fdda47e8a2 | |||
a5ffe373cd |
@ -1,5 +1,13 @@
|
|||||||
## PVC Changelog
|
## PVC Changelog
|
||||||
|
|
||||||
|
###### [v0.9.73](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.73)
|
||||||
|
|
||||||
|
* [Node Daemon] Fixes a bug creating monitoring instance
|
||||||
|
|
||||||
|
###### [v0.9.72](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.72)
|
||||||
|
|
||||||
|
* [CLI] Restores old functionality for default node value
|
||||||
|
|
||||||
###### [v0.9.71](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.71)
|
###### [v0.9.71](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.71)
|
||||||
|
|
||||||
* [API] Adds API support for Debian Bookworm
|
* [API] Adds API support for Debian Bookworm
|
||||||
|
@ -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.71"
|
version = "0.9.73"
|
||||||
|
|
||||||
# API version
|
# API version
|
||||||
API_VERSION = 1.0
|
API_VERSION = 1.0
|
||||||
|
@ -569,7 +569,7 @@ def cli_node():
|
|||||||
short_help="Set node as primary coordinator.",
|
short_help="Set node as primary coordinator.",
|
||||||
)
|
)
|
||||||
@connection_req
|
@connection_req
|
||||||
@click.argument("node")
|
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-w",
|
"-w",
|
||||||
"--wait",
|
"--wait",
|
||||||
@ -619,7 +619,7 @@ NOTE: There are currently {len(tasks_retdata)} active or queued provisioner task
|
|||||||
short_help="Set node as secondary coordinator.",
|
short_help="Set node as secondary coordinator.",
|
||||||
)
|
)
|
||||||
@connection_req
|
@connection_req
|
||||||
@click.argument("node")
|
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-w",
|
"-w",
|
||||||
"--wait",
|
"--wait",
|
||||||
@ -671,7 +671,7 @@ NOTE: There are currently {len(tasks_retdata)} active or queued provisioner task
|
|||||||
short_help="Take node out of service.",
|
short_help="Take node out of service.",
|
||||||
)
|
)
|
||||||
@connection_req
|
@connection_req
|
||||||
@click.argument("node")
|
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-w",
|
"-w",
|
||||||
"--wait",
|
"--wait",
|
||||||
@ -709,7 +709,7 @@ def cli_node_flush(
|
|||||||
short_help="Restore node to service.",
|
short_help="Restore node to service.",
|
||||||
)
|
)
|
||||||
@connection_req
|
@connection_req
|
||||||
@click.argument("node")
|
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-w",
|
"-w",
|
||||||
"--wait",
|
"--wait",
|
||||||
@ -747,7 +747,7 @@ def cli_node_ready(
|
|||||||
short_help="View node daemon logs.",
|
short_help="View node daemon logs.",
|
||||||
)
|
)
|
||||||
@connection_req
|
@connection_req
|
||||||
@click.argument("node")
|
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
|
||||||
@click.option(
|
@click.option(
|
||||||
"-l",
|
"-l",
|
||||||
"--lines",
|
"--lines",
|
||||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pvc",
|
name="pvc",
|
||||||
version="0.9.71",
|
version="0.9.73",
|
||||||
packages=["pvc.cli", "pvc.lib"],
|
packages=["pvc.cli", "pvc.lib"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Click",
|
"Click",
|
||||||
|
12
debian/changelog
vendored
12
debian/changelog
vendored
@ -1,3 +1,15 @@
|
|||||||
|
pvc (0.9.73-0) unstable; urgency=high
|
||||||
|
|
||||||
|
* [Node Daemon] Fixes a bug creating monitoring instance
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Sat, 02 Sep 2023 02:16:19 -0400
|
||||||
|
|
||||||
|
pvc (0.9.72-0) unstable; urgency=high
|
||||||
|
|
||||||
|
* [CLI] Restores old functionality for default node value
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Fri, 01 Sep 2023 16:34:45 -0400
|
||||||
|
|
||||||
pvc (0.9.71-0) unstable; urgency=high
|
pvc (0.9.71-0) unstable; urgency=high
|
||||||
|
|
||||||
* [API] Adds API support for Debian Bookworm
|
* [API] Adds API support for Debian Bookworm
|
||||||
|
@ -49,7 +49,7 @@ import re
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.71"
|
version = "0.9.73"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
@ -317,18 +317,20 @@ class MonitoringInstance(object):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Clean up any old plugin data for which a plugin file no longer exists
|
# Clean up any old plugin data for which a plugin file no longer exists
|
||||||
for plugin_key in self.zkhandler.children(
|
plugins_data = self.zkhandler.children(
|
||||||
("node.monitoring.data", self.this_node.name)
|
("node.monitoring.data", self.this_node.name)
|
||||||
):
|
)
|
||||||
if plugin_key not in self.all_plugin_names:
|
if plugins_data is not None:
|
||||||
self.zkhandler.delete(
|
for plugin_key in plugins_data:
|
||||||
(
|
if plugin_key not in self.all_plugin_names:
|
||||||
"node.monitoring.data",
|
self.zkhandler.delete(
|
||||||
self.this_node.name,
|
(
|
||||||
"monitoring_plugin",
|
"node.monitoring.data",
|
||||||
plugin_key,
|
self.this_node.name,
|
||||||
|
"monitoring_plugin",
|
||||||
|
plugin_key,
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
|
||||||
|
|
||||||
def run_plugin(self, plugin):
|
def run_plugin(self, plugin):
|
||||||
time_start = datetime.now()
|
time_start = datetime.now()
|
||||||
|
Reference in New Issue
Block a user