Compare commits
2 Commits
cb50eee2a9
...
de2b2a4036
Author | SHA1 | Date | |
---|---|---|---|
de2b2a4036 | |||
7d2ea494e7 |
@ -1,5 +1,11 @@
|
||||
## PVC Changelog
|
||||
|
||||
###### [v0.9.48](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.48)
|
||||
|
||||
* [CLI] Fixes situation where only a single cluster is available
|
||||
* [CLI/API/Daemon] Allows forcing of OSD removal ignoring errors
|
||||
* [CLI] Fixes bug where down OSDs are not displayed
|
||||
|
||||
###### [v0.9.47](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.47)
|
||||
|
||||
* [Node Daemon/API/CLI] Adds Ceph pool device class/tier support
|
||||
|
@ -25,7 +25,7 @@ import yaml
|
||||
from distutils.util import strtobool as dustrtobool
|
||||
|
||||
# Daemon version
|
||||
version = "0.9.47"
|
||||
version = "0.9.48"
|
||||
|
||||
# API version
|
||||
API_VERSION = 1.0
|
||||
|
@ -367,10 +367,20 @@ def format_list_osd(osd_list):
|
||||
|
||||
for osd_information in osd_list:
|
||||
try:
|
||||
# If this happens, the node hasn't checked in fully yet, so just ignore it
|
||||
# If this happens, the node hasn't checked in fully yet, so use some dummy data
|
||||
if osd_information["stats"]["node"] == "|":
|
||||
continue
|
||||
for key in osd_information["stats"].keys():
|
||||
if osd_information["stats"][key] == "|":
|
||||
osd_information["stats"][key] = "N/A"
|
||||
elif osd_information["stats"][key] is None:
|
||||
osd_information["stats"][key] = "N/A"
|
||||
for key in osd_information.keys():
|
||||
if osd_information[key] is None:
|
||||
osd_information[key] = "N/A"
|
||||
except KeyError:
|
||||
print(
|
||||
f"Details for OSD {osd_information['id']} missing required keys, skipping."
|
||||
)
|
||||
continue
|
||||
|
||||
# Deal with the size to human readable
|
||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
||||
|
||||
setup(
|
||||
name="pvc",
|
||||
version="0.9.47",
|
||||
version="0.9.48",
|
||||
packages=["pvc", "pvc.cli_lib"],
|
||||
install_requires=[
|
||||
"Click",
|
||||
|
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
pvc (0.9.48-0) unstable; urgency=high
|
||||
|
||||
* [CLI] Fixes situation where only a single cluster is available
|
||||
* [CLI/API/Daemon] Allows forcing of OSD removal ignoring errors
|
||||
* [CLI] Fixes bug where down OSDs are not displayed
|
||||
|
||||
-- Joshua M. Boniface <joshua@boniface.me> Fri, 29 Apr 2022 12:13:58 -0400
|
||||
|
||||
pvc (0.9.47-0) unstable; urgency=high
|
||||
|
||||
* [Node Daemon/API/CLI] Adds Ceph pool device class/tier support
|
||||
|
@ -48,7 +48,7 @@ import re
|
||||
import json
|
||||
|
||||
# Daemon version
|
||||
version = "0.9.47"
|
||||
version = "0.9.48"
|
||||
|
||||
|
||||
##########################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user