Bug 843081

Summary: [RHEVM] [backend] [Setup Host Networks] cannot switch rhevm interface from one NIC to another NIC
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engineAssignee: Muli Salem <msalem>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: danken, dyasny, gklein, iheim, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-06 13:20:47 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:
Bug Depends On:    
Bug Blocks: 820989    
Attachments:
Description Flags
logs none

Description Martin Pavlik 2012-07-25 14:24:40 UTC
Created attachment 600312 [details]
logs

Description of problem:
if user tries to switch rhevm interface from one NIC to another it leads to rollback

Version-Release number of selected component (if applicable):
oVirt Engine Version: '3.1.0-7.el6ev' 

How reproducible:
100%

Steps to Reproduce:
1.add host with more than 1 NIC to setup
2.set rhevm interface with static IP (e.g IP:10.34.66.81, GW: 10.34.66.254, MASK 255.255.255.0)
3.Setup Host Networks -> switch rhevm network to another NIC and adjust static IP 
(e.g IP:10.34.67.13, GW: 10.34.67.30, MASK 255.255.255.224)
4. click OK

Actual results:
it is not possible to switch rhevm interface from one NIC to another

Expected results:
it should possible to switch rhevm interface from one NIC to another

Additional info:
Thread-320::ERROR::2012-07-25 15:40:34,753::API::1116::vds::(setupNetworks) connectivity check failed
Traceback (most recent call last):
  File "/usr/share/vdsm/API.py", line 1114, 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)
ConfigNetworkError: (10, 'connectivity check failed')

Comment 1 Dan Kenigsberg 2012-08-06 13:20:47 UTC
it is not surprising that you cannot change the IP address on the management network while keeping connectivity. Implementing something like this would require pinging the new IP address from Engine, as well as re-binding Vdsm to the new IP address. Please reopen this bug as an RFE if it needs to happen in an upcoming rhev version.