Bug 1337693 - Azure Smart State not capturing expected details
Summary: Azure Smart State not capturing expected details
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Hui Song
QA Contact: Jeff Teehan
URL:
Whiteboard: provider:azure:ssa
Depends On: 1369886 1369895
Blocks: 1372802
TreeView+ depends on / blocked
 
Reported: 2016-05-19 20:11 UTC by ncatling
Modified: 2017-01-12 04:58 UTC (History)
9 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1372802 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:02:14 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description ncatling 2016-05-19 20:11:31 UTC
Description of problem:
Azure Smart State not capturing expected details on instances and images.

RHEL instance and image - No packages
Ubuntu instance and image - No packages or files, OS name not captured
Windows instance and image - No applications

Private images originally created from these orchestration templates:
https://github.com/Azure/azure-quickstart-templates/tree/master/101-vm-simple-rhel
https://github.com/Azure/azure-quickstart-templates/tree/master/101-vm-simple-linux
https://github.com/Azure/azure-quickstart-templates/tree/master/101-vm-simple-windows

Version-Release number of selected component (if applicable):
5.6.0.7-beta2.6.20160516171555_b1be31f


How reproducible:


Steps to Reproduce:
1. Create the above private images and provision instances
2. Smart state the images and instances
3. Review captured results

Actual results:

Expected results not captured.


Expected results:


Additional info:

Comment 3 Rich Oliveri 2016-05-19 20:42:01 UTC
Hui, look into this one.
The details we collect and how we collect them are common for all providers, so I'm not sure how this can be specific to Azure. The issue may be with the actual instances and images themselves - we need to verify the details on the live instances, so we know what to expect from SSA.

Comment 11 Rich Oliveri 2016-06-01 20:57:27 UTC
It seems this BZ deals with two root problems:

These are cause by an Azure-specific issue that requires more investigation:
    RHEL instance and image - No packages
    Windows instance and image - No applications

This is a general problem, for which we havw a solution.
   Ubuntu instance and image - No packages or files, OS name not captured

I will create a separate BZ for the Ubuntu issue, and re-purpose this BZ to deal with the RHEL and Windows issue.

Comment 14 Jeff Teehan 2016-08-11 22:47:25 UTC
Thanks for waiting.  I was dragging my feet waiting for the 5602 build, which I have installed on https://10.16.7.200  There is a cloud provider AzureDJ.  Do whatever you need, just let me know if you change any code.

Comment 18 Hui Song 2016-08-31 15:12:34 UTC
Both RHEL and Windows instances have completed scanning result. The IO related performance issue is resolved.

Comment 19 Satoe Imaishi 2016-08-31 21:46:23 UTC
Please add PR link.

Comment 21 Jeff Teehan 2016-09-02 16:33:46 UTC
For windows, the items that are zero are files and registry entries.  Check on a bunch of appliances with the same answer.

Hui - hit me up in IRC #cfme-qe as "jt" for access to my account info.  Or you can use 10.16.7.238 as it will be up for a month or so.

Comment 23 Jeff Teehan 2016-10-11 19:51:55 UTC
Verification on this bz is blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1382326

Comment 24 Jeff Teehan 2016-11-18 16:37:56 UTC
I'm getting correct results for multiple VMs and Operating Systems provided I manually update the RPMs.  I'm going to move this to verified as of 5.7.0.10


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