+++ This bug was initially created as a clone of Bug #2170344 +++ Description of problem: When adding a port to some bridge and pressing the tab for autocomplete, the ovs-vsctl throws an error. Version-Release number of selected component (if applicable): [root@ovs ~]# ovs-vsctl --version ovs-vsctl (Open vSwitch) 2.17.6 DB Schema 8.3.0 How reproducible: Steps to Reproduce: 1. ovs-vsctl add-port mybridge 2. *press tab* Actual results: [root@ovs ~]# ovs-vsctl add-port mybridge enp-bash: export: `BASH_FUNC_which%%': not a valid identifier -bash: export: `${which_declare}': not a valid identifier -bash: export: `)': not a valid identifier -bash: export: `|': not a valid identifier -bash: export: `/usr/bin/which': not a valid identifier -bash: export: --: invalid option export: usage: export [-fn] [name[=value] ...] or export -p -bash: export: --: invalid option export: usage: export [-fn] [name[=value] ...] or export -p -bash: export: --: invalid option export: usage: export [-fn] [name[=value] ...] or export -p -bash: export: --: invalid option export: usage: export [-fn] [name[=value] ...] or export -p -bash: export: --: invalid option export: usage: export [-fn] [name[=value] ...] or export -p -bash: export: `$@': not a valid identifier -bash: export: `}': not a valid identifier Enter a new port: [root@ovs ~]$ ovs-vsctl add-port mybridge enp^C Expected results: Additional info:
* Mon May 29 2023 Open vSwitch CI <ovs-ci> - 2.17.0-102 - Merging upstream branch-2.17 [RH git: 4e79737790] Commit list: 5285dad182 utilities/bashcomp: Fix PS1 generation on new bash. (#2170344) ebe7bd7b68 netdev-offload-dpdk: Fix crash in debug log.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (openvswitch2.17 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:3993