Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
a8115cafd1 | |||
570da99605 |
@ -1,5 +1,9 @@
|
||||
## 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
|
||||
|
@ -27,7 +27,7 @@ from ssl import SSLContext, TLSVersion
|
||||
from distutils.util import strtobool as dustrtobool
|
||||
|
||||
# Daemon version
|
||||
version = "0.9.72"
|
||||
version = "0.9.73"
|
||||
|
||||
# API version
|
||||
API_VERSION = 1.0
|
||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
||||
|
||||
setup(
|
||||
name="pvc",
|
||||
version="0.9.72",
|
||||
version="0.9.73",
|
||||
packages=["pvc.cli", "pvc.lib"],
|
||||
install_requires=[
|
||||
"Click",
|
||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -49,7 +49,7 @@ import re
|
||||
import json
|
||||
|
||||
# Daemon version
|
||||
version = "0.9.72"
|
||||
version = "0.9.73"
|
||||
|
||||
|
||||
##########################################################
|
||||
|
@ -317,18 +317,20 @@ class MonitoringInstance(object):
|
||||
return
|
||||
|
||||
# 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)
|
||||
):
|
||||
if plugin_key not in self.all_plugin_names:
|
||||
self.zkhandler.delete(
|
||||
(
|
||||
"node.monitoring.data",
|
||||
self.this_node.name,
|
||||
"monitoring_plugin",
|
||||
plugin_key,
|
||||
)
|
||||
if plugins_data is not None:
|
||||
for plugin_key in plugins_data:
|
||||
if plugin_key not in self.all_plugin_names:
|
||||
self.zkhandler.delete(
|
||||
(
|
||||
"node.monitoring.data",
|
||||
self.this_node.name,
|
||||
"monitoring_plugin",
|
||||
plugin_key,
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
def run_plugin(self, plugin):
|
||||
time_start = datetime.now()
|
||||
|
Reference in New Issue
Block a user