Compare commits
2 Commits
cb50eee2a9
...
de2b2a4036
Author | SHA1 | Date | |
---|---|---|---|
de2b2a4036 | |||
7d2ea494e7 |
@ -1,5 +1,11 @@
|
|||||||
## PVC Changelog
|
## 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)
|
###### [v0.9.47](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.47)
|
||||||
|
|
||||||
* [Node Daemon/API/CLI] Adds Ceph pool device class/tier support
|
* [Node Daemon/API/CLI] Adds Ceph pool device class/tier support
|
||||||
|
@ -25,7 +25,7 @@ import yaml
|
|||||||
from distutils.util import strtobool as dustrtobool
|
from distutils.util import strtobool as dustrtobool
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.47"
|
version = "0.9.48"
|
||||||
|
|
||||||
# API version
|
# API version
|
||||||
API_VERSION = 1.0
|
API_VERSION = 1.0
|
||||||
|
@ -367,10 +367,20 @@ def format_list_osd(osd_list):
|
|||||||
|
|
||||||
for osd_information in osd_list:
|
for osd_information in osd_list:
|
||||||
try:
|
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"] == "|":
|
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:
|
except KeyError:
|
||||||
|
print(
|
||||||
|
f"Details for OSD {osd_information['id']} missing required keys, skipping."
|
||||||
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Deal with the size to human readable
|
# Deal with the size to human readable
|
||||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pvc",
|
name="pvc",
|
||||||
version="0.9.47",
|
version="0.9.48",
|
||||||
packages=["pvc", "pvc.cli_lib"],
|
packages=["pvc", "pvc.cli_lib"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Click",
|
"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
|
pvc (0.9.47-0) unstable; urgency=high
|
||||||
|
|
||||||
* [Node Daemon/API/CLI] Adds Ceph pool device class/tier support
|
* [Node Daemon/API/CLI] Adds Ceph pool device class/tier support
|
||||||
|
@ -48,7 +48,7 @@ import re
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.47"
|
version = "0.9.48"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user