Bug 1174858

Summary: suspended vms on rhevm show 'unknown'
Product: Red Hat CloudForms Management Engine Reporter: Dave Johnson <dajohnso>
Component: ProvidersAssignee: Joe Vlcek <jvlcek>
Status: CLOSED ERRATA QA Contact: bmorriso
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3.0CC: dajohnso, dclarizi, gblomqui, jfrey, jhardy, jvlcek, obarenbo
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:01:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ss none

Description Dave Johnson 2014-12-16 15:49:01 UTC
Description of problem:
===============================
Managing VMs on rhevm33 shows the VM transition to 'Unknown' state in the CFME UI when the VM is suspended on the RHEVM side. 


Version-Release number of selected component (if applicable):
================================
5.3.1 GA


How reproducible:
======================
100%

Comment 1 Dave Johnson 2014-12-16 15:50:09 UTC
Created attachment 969622 [details]
ss

Comment 2 Greg Blomquist 2014-12-16 15:52:18 UTC
This most likely has to do with the power_state => raw_power_state changes I made a while back.

Comment 5 Joe Vlcek 2015-07-14 13:37:44 UTC
I was able to reproduced this issue with 5.4.

I continue to investigate further.

Comment 7 CFME Bot 2015-08-04 13:51:33 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/5c2d0598f8caf83c3d0d43808c60470b8961a01c

commit 5c2d0598f8caf83c3d0d43808c60470b8961a01c
Author:     Joe VLcek <jvlcek>
AuthorDate: Thu Jul 30 14:14:15 2015 -0400
Commit:     Joe VLcek <jvlcek>
CommitDate: Mon Aug 3 17:05:29 2015 -0400

    Make RHEVm Provider report suspended power_state
    
    BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1174858

 app/models/manageiq/providers/redhat/infra_manager/vm.rb   |  7 ++++---
 .../manageiq/providers/redhat/infra_provider/vm_spec.rb    | 14 ++++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

Comment 8 bmorriso 2015-09-16 15:09:18 UTC
verified upstream in master.20150916105634_88f28a0

I suspended a VM on a RHEV-m 3.3 provider, and the CFME UI correctly shows the VM as suspended.

Comment 9 bmorriso 2015-10-07 20:36:19 UTC
Verified working in 5.5.0.3-alpha1.2.20150929172214_2eda7b4.

Comment 11 errata-xmlrpc 2015-12-08 13:01:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:2551