Compare commits

..

2 Commits

Author SHA1 Message Date
Joshua Boniface 02a2f6a27a Bump version to 0.9.45 2021-11-25 09:34:20 -05:00
Joshua Boniface a75b951605 Ensure echo always has an argument 2021-11-25 09:33:26 -05:00
7 changed files with 22 additions and 10 deletions

View File

@ -1 +1 @@
0.9.44 0.9.45

View File

@ -1,5 +1,10 @@
## PVC Changelog ## PVC Changelog
###### [v0.9.45](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.45)
* [Node Daemon] Fixes an ordering issue with pvcnoded.service
* [CLI Client] Fixes bad calls to echo() without argument
###### [v0.9.44](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.44) ###### [v0.9.44](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.44)
* [Node Daemon] Adds a Munin plugin for Ceph utilization * [Node Daemon] Adds a Munin plugin for Ceph utilization

View File

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

View File

@ -364,7 +364,7 @@ def cluster_list(raw):
if not raw: if not raw:
# Display the data nicely # Display the data nicely
echo("Available clusters:") echo("Available clusters:")
echo() echo("")
echo( echo(
"{bold}{name: <{name_length}} {description: <{description_length}} {address: <{address_length}} {port: <{port_length}} {scheme: <{scheme_length}} {api_key: <{api_key_length}}{end_bold}".format( "{bold}{name: <{name_length}} {description: <{description_length}} {address: <{address_length}} {port: <{port_length}} {scheme: <{scheme_length}} {api_key: <{api_key_length}}{end_bold}".format(
bold=ansiprint.bold(), bold=ansiprint.bold(),
@ -481,7 +481,7 @@ def node_secondary(node, wait):
" These jobs will continue executing, but status will not be visible until the current" " These jobs will continue executing, but status will not be visible until the current"
) )
echo(" node returns to primary state.") echo(" node returns to primary state.")
echo() echo("")
retcode, retmsg = pvc_node.node_coordinator_state(config, node, "secondary") retcode, retmsg = pvc_node.node_coordinator_state(config, node, "secondary")
if not retcode: if not retcode:
@ -534,7 +534,7 @@ def node_primary(node, wait):
" These jobs will continue executing, but status will not be visible until the current" " These jobs will continue executing, but status will not be visible until the current"
) )
echo(" node returns to primary state.") echo(" node returns to primary state.")
echo() echo("")
retcode, retmsg = pvc_node.node_coordinator_state(config, node, "primary") retcode, retmsg = pvc_node.node_coordinator_state(config, node, "primary")
if not retcode: if not retcode:
@ -5329,7 +5329,7 @@ def provisioner_create(name, profile, wait_flag, define_flag, start_flag, script
task_id = retdata task_id = retdata
echo("Task ID: {}".format(task_id)) echo("Task ID: {}".format(task_id))
echo() echo("")
# Wait for the task to start # Wait for the task to start
echo("Waiting for task to start...", nl=False) echo("Waiting for task to start...", nl=False)
@ -5340,7 +5340,7 @@ def provisioner_create(name, profile, wait_flag, define_flag, start_flag, script
break break
echo(".", nl=False) echo(".", nl=False)
echo(" done.") echo(" done.")
echo() echo("")
# Start following the task state, updating progress as we go # Start following the task state, updating progress as we go
total_task = task_status.get("total") total_task = task_status.get("total")
@ -5371,7 +5371,7 @@ def provisioner_create(name, profile, wait_flag, define_flag, start_flag, script
if task_status.get("state") == "SUCCESS": if task_status.get("state") == "SUCCESS":
bar.update(total_task - last_task) bar.update(total_task - last_task)
echo() echo("")
retdata = task_status.get("state") + ": " + task_status.get("status") retdata = task_status.get("state") + ": " + task_status.get("status")
cleanup(retcode, retdata) cleanup(retcode, retdata)

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup( setup(
name="pvc", name="pvc",
version="0.9.44", version="0.9.45",
packages=["pvc", "pvc.cli_lib"], packages=["pvc", "pvc.cli_lib"],
install_requires=[ install_requires=[
"Click", "Click",

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
pvc (0.9.45-0) unstable; urgency=high
* [Node Daemon] Fixes an ordering issue with pvcnoded.service
* [CLI Client] Fixes bad calls to echo() without argument
-- Joshua M. Boniface <joshua@boniface.me> Thu, 25 Nov 2021 09:34:20 -0500
pvc (0.9.44-0) unstable; urgency=high pvc (0.9.44-0) unstable; urgency=high
* [Node Daemon] Adds a Munin plugin for Ceph utilization * [Node Daemon] Adds a Munin plugin for Ceph utilization

View File

@ -48,7 +48,7 @@ import re
import json import json
# Daemon version # Daemon version
version = "0.9.44" version = "0.9.45"
########################################################## ##########################################################