From 667d4f4ad4ad977b960d13f06bdb52dc11c90d3b Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Fri, 22 Sep 2023 09:26:01 +0200 Subject: [PATCH 1/3] Fix error in log msg --- app/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/__init__.py b/app/__init__.py index e07f7e3cc..6af900f78 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -459,17 +459,18 @@ def showinfrastructures(): infrastructures[inf_id]['state'] = infra_data["state"] if 'site' not in infra_data: try: + inf_id += "0" response = im.get_vm_info(inf_id, "0", auth_data) if not response.ok: raise Exception(response.text) radl_json = response.json()["radl"] except Exception as ex: - app.logger.exception("Error getting vm info: %s" % ex, "error") + app.logger.exception("Error getting vm info: %s" % ex) radl_json = [] try: creds = cred.get_creds(get_cred_id()) except Exception as ex: - app.logger.exception("Error getting user credentials: %s" % ex, "error") + app.logger.exception("Error getting user credentials: %s" % ex) creds = [] site_info = utils.get_site_info_from_radl(radl_json, creds) if site_info: From dcfe565e5fc45e0dd56a58bca0a74e5e83e66a04 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Fri, 22 Sep 2023 09:26:17 +0200 Subject: [PATCH 2/3] Fix error in log msg --- app/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/__init__.py b/app/__init__.py index 6af900f78..e1ebbb4a6 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -459,7 +459,6 @@ def showinfrastructures(): infrastructures[inf_id]['state'] = infra_data["state"] if 'site' not in infra_data: try: - inf_id += "0" response = im.get_vm_info(inf_id, "0", auth_data) if not response.ok: raise Exception(response.text) From 476df3fae99afcc6ae99cae91840400ce638de2e Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Fri, 22 Sep 2023 09:30:10 +0200 Subject: [PATCH 3/3] Ser ver num 2.5.3 --- app/settings.py | 2 +- codemeta.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/settings.py b/app/settings.py index d04086e96..84288360b 100644 --- a/app/settings.py +++ b/app/settings.py @@ -24,7 +24,7 @@ class Settings: def __init__(self, config): """Creator function.""" - self.version = "2.5.2" + self.version = "2.5.3" self.toscaDir = config.get('TOSCA_TEMPLATES_DIR', '') + "/" self.toscaParamsDir = config.get('TOSCA_PARAMETERS_DIR', '') + "/" self.imUrl = config['IM_URL'] diff --git a/codemeta.json b/codemeta.json index 251c3e738..b50505b89 100644 --- a/codemeta.json +++ b/codemeta.json @@ -6,7 +6,7 @@ "@type": "SoftwareSourceCode", "identifier": "im-dashboard", "name": "Infrastructure Manager Dashboard", - "version": "2.5.1", + "version": "2.5.3", "description": "Infrastructure Manager - Simple Graphical UI", "license": "GNU General Public License v3.0", "author": [