From fa35a72885d442bbebd5e1da4804953692121117 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 11 Apr 2019 19:15:49 +0200 Subject: [PATCH] Fix deployment of EPA VMs to use single virtual socket instead of 1 socket per core Change-Id: I21afb45210e9006d06d79f6501e4cec5f805451f Signed-off-by: garciadeblas --- osm_ro/vimconn_openstack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/osm_ro/vimconn_openstack.py b/osm_ro/vimconn_openstack.py index ff67f6f3..f5f213b7 100644 --- a/osm_ro/vimconn_openstack.py +++ b/osm_ro/vimconn_openstack.py @@ -884,6 +884,7 @@ class vimconnector(vimconn.vimconnector): if 'memory' in numa: ram = numa['memory']*1024 #See for reference: https://specs.openstack.org/openstack/nova-specs/specs/mitaka/implemented/virt-driver-cpu-thread-pinning.html + extra_specs["hw:cpu_sockets"] = 1 if 'paired-threads' in numa: vcpus = numa['paired-threads']*2 #cpu_thread_policy "require" implies that the compute node must have an STM architecture -- 2.25.1