Bug 1578121 - [RHV] SSA is not retrieving file information from VM on RHV
Summary: [RHV] SSA is not retrieving file information from VM on RHV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.9.3
Assignee: Hui Song
QA Contact: Jan Zmeskal
URL:
Whiteboard:
Depends On: 1553808
Blocks: 1561041
TreeView+ depends on / blocked
 
Reported: 2018-05-14 20:09 UTC by Satoe Imaishi
Modified: 2022-07-09 09:52 UTC (History)
9 users (show)

Fixed In Version: 5.9.3.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1553808
Environment:
Last Closed: 2018-07-12 13:14:18 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
actions.png (166.07 KB, image/png)
2018-05-27 11:17 UTC, Ilanit Stein
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ManageIQ manageiq pull 17331 0 None None None 2018-05-14 20:10:12 UTC
Red Hat Bugzilla 1583633 0 high CLOSED [Docs] Assign-profile-analysis-task-action confusing documentation. 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2018:2184 0 None None None 2018-07-12 13:15:04 UTC

Internal Links: 1583633

Comment 2 CFME Bot 2018-05-14 20:15:48 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/7ca3a3086135373e9e9d5562353817083c7fbe3a
commit 7ca3a3086135373e9e9d5562353817083c7fbe3a
Author:     Brandon Dunne <brandondunne>
AuthorDate: Mon Apr 30 16:19:12 2018 -0400
Commit:     Brandon Dunne <brandondunne>
CommitDate: Mon Apr 30 16:19:12 2018 -0400

    Merge pull request #17331 from hsong-rh/scanning_profile

    Fix the issue of defined analyisis profile missed in vm scanning.
    (cherry picked from commit 792f495c208c4bfd07eb7da2654e294159a6ad95)

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

 app/models/vm_scan.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 3 Ilanit Stein 2018-05-27 08:40:15 UTC
Hi Hui,

My understanding was that with this bug fix, 
the dependency of the profile name "default" will be removed. 
That is, the profile can be named other than "default".
 
I tested the VM SSA file collection on CFME-5.9.3,
using these instructions, and profile named "test1":

https://access.redhat.com/documentation/en-us/red_hat_cloudforms/4.6/html/assigning_a_custom_analysis_profile_to_a_virtual_machine

However, still the files are not collected.
Changing the profile name into "default" made the file collection work.

Can you please advise?

btw,
In the above link, 
3. Creating a Virtual Machine Control Policy
It seems that Action "Assign VM analysis profile..." was replaced with:
"Annotate image with scan results..."
(See attached screenshot actions.png)

Can you please confirm? 
Shall I open a doc bug on this?

Thanks.

Comment 4 Ilanit Stein 2018-05-27 11:17:02 UTC
Created attachment 1442279 [details]
actions.png

Comment 5 Hui Song 2018-05-27 12:09:14 UTC
Hi Ilanit,

Your understanding is correct. The fix should honor the defined profile. 

In your attached screen shot, you should choose the action you just created, as the doc says. (I made the same mistake as you in the beginning).

Comment 6 Ilanit Stein 2018-05-29 10:50:39 UTC
Hui,

Thanks a lot.
With profile named other than "default",
along with fixing the action just created,
VM scan does collect the files.

Thus moving bug to verified.

Comment 7 Ilanit Stein 2018-05-29 12:04:59 UTC
Filed this bug to prevent the confusion mentioned in comment 5:

Bug 1583633 - [Docs] Assign-profile-analysis-task-action confusing documentation.

Comment 9 errata-xmlrpc 2018-07-12 13:14:18 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:2184


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