Bug 1663488 - wrong ovs config disconnects the node
Summary: wrong ovs config disconnects the node
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Dan Kenigsberg
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-04 14:02 UTC by Vatsal Parekh
Modified: 2019-02-06 14:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
CNV 1.4 with OCP 3.11
Last Closed: 2019-01-10 09:58:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vatsal Parekh 2019-01-04 14:02:36 UTC
Description of problem:
While trying the steps mentioned in the doc (https://cnv_setup--ocpdocs.netlify.com/openshift-enterprise/latest/cnv_users_guide/cnv_users_guide.html#cnv_userguide_advanced_vm_config)
```
$ ovs-vsctl add-br br1
$ ovs-vsctl add-port br1 eth1
```
Trying it on a compute node of the cluster, which actually didn't had any interfaces named eth1 in `ifconfig`, after these 2 commands the node gets disconnected, cannot ping or ssh, and the node stays disconnected even after reboot.
Was able to reproduce the same behavior with `eth0` as well
But couldn't get any logs because the node disconnects exactly after `$ ovs-vsctl add-port br1 eth1`

Version-Release number of selected component (if applicable):
CNV 1.4 + OCP 3.11


How reproducible:


Steps to Reproduce:
1.From one of the node
  $ ovs-vsctl add-br br1
  $ ovs-vsctl add-port br1 eth1
2.
3.

Actual results:
The node gets completely disconnected0

Expected results:
Should error if the interface is wrong

Additional info:

Comment 1 Vatsal Parekh 2019-01-09 12:00:28 UTC
Changing this from CNV to RHEL as this seems on OVS and not on CNV.

Comment 3 Aaron Conole 2019-01-09 16:22:46 UTC
I don't understand this bug at all.  I can put lots of invalid configs into my OvS 
instance, and it won't take down networking.  Sounds like something related to 
your setup.

Reassigning to original component.

Comment 4 Vatsal Parekh 2019-01-10 09:58:03 UTC
(In reply to Aaron Conole from comment #3)
> I don't understand this bug at all.  I can put lots of invalid configs into
> my OvS 
> instance, and it won't take down networking.  Sounds like something related
> to 
> your setup.
> 
> Reassigning to original component.

Seems like it was due to some issues with the environment, built a new env and it seems working.
Closing this.


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