+++ 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-88 - Merging upstream branch-2.17 [RH git: c24e4da8ec] Commit list: 5285dad182 utilities/bashcomp: Fix PS1 generation on new bash. (#2170344) ebe7bd7b68 netdev-offload-dpdk: Fix crash in debug log. 4937a53410 stream-ssl: Disable alerts on unexpected EOF. fe99e6b971 tests: layer3-tunnels: Skip bareudp tests if not supported by kernel. a375055f2e ovs-fields: Modify the width of tpa and spa. 749769be30 netdev-vport: RCU-fy tunnel config. c423fa5f6e smap: Make argument of smap_add_ipv6 constant. 2db06ee6f5 netdev-vport: Fix unsafe handling of GRE sequence number.
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:3988