Compare commits

..

3 Commits

Author SHA1 Message Date
2fb7c40497 Work around bad plugin data 2024-03-07 14:37:05 -05:00
dee8d186cf Bump version to 0.9.95 2024-02-12 13:12:48 -05:00
1e9871241e Fix bug showing OSDs as split when not 2024-02-12 13:12:08 -05:00
4 changed files with 7 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
* [API Daemon/CLI Client] Adds a flag to allow duplicate VNIs in network templates
* [API Daemon] Ensures that storage template disks are returned in disk ID order
* [Client CLI] Fixes a display bug showing all OSDs as split
###### [v0.9.94](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.94)

View File

@@ -430,7 +430,9 @@ def format_list_osd(config, osd_list):
)
continue
if osd_information.get("is_split") is not None:
if osd_information.get("is_split") is not None and osd_information.get(
"is_split"
):
osd_information["device"] = f"{osd_information['device']} [s]"
# Deal with the size to human readable

View File

@@ -69,6 +69,8 @@ def getNodeHealthDetails(zkhandler, node_name, node_health_plugins):
plugin_message,
plugin_data,
) = tuple(all_plugin_data[pos_start:pos_end])
if plugin_data is None:
continue
plugin_output = {
"name": plugin,
"last_run": int(plugin_last_run) if plugin_last_run is not None else None,

1
debian/changelog vendored
View File

@@ -2,6 +2,7 @@ pvc (0.9.95-0) unstable; urgency=high
* [API Daemon/CLI Client] Adds a flag to allow duplicate VNIs in network templates
* [API Daemon] Ensures that storage template disks are returned in disk ID order
* [Client CLI] Fixes a display bug showing all OSDs as split
-- Joshua M. Boniface <joshua@boniface.me> Fri, 09 Feb 2024 12:42:00 -0500