Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1433435 - Policy to exclude a VM from analysis shows as false but scanning is still happening
Policy to exclude a VM from analysis shows as false but scanning is still hap...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Control (Show other bugs)
5.7.0
Unspecified Unspecified
high Severity urgent
: GA
: 5.7.2
Assigned To: Lucy Fu
Dmitry Misharov
control:policy
: ZStream
Depends On: 1433084
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-17 12:07 EDT by Satoe Imaishi
Modified: 2017-04-12 10:45 EDT (History)
6 users (show)

See Also:
Fixed In Version: 5.7.2.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1433084
Environment:
Last Closed: 2017-04-12 10:45:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
hot fix (3.50 KB, application/x-tar)
2017-03-17 12:40 EDT, Lucy Fu
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0898 normal SHIPPED_LIVE Moderate: cfme, cfme-appliance, and cfme-gemset security, bug fix, and enhancement update 2017-04-12 14:31:08 EDT

  None (edit)
Comment 2 CFME Bot 2017-03-17 12:26:23 EDT
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/22250ed7e91811e580603f6b5bf9d045a6d7e429

commit 22250ed7e91811e580603f6b5bf9d045a6d7e429
Author:     Greg McCullough <gmccullo@redhat.com>
AuthorDate: Fri Mar 17 12:00:48 2017 -0400
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Fri Mar 17 12:22:27 2017 -0400

    Merge pull request #14370 from lfu/prevent_request_vm_scan_1433084
    
    Add the logic to allow a policy to prevent request_vm_scan.
    (cherry picked from commit 83a1785facb87e8d108c1033b8591530b1bbfd18)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1433435

 app/models/vm_or_template/scanning.rb              | 28 +++++++----------
 .../job_proxy_dispatcher_embedded_scan_spec.rb     |  2 +-
 ...dispatcher_get_eligible_proxies_for_job_spec.rb |  2 +-
 spec/models/job_proxy_dispatcher_spec.rb           | 16 +++++-----
 .../job_proxy_dispatcher_vm_proxies4job_spec.rb    |  2 +-
 spec/models/job_spec.rb                            |  4 +--
 spec/models/vm_scan_spec.rb                        | 17 +++++++++--
 spec/models/vm_spec.rb                             | 35 ++++++++++++++++++++++
 8 files changed, 73 insertions(+), 33 deletions(-)
Comment 3 Lucy Fu 2017-03-17 12:40 EDT
Created attachment 1264212 [details]
hot fix
Comment 4 Dmitry Misharov 2017-03-23 05:45:57 EDT
Verified in 5.7.2.0.20170321181409_349f1b1. I created policy which prevents analysis of any VM that is tagged as Do Not Analyze. It works correctly for a vm which was tagged "Do Not Analyze".
Comment 5 errata-xmlrpc 2017-04-12 10:45:11 EDT
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-2017:0898

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