OVS-DPDK installation failing on Debian

Bug #2025682 reported by Thales Elero Cervi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
New
Undecided
Unassigned

Bug Description

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 Debug: 2023-07-03 19:00:40 +0000 importing '/usr/share/puppet/modules/vswitch/manifests/init.pp' in environment production
2023-07-03T19:00:42.203 Debug: 2023-07-03 19:00:40 +0000 importing '/usr/share/puppet/modules/vswitch/manifests/dpdk.pp' in environment production
2023-07-03T19:00:42.205 Debug: 2023-07-03 19:00:40 +0000 Automatically imported vswitch::dpdk from vswitch/dpdk into production
2023-07-03T19:00:42.207 Debug: 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"
2023-07-03T19:00:42.227 Debug: 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"
2023-07-03T19:00:42.247 Debug: 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"
2023-07-03T19:00:42.267 Debug: 2023-07-03 19:00:40 +0000 importing '/usr/share/puppet/modules/vswitch/manifests/params.pp' in environment production
2023-07-03T19:00:42.269 Debug: 2023-07-03 19:00:40 +0000 Automatically imported vswitch::params from vswitch/params into production
2023-07-03T19:00:42.271 Error: 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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.