Bug 848362
| Summary: | [SetupNetworks] BOND created when using network with name eth0 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Meni Yakove <myakove> | ||||||
| Component: | ovirt-engine-webadmin-portal | Assignee: | Alona Kaplan <alkaplan> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Meni Yakove <myakove> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 3.1.0 | CC: | acathrow, alkaplan, dyasny, ecohen, iheim, lpeer, mavital, mpavlik, Rhev-m-bugs, ykaul | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | network | ||||||||
| Fixed In Version: | SI18 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-12-04 20:06:02 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 604584 [details]
vdsm.log
Problem reproduces on Red Hat Enterprise Virtualization Manager Version: '3.1.0-14.el6ev' as well. For me scenario with eth0 did not work since I have interfaces: em1, em2, p1p1, p1p2. Whenever I create network with same name as one of the physical interface, bug reproduces. upstream commit 86a5d6079adcc62ea0f1337a3c2e6280b2beb9e5 Verified on rhevm-3.1.0-16.el6ev.noarch. I can drag network named "eth0" on eth0 interface (BOND not created). Verified on rhevm-3.1.0-16.el6ev.noarch. I can drag network named "eth0" on eth0 interface (BOND not created). |
Created attachment 604581 [details] engine.log Description of problem: UI allow to create network with names such as eth0, eth1 etc.. When creating network with name eth0 and in SetupNetworks attache it to interface eth1 it will create BOND interface. Version-Release number of selected component (if applicable): rhevm-3.1.0-11.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1.Create network with name eth0 and attach it to cluster. 2.Open SetupNetworks and attach the network eth0 to any interface Actual results: BOND creation window pop-up and let you create BOND interface. BOND failed to create Expected results: eth0 is bridge network for the selected interface. Additional info: MainProcess|Thread-13385::ERROR::2012-08-15 14:39:14,669::configNetwork::1261::setupNetworks::(setupNetworks) [Errno 2] No such file or directory: '/sys/class/net/eth3/brif' Traceback (most recent call last): File "/usr/share/vdsm/configNetwork.py", line 1177, in setupNetworks _netinfo = netinfo.NetInfo() File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 340, in __init__ _netinfo = get() File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 251, in get d['networks'][netname] = { 'ports': ports(devname), File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 91, in ports return os.listdir('/sys/class/net/' + bridge + '/brif') OSError: [Errno 2] No such file or directory: '/sys/class/net/eth3/brif' MainProcess|Thread-13385::ERROR::2012-08-15 14:39:14,669::supervdsmServer::61::SuperVdsm.ServerCallback::(wrapper) Error in setupNetworks Traceback (most recent call last): File "/usr/share/vdsm/supervdsmServer.py", line 59, in wrapper return func(*args, **kwargs) File "/usr/share/vdsm/supervdsmServer.py", line 107, in setupNetworks return configNetwork.setupNetworks(networks, bondings, **options) File "/usr/share/vdsm/configNetwork.py", line 1177, in setupNetworks _netinfo = netinfo.NetInfo() File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 340, in __init__ _netinfo = get() File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 251, in get d['networks'][netname] = { 'ports': ports(devname), File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 91, in ports return os.listdir('/sys/class/net/' + bridge + '/brif') OSError: [Errno 2] No such file or directory: '/sys/class/net/eth3/brif' Thread-13385::ERROR::2012-08-15 14:39:14,670::BindingXMLRPC::879::vds::(wrapper) unexpected error Traceback (most recent call last): File "/usr/share/vdsm/BindingXMLRPC.py", line 869, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/BindingXMLRPC.py", line 346, in setupNetworks return api.setupNetworks(networks, bondings, options) File "/usr/share/vdsm/API.py", line 1115, in setupNetworks supervdsm.getProxy().setupNetworks(networks, bondings, options) File "/usr/share/vdsm/supervdsm.py", line 59, in __call__ return callMethod() File "/usr/share/vdsm/supervdsm.py", line 57, in <lambda> callMethod = lambda : getattr(self._supervdsmProxy._svdsm, self._funcName)(*args, **kwargs) File "<string>", line 2, in setupNetworks File "/usr/lib64/python2.6/multiprocessing/managers.py", line 740, in _callmethod raise convert_to_error(kind, result) OSError: [Errno 2] No such file or directory: '/sys/class/net/eth3/brif'