Bug 1731553
Summary: | ovs-vsctl exit code when port being added is unable to work | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Marcelo Ricardo Leitner <mleitner> |
Component: | openvswitch2.11 | Assignee: | Aaron Conole <aconole> |
Status: | POST --- | QA Contact: | qding |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | RHEL 7.7 | CC: | ctrautma, fleitner, jhsiao, qding, ralongi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marcelo Ricardo Leitner
2019-07-19 18:14:33 UTC
If the whole transaction succeded, the command is supposed to succeed too. Hence a 0 exit status looks reasonable. It can be triggered by an invalid ip too: root@rhel8:~# ovs-vsctl add-port br0 gre0 -- set interface gre0 type=ip6gre options:key=100 options:remote_ip=192.168.0.300 ovs-vsctl: Error detected while setting up 'gre0': gre0: bad ip6gre 'remote_ip' gre0: ip6gre type requires valid 'remote_ip' argument. See ovs-vswitchd log for details. ovs-vsctl: The default log directory is "/var/log/openvswitch". root@rhel8:~# echo $? 0 Posted upstream: http://patchwork.ozlabs.org/project/openvswitch/list/?series=360149 Posted v3 upstream: http://patchwork.ozlabs.org/project/openvswitch/list/?series=362382 |