Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
aeb238f43c | |||
671a907236 | |||
e945fd8590 |
@ -1,5 +1,10 @@
|
|||||||
## PVC Changelog
|
## PVC Changelog
|
||||||
|
|
||||||
|
###### [v0.9.61](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.61)
|
||||||
|
|
||||||
|
* [provisioner] Fixes a bug in network comparison
|
||||||
|
* [api] Fixes a bug being unable to rename disabled VMs
|
||||||
|
|
||||||
###### [v0.9.60](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.60)
|
###### [v0.9.60](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.60)
|
||||||
|
|
||||||
* [Provisioner] Cleans up several remaining bugs in the example scripts; they should all be valid now
|
* [Provisioner] Cleans up several remaining bugs in the example scripts; they should all be valid now
|
||||||
|
@ -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.60"
|
version = "0.9.61"
|
||||||
|
|
||||||
# API version
|
# API version
|
||||||
API_VERSION = 1.0
|
API_VERSION = 1.0
|
||||||
|
@ -580,7 +580,7 @@ def delete_template_network_element(name, vni):
|
|||||||
networks, code = list_template_network_vnis(name)
|
networks, code = list_template_network_vnis(name)
|
||||||
found_vni = False
|
found_vni = False
|
||||||
for network in networks:
|
for network in networks:
|
||||||
if network["vni"] == int(vni):
|
if network["vni"] == vni:
|
||||||
found_vni = True
|
found_vni = True
|
||||||
if not found_vni:
|
if not found_vni:
|
||||||
retmsg = {
|
retmsg = {
|
||||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pvc",
|
name="pvc",
|
||||||
version="0.9.60",
|
version="0.9.61",
|
||||||
packages=["pvc", "pvc.cli_lib"],
|
packages=["pvc", "pvc.cli_lib"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Click",
|
"Click",
|
||||||
|
@ -644,7 +644,7 @@ def rename_vm(zkhandler, domain, new_domain):
|
|||||||
|
|
||||||
# Verify that the VM is in a stopped state; renaming is not supported otherwise
|
# Verify that the VM is in a stopped state; renaming is not supported otherwise
|
||||||
state = zkhandler.read(("domain.state", dom_uuid))
|
state = zkhandler.read(("domain.state", dom_uuid))
|
||||||
if state != "stop":
|
if state not in ["stop", "disable"]:
|
||||||
return (
|
return (
|
||||||
False,
|
False,
|
||||||
'ERROR: VM "{}" is not in stopped state; VMs cannot be renamed while running.'.format(
|
'ERROR: VM "{}" is not in stopped state; VMs cannot be renamed while running.'.format(
|
||||||
|
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
pvc (0.9.61-0) unstable; urgency=high
|
||||||
|
|
||||||
|
* [provisioner] Fixes a bug in network comparison
|
||||||
|
* [api] Fixes a bug being unable to rename disabled VMs
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Wed, 08 Feb 2023 10:08:05 -0500
|
||||||
|
|
||||||
pvc (0.9.60-0) unstable; urgency=high
|
pvc (0.9.60-0) unstable; urgency=high
|
||||||
|
|
||||||
* [Provisioner] Cleans up several remaining bugs in the example scripts; they should all be valid now
|
* [Provisioner] Cleans up several remaining bugs in the example scripts; they should all be valid now
|
||||||
|
@ -48,7 +48,7 @@ import re
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.60"
|
version = "0.9.61"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
Reference in New Issue
Block a user