Bug 2211236 - ovs-vsctl autocomplete misbehaving
Summary: ovs-vsctl autocomplete misbehaving
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch2.17
Version: RHEL 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Timothy Redaelli
QA Contact: qding
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-30 21:45 UTC by ovs-bugzilla
Modified: 2023-07-06 19:17 UTC (History)
4 users (show)

Fixed In Version: openvswitch2.17-2.17.0-88.el9fdp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-06 19:17:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2907 0 None None None 2023-05-30 21:46:46 UTC
Red Hat Product Errata RHBA-2023:3988 0 None None None 2023-07-06 19:17:54 UTC

Description ovs-bugzilla 2023-05-30 21:45:27 UTC
+++ 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:

Comment 1 ovs-bugzilla 2023-05-30 21:45:30 UTC
* 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.

Comment 8 errata-xmlrpc 2023-07-06 19:17:41 UTC
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


Note You need to log in before you can comment on or make changes to this bug.