Bug 869682

Summary: VM-runtime-only display information is presented by api after VM goes down
Product: Red Hat Enterprise Virtualization Manager Reporter: David Jaša <djasa>
Component: ovirt-engine-restapiAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Ido Begun <ibegun>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: bazulay, dyasny, ecohen, iheim, italkohe, mpastern, oramraz, pstehlik, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: SF4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 877088 (view as bug list) Environment:
Last Closed: 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:    
Bug Blocks: 877088, 915537    

Description David Jaša 2012-10-24 14:49:33 UTC
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:

Comment 1 Ravi Nori 2012-11-06 17:49:33 UTC
link : http://gerrit.ovirt.org/#/c/9090/

hash: 032603c9bc4e670c75aa68e87406b044d59e5819

Comment 2 Ravi Nori 2012-11-06 17:51:58 UTC
Change id: Ie36fa8049c8ddad483e7e16f13a3d0a029f8f218

Comment 4 Ido Begun 2013-01-08 06:48:26 UTC
Tested on SF3:

Repeating the scenario mentioned in the bug description, results remain the same - both display information and start time are displayed when VM is down.

Comment 5 Michael Pasternak 2013-01-08 06:57:45 UTC
this patch did not get in to the SF3

Comment 6 Ido Begun 2013-01-27 06:47:11 UTC
OK - SF4

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

Comment 7 Itamar Heim 2013-06-11 09:02:06 UTC
3.2 has been released

Comment 8 Itamar Heim 2013-06-11 09:02:12 UTC
3.2 has been released

Comment 9 Itamar Heim 2013-06-11 09:02:20 UTC
3.2 has been released

Comment 10 Itamar Heim 2013-06-11 09:03:04 UTC
3.2 has been released

Comment 11 Itamar Heim 2013-06-11 09:32:18 UTC
3.2 has been released