From 619218bd1d29b4490e0c0a25a7e36070379f8fc4 Mon Sep 17 00:00:00 2001 From: marantes Date: Wed, 16 Oct 2024 17:00:24 -0300 Subject: [PATCH] Fix NFV-VIM error when listing volumes In addition to the information shared at [1], the new functions created to return the configurations for version 3 of Cinder have begun to be called at this point, replacing the deprecated functions that were returning the configurations for version 2 of Cinder. These changes resulted in the expected behavior and configuration for the periodic NFV-VIM check when listing volumes (which happens every 2 minutes). [1] https://review.opendev.org/c/starlingx/openstack-armada-app/+/932560 TEST PLAN: PASS - build-pkgs -c -p sysinv PASS - build-image PASS - AIO-SX fresh install PASS - Upload/Apply stx-openstack PASS - 'openstack endpoint list' showing cinderv3 PASS - /var/log/nfv-vim.log does not contain any error messages indicating "OpenStack Cinder URL is invalid" PASS - create volumes PASS - /var/log/nfv-vim.log does not contain any error messages indicating "OpenStack Cinder URL is invalid" PASS - delete volumes PASS - /var/log/nfv-vim.log does not contain any error messages indicating "OpenStack Cinder URL is invalid" Depends-On: https://review.opendev.org/c/starlingx/openstack-armada-app/+/932560 Closes-Bug: 2084683 Change-Id: I35eeed9da3541824e0fbf1bcb90ad4dbe99d3cc6 Signed-off-by: marantes --- sysinv/sysinv/sysinv/sysinv/helm/helm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysinv/sysinv/sysinv/sysinv/helm/helm.py b/sysinv/sysinv/sysinv/sysinv/helm/helm.py index d5230272bf..1783a473da 100644 --- a/sysinv/sysinv/sysinv/sysinv/helm/helm.py +++ b/sysinv/sysinv/sysinv/sysinv/helm/helm.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2018-2023 Wind River Systems, Inc. +# Copyright (c) 2018-2024 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # @@ -1070,9 +1070,9 @@ class HelmOperatorData(HelmOperator): 'region_name': cinder_operator.get_region_name(), 'service_name': - cinder_operator.get_service_name_v2(), + cinder_operator.get_service_name(), 'service_type': - cinder_operator.get_service_type_v2(), + cinder_operator.get_service_type(), } return endpoint_data