Bug 1212123 - OS thumbnail displays "?" in the "Instance by Provider" page for RHOS
Summary: OS thumbnail displays "?" in the "Instance by Provider" page for RHOS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.0
Assignee: Greg Blomquist
QA Contact: Thom Carlin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-15 15:14 UTC by Ramesh A
Modified: 2015-06-16 12:58 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
In the current version of CloudForms Management Engine, the operating system part of the QuadIcon for virtual machines hosted on an OpenStack provider is unknown and shown as a question mark. The operating system icon is displayed correctly after fleecing or smart state analysis has been performed on the instance or virtual machine image.
Clone Of:
Environment:
Last Closed: 2015-06-16 12:58:29 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
OS thumbnail issue (142.62 KB, image/png)
2015-04-15 15:14 UTC, Ramesh A
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1217219 0 high CLOSED [RuntimeError]: start is not permitted at state finished Method:[rescue in deliver] 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1217220 0 high CLOSED Metadata item was not found 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1217222 0 medium CLOSED Warn VolMgrPlatformSupportLinux: $miqHostCfg not set 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1217225 0 high CLOSED Unexpected values in evm.log 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1217226 0 high CLOSED SmartState analysis produces xml-related errors in evm.log 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1217227 0 high CLOSED Failed to create snapshot 2021-02-22 00:41:40 UTC
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 Ramesh A 2015-04-15 15:14:20 UTC
Created attachment 1014821 [details]
OS thumbnail issue

Description of problem:
OS thumbnail displays "?" in the "Instance by Provider" page for RHOS

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

How reproducible:
100%

Steps to Reproduce:
1. Navigate to Clouds ==> Instances
2. Select RHOS provider to see their Instances
3. Check for the OS thumbnail in the Top Left Quadrant on any of the virtual machine

Actual results:
Displays "?".  Refer the screenshot for further information

Expected results:
Should display appropriate thumbnail based on the vm's operating system

Additional info:

Comment 6 Greg Blomquist 2015-04-24 21:49:54 UTC
This is true.  We don't collect the Operating System for OpenStack instances.

From what I can tell from the API guides and from actually looking at the data we're currently getting back from the API, I don't see that we *can* get the operating system for instances.

I don't see it in the instance, the flavor, or the image.

I'll ask the OpenStack integration team to either show how to get the operating system information through the API.  Or, confirm that this is not possible.

Comment 7 Greg Blomquist 2015-04-27 14:35:02 UTC
I've confirmed with the OpenStack Integration team that the operating system is not available directly from the API.

It's possible that we *may* be able to get this information from other sources, but at this point, it makes this an RFE instead of a bug (since it involves either enhancing how we communicate with OpenStack, or requesting an enhancement from the OpenStack API to retrieve this information).

Comment 8 Greg Blomquist 2015-04-27 15:40:57 UTC
Digging deeper into this.  John Hardy showed me that I'm definitely wrong.  We do actually capture the OS Name for OpenStack.

The Quadicon for VMs shows the `vm.os_image_name`, which attempts to get the operating system name from the VM, failing that, attempts to get the operating system name from the VM's "parent" (i.e., the image from which it was provisioned).

I'm checking now, but I believe that information is only filled in after fleecing.

Comment 9 Greg Blomquist 2015-04-29 17:27:32 UTC
Please do instance or image fleecing in order to see the operating system icons for the VMs.

If that doesn't solve the problem, please push this back to Dev.


Suggested Doc Text:

For OpenStack, the Operating System part of the QuadIcon for VMs will be unknown (Question Mark) until Image and/or Instance Smart State Analysis is performed.  This is specific to OpenStack instances.

Comment 10 Thom Carlin 2015-04-29 18:53:52 UTC
Verified in version 5.4.0.0.23.20150423131011_69b48fd

Comment 12 errata-xmlrpc 2015-06-16 12:58:29 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.