Bug 1220516 - "non-operational" status icon missing in instances accordion (wrong url)
Summary: "non-operational" status icon missing in instances accordion (wrong url)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: GA
: 5.4.0
Assignee: Dan Clarizio
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-11 17:56 UTC by Jan Krocil
Modified: 2015-06-16 13:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 13:02:06 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Jan Krocil 2015-05-11 17:56:03 UTC
Description of problem:
When an instance gets into a non-operational state, the icon in accordion has an invalid URL - the image is not found. Icon on the summary page is shown correctly, though.

Version-Release number of selected component (if applicable):
5.4.0.0.25

How reproducible:
Always

Steps to Reproduce:
1. Get a vm/instance into non-operational state
2. Check the icon in instances accordion
(I have no idea how our instance got into the non-op state; for verification purposes, I'd just set it through the rails console directly)

Actual results:
Missing icon / invalid url

Expected results:
Icon is shown (red exclamation mark)

Additional info:
----------------

Accordion, invalid URL:
/images/icons/new/non_operational.png

Summary page, valid URL:
/images/icons/new/currentstate-non_operational.png

Comment 3 CFME Bot 2015-05-11 20:55:52 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3369a9fe4ec0206174fcee61488ef0332e39e907

commit 3369a9fe4ec0206174fcee61488ef0332e39e907
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon May 11 15:02:59 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon May 11 15:02:59 2015 -0400

    Fixed image name for VM images in the tree on left.
    
    Images on summary screen are prefixed by "currentstate", changed tree to use same images as summary screen. This fixes missing image error for "/images/icons/new/non_operational.png" in the tree
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1220516

 vmdb/app/presenters/tree_node_builder.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 6 Milan Falešník 2015-05-19 13:59:03 UTC
Verified in 5.4.0.1.

Steps to set an instance to non_operational state:
- Add an openstack provider
- Pick one vm, remember the id
- open rails console:
vm = VmOpenstack.where(:id => id_of_instance).first
vm.raw_power_state = "ERROR"
vm.save!

Comment 8 errata-xmlrpc 2015-06-16 13:02:06 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://rhn.redhat.com/errata/RHBA-2015-1100.html


Note You need to log in before you can comment on or make changes to this bug.