Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
095bcb2373 | |||
91e450f399 | |||
79eb994a5e |
@ -1,5 +1,9 @@
|
|||||||
## PVC Changelog
|
## PVC Changelog
|
||||||
|
|
||||||
|
###### [v0.9.58](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.58)
|
||||||
|
|
||||||
|
* [API] Fixes a bug where migration selector could have case-sensitive operational faults
|
||||||
|
|
||||||
###### [v0.9.57](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.57)
|
###### [v0.9.57](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.57)
|
||||||
|
|
||||||
* [CLI] Removes an invalid reference to VXLAN
|
* [CLI] Removes an invalid reference to VXLAN
|
||||||
|
@ -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.57"
|
version = "0.9.58"
|
||||||
|
|
||||||
# API version
|
# API version
|
||||||
API_VERSION = 1.0
|
API_VERSION = 1.0
|
||||||
|
@ -539,9 +539,9 @@ def get_vm_meta(zkhandler, vm):
|
|||||||
retdata = {
|
retdata = {
|
||||||
"name": vm,
|
"name": vm,
|
||||||
"node_limit": domain_node_limit,
|
"node_limit": domain_node_limit,
|
||||||
"node_selector": domain_node_selector,
|
"node_selector": domain_node_selector.lower(),
|
||||||
"node_autostart": domain_node_autostart,
|
"node_autostart": domain_node_autostart,
|
||||||
"migration_method": domain_migrate_method,
|
"migration_method": domain_migrate_method.lower(),
|
||||||
}
|
}
|
||||||
|
|
||||||
return retdata, retcode
|
return retdata, retcode
|
||||||
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pvc",
|
name="pvc",
|
||||||
version="0.9.57",
|
version="0.9.58",
|
||||||
packages=["pvc", "pvc.cli_lib"],
|
packages=["pvc", "pvc.cli_lib"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"Click",
|
"Click",
|
||||||
|
@ -633,7 +633,7 @@ def findTargetNode(zkhandler, dom_uuid):
|
|||||||
search_field = None
|
search_field = None
|
||||||
|
|
||||||
# If our search field is invalid, use the default
|
# If our search field is invalid, use the default
|
||||||
if search_field is None or search_field == "None":
|
if search_field is None or search_field in ["None", "none"]:
|
||||||
search_field = zkhandler.read("base.config.migration_target_selector")
|
search_field = zkhandler.read("base.config.migration_target_selector")
|
||||||
|
|
||||||
# Execute the search
|
# Execute the search
|
||||||
|
@ -308,9 +308,9 @@ def define_vm(
|
|||||||
(("domain.console.log", dom_uuid), ""),
|
(("domain.console.log", dom_uuid), ""),
|
||||||
(("domain.console.vnc", dom_uuid), ""),
|
(("domain.console.vnc", dom_uuid), ""),
|
||||||
(("domain.meta.autostart", dom_uuid), node_autostart),
|
(("domain.meta.autostart", dom_uuid), node_autostart),
|
||||||
(("domain.meta.migrate_method", dom_uuid), migration_method),
|
(("domain.meta.migrate_method", dom_uuid), str(migration_method).lower()),
|
||||||
(("domain.meta.node_limit", dom_uuid), formatted_node_limit),
|
(("domain.meta.node_limit", dom_uuid), formatted_node_limit),
|
||||||
(("domain.meta.node_selector", dom_uuid), node_selector),
|
(("domain.meta.node_selector", dom_uuid), str(node_selector).lower()),
|
||||||
(("domain.meta.tags", dom_uuid), ""),
|
(("domain.meta.tags", dom_uuid), ""),
|
||||||
(("domain.migrate.sync_lock", dom_uuid), ""),
|
(("domain.migrate.sync_lock", dom_uuid), ""),
|
||||||
]
|
]
|
||||||
@ -447,7 +447,9 @@ def modify_vm_metadata(
|
|||||||
update_list.append((("domain.meta.node_limit", dom_uuid), node_limit))
|
update_list.append((("domain.meta.node_limit", dom_uuid), node_limit))
|
||||||
|
|
||||||
if node_selector is not None:
|
if node_selector is not None:
|
||||||
update_list.append((("domain.meta.node_selector", dom_uuid), node_selector))
|
update_list.append(
|
||||||
|
(("domain.meta.node_selector", dom_uuid), str(node_selector).lower())
|
||||||
|
)
|
||||||
|
|
||||||
if node_autostart is not None:
|
if node_autostart is not None:
|
||||||
update_list.append((("domain.meta.autostart", dom_uuid), node_autostart))
|
update_list.append((("domain.meta.autostart", dom_uuid), node_autostart))
|
||||||
@ -456,7 +458,9 @@ def modify_vm_metadata(
|
|||||||
update_list.append((("domain.profile", dom_uuid), provisioner_profile))
|
update_list.append((("domain.profile", dom_uuid), provisioner_profile))
|
||||||
|
|
||||||
if migration_method is not None:
|
if migration_method is not None:
|
||||||
update_list.append((("domain.meta.migrate_method", dom_uuid), migration_method))
|
update_list.append(
|
||||||
|
(("domain.meta.migrate_method", dom_uuid), str(migration_method).lower())
|
||||||
|
)
|
||||||
|
|
||||||
if len(update_list) < 1:
|
if len(update_list) < 1:
|
||||||
return False, "ERROR: No updates to apply."
|
return False, "ERROR: No updates to apply."
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
pvc (0.9.58-0) unstable; urgency=high
|
||||||
|
|
||||||
|
* [API] Fixes a bug where migration selector could have case-sensitive operational faults
|
||||||
|
|
||||||
|
-- Joshua M. Boniface <joshua@boniface.me> Mon, 07 Nov 2022 12:27:48 -0500
|
||||||
|
|
||||||
pvc (0.9.57-0) unstable; urgency=high
|
pvc (0.9.57-0) unstable; urgency=high
|
||||||
|
|
||||||
* [CLI] Removes an invalid reference to VXLAN
|
* [CLI] Removes an invalid reference to VXLAN
|
||||||
|
@ -48,7 +48,7 @@ import re
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# Daemon version
|
# Daemon version
|
||||||
version = "0.9.57"
|
version = "0.9.58"
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
|
Reference in New Issue
Block a user