Bug 1619534

Summary: Guest IP addresses are not cleared when VM is down from network interfaces sub tab
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: BLL.VirtAssignee: Arik <ahadas>
Status: CLOSED NOTABUG QA Contact: Michael Burman <mburman>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: bugs, danken
Target Milestone: ---   
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-08-21 08:40:56 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:

Description Michael Burman 2018-08-21 06:57:29 UTC
Description of problem:
Guest IP addresses are not cleared when VM is down from network interfaces sub tab.

BZ 1546675 handle the scenario when guest agent is disabled from the interface or when disabled at all. The guest IP addresses are now cleared if no guest agent enabled for the interface, which is good. But the same behavior should be then when shutting down the VM. In such case, if VM is down and not guest agent service is running, the guest IP addresses should be cleared from the VM's network interfaces sub tab.  

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

How reproducible:
100%

Steps to Reproduce:
1. Run VM with i vNIC and get IP from dhcp
2. Shut down the VM

Actual results:
IP address is visible in the network interfaces sub tab and via REST API

Expected results:
Guest IP addresses should be cleared from network interfaces sub tab on VM shut down, just as it get cleared on guest-agent

Additional info:
See also BZ 1546675

Comment 1 Dan Kenigsberg 2018-08-21 08:40:56 UTC
This is not a bug, but the proper behavior. As an ovirt-engine admin, I *would* like to Engine to remember the most recently reported IP address.