Bug 1554901

Summary: Missing Guest OS in dashboard reports in Openstack
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Scott Seago <sseago>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, gblomqui, iovadia, jfrey, jhajyahy, jhardy, lsmola, marjones, obarenbo, rspagnol, simaishi, slucidi, sseago
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1520565 Environment:
Last Closed: 2018-05-07 20:46:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Bug Depends On: 1520565    
Bug Blocks: 1554897    
Attachments:
Description Flags
Dashboard screenshot none

Comment 2 CFME Bot 2018-03-13 14:28:31 UTC
New commit detected on ManageIQ/manageiq-providers-openstack/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-openstack/commit/a2bffb24047304b78e699a17dc5f8e86bd069f5b
commit a2bffb24047304b78e699a17dc5f8e86bd069f5b
Author:     Samuel Lucidi <mansam.edu>
AuthorDate: Fri Jan 19 10:56:07 2018 -0500
Commit:     Samuel Lucidi <mansam.edu>
CommitDate: Fri Jan 19 10:56:07 2018 -0500

    Merge pull request #193 from sseago/dashboard_guest_os

    BZ 1520565: Track guest OS for openstack images and VMs
    (cherry picked from commit bf8a3820177f0568955072b60d3c36d6d5cf3517)

    https://bugzilla.redhat.com/show_bug.cgi?id=1554901

 app/models/manageiq/providers/openstack/cloud_manager/refresh_parser.rb | 13 +
 app/models/manageiq/providers/openstack/inventory/parser/cloud_manager.rb | 16 +
 app/models/manageiq/providers/openstack/inventory/persister/cloud_manager.rb | 1 +
 app/models/manageiq/providers/openstack/inventory/persister/target_collection.rb | 4 +-
 app/models/manageiq/providers/openstack/inventory_collection_default/cloud_manager.rb | 14 +
 app/models/manageiq/providers/openstack/refresh_parser_common/images.rb | 7 +
 spec/models/manageiq/providers/openstack/cloud_manager/refresh_spec_common.rb | 10 +-
 spec/models/manageiq/providers/openstack/infra_manager/refresher_rhos_juno_spec.rb | 2 +-
 8 files changed, 59 insertions(+), 8 deletions(-)

Comment 4 Ido Ovadia 2018-04-24 10:09:19 UTC
Failed QA
==========
5.9.2.3  Screenshot is enclosed

Comment 5 Ido Ovadia 2018-04-24 10:10:25 UTC
Created attachment 1425893 [details]
Dashboard screenshot

Comment 6 Scott Seago 2018-04-24 17:30:28 UTC
By default, this widget is generated once daily at midnight UTC. To force regeneration earlier, select Cloud Intel -> Reports -> Dashboards -> Default dashboard -> Vendor and Guest OS Chart -> Configuration -> Generate Widget Content Now

Comment 7 Ido Ovadia 2018-04-25 12:30:30 UTC
(In reply to Scott Seago from comment #6)
> By default, this widget is generated once daily at midnight UTC. To force
> regeneration earlier, select Cloud Intel -> Reports -> Dashboards -> Default
> dashboard -> Vendor and Guest OS Chart -> Configuration -> Generate Widget
> Content Now

Thank you Scott,

It is still looks the same, as https://bugzilla.redhat.com/attachment.cgi?id=1425893

Comment 8 Scott Seago 2018-04-25 12:55:37 UTC
Is the os_distro property set on your image? That's the only way MIQ will know what OS to show. If you don't set that, it will still be unknown.

Comment 10 Ido Ovadia 2018-05-03 12:00:01 UTC
(In reply to Scott Seago from comment #8)
> Is the os_distro property set on your image? That's the only way MIQ will
> know what OS to show. If you don't set that, it will still be unknown.

Verified
========

Retest on 5.9.2.4

Comment 13 errata-xmlrpc 2018-05-07 20:46:20 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-2018:1328