Compare commits

...

2 Commits

Author SHA1 Message Date
51e78480fa Bump version to 0.9.76 2023-09-18 10:15:52 -04:00
c4397219da Ensure fencing states are properly reflected 2023-09-18 09:59:18 -04:00
8 changed files with 20 additions and 5 deletions

View File

@ -1 +1 @@
0.9.75 0.9.76

View File

@ -1,5 +1,9 @@
## PVC Changelog ## PVC Changelog
###### [v0.9.76](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.76)
* [API, Client CLI] Corrects some missing node states for fencing in status output
###### [v0.9.75](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.75) ###### [v0.9.75](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.75)
* [Node Daemon] Adds a startup message about IPMI when succeeding * [Node Daemon] Adds a startup message about IPMI when succeeding

View File

@ -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.75" version = "0.9.76"
# API version # API version
API_VERSION = 1.0 API_VERSION = 1.0

View File

@ -135,7 +135,7 @@ def cli_cluster_status_format_pretty(CLI_CONFIG, data):
state_colour = ansii["green"] state_colour = ansii["green"]
elif state in ["run,flush", "run,unflush", "run,flushed"]: elif state in ["run,flush", "run,unflush", "run,flushed"]:
state_colour = ansii["blue"] state_colour = ansii["blue"]
elif "dead" in state or "stop" in state: elif "dead" in state or "fenced" in state or "stop" in state:
state_colour = ansii["red"] state_colour = ansii["red"]
else: else:
state_colour = ansii["yellow"] state_colour = ansii["yellow"]

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup( setup(
name="pvc", name="pvc",
version="0.9.75", version="0.9.76",
packages=["pvc.cli", "pvc.lib"], packages=["pvc.cli", "pvc.lib"],
install_requires=[ install_requires=[
"Click", "Click",

View File

@ -256,8 +256,13 @@ def getClusterInformation(zkhandler):
"stop,unflush", "stop,unflush",
"dead,ready", "dead,ready",
"dead,flush", "dead,flush",
"dead,fence-flush",
"dead,flushed", "dead,flushed",
"dead,unflush", "dead,unflush",
"fenced,ready",
"fenced,flush",
"fenced,flushed",
"fenced,unflush",
] ]
vm_state_combinations = [ vm_state_combinations = [
"start", "start",

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
pvc (0.9.76-0) unstable; urgency=high
* [API, Client CLI] Corrects some missing node states for fencing in status output
-- Joshua M. Boniface <joshua@boniface.me> Mon, 18 Sep 2023 10:15:52 -0400
pvc (0.9.75-0) unstable; urgency=high pvc (0.9.75-0) unstable; urgency=high
* [Node Daemon] Adds a startup message about IPMI when succeeding * [Node Daemon] Adds a startup message about IPMI when succeeding

View File

@ -49,7 +49,7 @@ import re
import json import json
# Daemon version # Daemon version
version = "0.9.75" version = "0.9.76"
########################################################## ##########################################################