Bug 1651499

Summary: [clean-traffic-gateway filter] VM DHCP IP does not recover when network operation is done from Guest
Product: [oVirt] ovirt-engine Reporter: Roni <reliezer>
Component: BLL.NetworkAssignee: Ales Musil <amusil>
Status: CLOSED WONTFIX QA Contact: Michael Burman <mburman>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.0CC: aperotti, bugs, dagur, danken, fgarciad
Target Milestone: ---Flags: sbonazzo: ovirt-4.3-
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-25 10:33:36 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: 1725166, 1848971    
Bug Blocks:    
Attachments:
Description Flags
'systemctl restart network' error none

Description Roni 2018-11-20 08:44:43 UTC
Created attachment 1507366 [details]
'systemctl restart network' error

Description of problem:
VMs with 'clean-traffic-gateway' filter will not recover their DHCP IP
when Network is restating from Guest, e.g.: 'systemctl restart network', ifdown | ifup to NIC, or reboot


Version-Release number of selected component (if applicable):
4.3.0-0.0.master.20181116185756.gite19db6e.el7

How reproducible:
100%

Steps to Reproduce:
1. Start two VMs
2. Run 'route -n' and then 'arp -an' to see their gateway MAC address
3. Add new vNIC profile
4. Choose: Network='ovirtmgmt', Network Filter='clean-traffic-gateway'
5. At both VMs: 
   Go to Compute | Virtual Machines | Click the VM name | 
   Network Interfaces tab | edit the NIC
   Change their profile to the newly created profile from section #3 above
   Add Network Filter Parameter GATEWAY_MAC=[GW NAC from section #2 above]
6. From Guest run: 
   6.1 'systemctl restart network', 
   6.2 'ifdown eth0| ifup eth0' 
   6.3 'reboot'

Actual results:
6.1: network restart does not perform, an error occurs, see attached error
6.2: NIC will be stopped successfully, but will not get an IP after start
6.3: NIC will not get the IP after boot

Expected results:
6.1: 'network' should restart successfully
6.2: NIC should start and NIC should get an IP from DHCP
6.3: NIC should get an IP from DHCP after boot


Additional info:
Note that IP is successfully recovered When unplug/plug the NIC, or when
shutdown & run VM from Engine WebUI

Comment 1 Dan Kenigsberg 2018-12-25 10:33:36 UTC
We are likely to address this only if it trouble real customer use cases.