Brief Description
-----------------
Since the migration to Debian it is not possible to bootstrap a system with OVS-DPDK (i.e., vswitch_type=ovs-dpdk), due to a puppet configuration error.
Severity
--------
Critical: ovs-dpdk vswitch type is not usable due to the defect
Steps to Reproduce
------------------
* Bootstrap an AIO-SX system with vswitch_type=ovs-dpdk
Expected Behavior
------------------
Installation successfully finishes.
Actual Behavior
----------------
Installation fails waiting for DM to Configure controller-0
Reproducibility
---------------
Reproducible
Branch/Pull Time/Commit
-----------------------
starlingx master
Last Pass
---------
On CentOS builds of stx.7.0 or stx.8.0
Timestamp/Logs
--------------
/var/logs/puppet/2023-07-03-19-00-08_aio/puppet.log:
2023-07-03T19:00:42.201 [0;36mDebug: 2023-07-03 19:00:40 +0000 importing '/usr/share/puppet/modules/vswitch/manifests/init.pp' in environment production[0m
2023-07-03T19:00:42.203 [0;36mDebug: 2023-07-03 19:00:40 +0000 importing '/usr/share/puppet/modules/vswitch/manifests/dpdk.pp' in environment production[0m
2023-07-03T19:00:42.205 [0;36mDebug: 2023-07-03 19:00:40 +0000 Automatically imported vswitch::dpdk from vswitch/dpdk into production[0m
2023-07-03T19:00:42.207 [0;36mDebug: 2023-07-03 19:00:40 +0000 Automatic Parameter Lookup of 'vswitch::dpdk::host_core_list'
2023-07-03T19:00:42.208 Searching for "vswitch::dpdk::host_core_list"
2023-07-03T19:00:42.210 Global Data Provider (hiera configuration version 5)
2023-07-03T19:00:42.212 Using configuration "/etc/puppet/hiera.yaml"
2023-07-03T19:00:42.214 Hierarchy entry "yaml"
2023-07-03T19:00:42.216 Path "/tmp/puppet/hieradata/runtime.yaml"
2023-07-03T19:00:42.218 Original path: "runtime.yaml"
2023-07-03T19:00:42.220 Path not found
2023-07-03T19:00:42.221 Path "/tmp/puppet/hieradata/host.yaml"
2023-07-03T19:00:42.223 Original path: "host.yaml"
2023-07-03T19:00:42.225 Found key: "vswitch::dpdk::host_core_list" value: "0,4,5"[0m
2023-07-03T19:00:42.227 [0;36mDebug: 2023-07-03 19:00:40 +0000 Automatic Parameter Lookup of 'vswitch::dpdk::pmd_core_list'
2023-07-03T19:00:42.229 Searching for "vswitch::dpdk::pmd_core_list"
2023-07-03T19:00:42.231 Global Data Provider (hiera configuration version 5)
2023-07-03T19:00:42.232 Using configuration "/etc/puppet/hiera.yaml"
2023-07-03T19:00:42.234 Hierarchy entry "yaml"
2023-07-03T19:00:42.236 Path "/tmp/puppet/hieradata/runtime.yaml"
2023-07-03T19:00:42.238 Original path: "runtime.yaml"
2023-07-03T19:00:42.240 Path not found
2023-07-03T19:00:42.242 Path "/tmp/puppet/hieradata/host.yaml"
2023-07-03T19:00:42.243 Original path: "host.yaml"
2023-07-03T19:00:42.245 Found key: "vswitch::dpdk::pmd_core_list" value: "4,5"[0m
2023-07-03T19:00:42.247 [0;36mDebug: 2023-07-03 19:00:40 +0000 Automatic Parameter Lookup of 'vswitch::dpdk::socket_mem'
2023-07-03T19:00:42.249 Searching for "vswitch::dpdk::socket_mem"
2023-07-03T19:00:42.251 Global Data Provider (hiera configuration version 5)
2023-07-03T19:00:42.253 Using configuration "/etc/puppet/hiera.yaml"
2023-07-03T19:00:42.254 Hierarchy entry "yaml"
2023-07-03T19:00:42.256 Path "/tmp/puppet/hieradata/runtime.yaml"
2023-07-03T19:00:42.258 Original path: "runtime.yaml"
2023-07-03T19:00:42.260 Path not found
2023-07-03T19:00:42.262 Path "/tmp/puppet/hieradata/host.yaml"
2023-07-03T19:00:42.264 Original path: "host.yaml"
2023-07-03T19:00:42.265 Found key: "vswitch::dpdk::socket_mem" value: "1024,1024"[0m
2023-07-03T19:00:42.267 [0;36mDebug: 2023-07-03 19:00:40 +0000 importing '/usr/share/puppet/modules/vswitch/manifests/params.pp' in environment production[0m
2023-07-03T19:00:42.269 [0;36mDebug: 2023-07-03 19:00:40 +0000 Automatically imported vswitch::params from vswitch/params into production[0m
2023-07-03T19:00:42.271 [1;31mError: 2023-07-03 19:00:40 +0000 Evaluation Error: Error while evaluating a Function Call, Debian not yet supported for dpdk installation by puppet-vswitch (file: /usr/share/puppet/modules/vswitch/manifests/dpdk.pp, line: 65, column: 5) on node controller-0
Test Activity
-------------
Sanity
Workaround
----------
None