OVS-dpdk service installation broken

Bug #2058372 reported by Michal Arbet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Michal Arbet

Bug Description

Kolla-ansible generating bad config for ovs-dpdk

ovs-vswitchd: invalid option -- 'w'
ovs-vswitchd: invalid option -- 'w'
EAL: FATAL: Invalid 'command line' arguments.
2024-03-19T10:01:47Z|00019|dpdk|EMER|Unable to initialize DPDK: Invalid argument
ovs-vswitchd: Cannot init EAL (Invalid argument)

Usage: ovs-vswitchd [options]

EAL common options:
  -c COREMASK Hexadecimal bitmask of cores to run on
  -l CORELIST List of cores to run on
                      The argument format is <c1>[-c2][,c3[-c4],...]
                      where c1, c2, etc are core indexes between 0 and 128
  --lcores COREMAP Map lcore set to physical cpu set
                      The argument format is
                            '<lcores[@cpus]>[<,lcores[@cpus]>...]'
                      lcores and cpus list are grouped by '(' and ')'
                      Within the group, '-' is used for range separator,
                      ',' is used for single number separator.
                      '( )' can be omitted for single element group,
                      '@' can be omitted if cpus and lcores have the same value
  -s SERVICE COREMASK Hexadecimal bitmask of cores to be used as service cores
  --main-lcore ID Core ID that is used as main
  --mbuf-pool-ops-name Pool ops name for mbuf to use
  -n CHANNELS Number of memory channels
  -m MB Memory to allocate (see also --socket-mem)
  -r RANKS Force number of memory ranks (don't detect)
  -b, --block Add a device to the blocked list.
                      Prevent EAL from using this device. The argument
                      format for PCI devices is <domain:bus:devid.func>.
  -a, --allow Add a device to the allow list.
                      Only use the specified devices. The argument format
                      for PCI devices is <[domain:]bus:devid.func>.
                      This option can be present several times.
                      [NOTE: allow cannot be used with block option]
  --vdev Add a virtual device.
                      The argument format is <driver><id>[,key=val,...]
                      (ex: --vdev=net_pcap0,iface=eth2).
  --iova-mode Set IOVA mode. 'pa' for IOVA_PA
                      'va' for IOVA_VA
  -d LIB.so|DIR Add a driver or driver directory
                      (can be used multiple times)
  --vmware-tsc-map Use VMware TSC map instead of native RDTSC
  --proc-type Type of this process (primary|secondary|auto)
  --syslog Set syslog facility
  --log-level=<level> Set global log level
  --log-level=<type-match>:<level>
                      Set specific log level
  --log-level=help Show log types and levels
  --trace=<regex-match>
                      Enable trace based on regular expression trace name.
                      By default, the trace is disabled.
        User must specify this option to enable trace.
  --trace-dir=<directory path>
                      Specify trace directory for trace output.
                      By default, trace output will created at
                      $HOME directory and parameter must be
                      specified once only.
  --trace-bufsz=<int>
                      Specify maximum size of allocated memory
                      for trace output for each thread. Valid
                      unit can be either 'B|K|M' for 'Bytes',
                      'KBytes' and 'MBytes' respectively.
                      Default is 1MB and parameter must be
                      specified once only.
  --trace-mode=<o[verwrite] | d[iscard]>
                      Specify the mode of update of trace
                      output file. Either update on a file can
                      be wrapped or discarded when file size
                      reaches its maximum limit.
                      Default mode is 'overwrite' and parameter
                      must be specified once only.
  -v Display version information on startup
  -h, --help This help
  --in-memory Operate entirely in memory. This will
                      disable secondary process support
  --base-virtaddr Base virtual address
  --telemetry Enable telemetry support (on by default)
  --no-telemetry Disable telemetry support
  --force-max-simd-bitwidth Force the max SIMD bitwidth

EAL options for DEBUG use only:
  + sudo -E kolla_set_configs

Changed in kolla-ansible:
assignee: nobody → Michal Arbet (michalarbet)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/913653
Committed: https://opendev.org/openstack/kolla-ansible/commit/deb08630fc49c353a4d551578a7e6ef1a7cbbb47
Submitter: "Zuul (22348)"
Branch: master

commit deb08630fc49c353a4d551578a7e6ef1a7cbbb47
Author: Michal Arbet <email address hidden>
Date: Tue Mar 19 11:36:40 2024 +0100

    Fix installation of ovs-dpdk service

    This patch fixes ovs-dpdk script as options
    in DPDK changed and PCI whitelist config changed
    from '-w' to '-a' as per [1].

    [1] https://github.com/DPDK/dpdk/commit/db27370b57202632ad8830352c1c0ee2dde4542f

    Closes-Bug: #2058372
    Change-Id: Iae812a4a255c13a42b2d6a691e265922d220f4c8

Changed in kolla-ansible:
status: In Progress → Fix Released
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.