Bug 877088

Summary: VM-runtime-only display information is presented by api after VM goes down
Product: Red Hat Enterprise Virtualization Manager Reporter: Idith Tal-Kohen <italkohe>
Component: ovirt-engine-restapiAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Ido Begun <ibegun>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: bazulay, cpelland, djasa, dyasny, ecohen, iheim, mkenneth, mpastern, oramraz, pstehlik, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---Keywords: ZStream
Target Release: 3.1.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: SI27 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 869682 Environment:
Last Closed: 2013-04-04 16:06:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 869682    
Bug Blocks:    

Description Idith Tal-Kohen 2012-11-15 16:43:25 UTC
+++ This bug was initially created as a clone of Bug #869682 +++

Description of problem:
VM-runtime-only display information is presented by api after VM goes down

Version-Release number of selected component (if applicable):
si19.1 / 3.1.0-18

How reproducible:
always

Steps to Reproduce:
1. power up VM, power down VM
2. show VM properties
3.
  
Actual results:
    <status>
        <state>down</state>
    </status>
    ...
    <display>
        ...
        <address>10.34.58.5</address>
        <port>5920</port>
        <secure_port>5921</secure_port>
        ...
    </display>


Expected results:
no address, port and secure_port elements are displayed as they make no sense when the VM is down. The same may be true for <start_time> element possibly.

Additional info:

--- Additional comment from Ravi Nori on 2012-11-06 12:49:33 EST ---

link : http://gerrit.ovirt.org/#/c/9090/

hash: 032603c9bc4e670c75aa68e87406b044d59e5819

--- Additional comment from Ravi Nori on 2012-11-06 12:51:58 EST ---

Change id: Ie36fa8049c8ddad483e7e16f13a3d0a029f8f218

Comment 1 Ido Begun 2013-02-11 14:03:02 UTC
OK - SI27

Display address, port, secure port and start time are no longer displayed when VM is down.