Fix bug 2213 to remove hardcoded numa affinity in VIO 55/12855/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 24 Jan 2023 09:10:18 +0000 (10:10 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 24 Jan 2023 16:36:30 +0000 (17:36 +0100)
Change-Id: Ia67ccc42fccb50fb35b7cd165950c4faf1c9c55c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
RO-VIM-openstack/osm_rovim_openstack/vimconn_openstack.py
releasenotes/notes/fix_bug_2213-65a45dbdd94538bf.yaml [new file with mode: 0644]

index c2ac81f..3379f1a 100644 (file)
@@ -1291,9 +1291,6 @@ class vimconnector(vimconn.VimConnector):
                             extra_specs["hw:numa_mempolicy"] = "strict"
 
                             if self.vim_type == "VIO":
-                                extra_specs[
-                                    "vmware:extra_config"
-                                ] = '{"numa.nodeAffinity":"0"}'
                                 extra_specs["vmware:latency_sensitivity_level"] = "high"
 
                             for numa in numas:
diff --git a/releasenotes/notes/fix_bug_2213-65a45dbdd94538bf.yaml b/releasenotes/notes/fix_bug_2213-65a45dbdd94538bf.yaml
new file mode 100644 (file)
index 0000000..65daf6b
--- /dev/null
@@ -0,0 +1,27 @@
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
+---
+fixes:
+  - |
+    Fix Bug 2213 All deployments with EPA in VIO land in NUMA node 0
+    This fix removes the hardcoded decision that makes all deployments
+    withe EPA land in NUMA node 0.
+    The fix removes the extra_spec "vmware:extra_config" that was previously
+    set to '{"numa.nodeAffinity":"0"}'.
+    It maintains the extra_spec "vmware:latency_sensitivity_level", set to "high"
+    for deployments with EPA.
+