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
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(-)
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!
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