Bug 1459307

Summary: Retirement - log the zone when raising a retirement event.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ControlAssignee: Tina Fitzgerald <tfitzger>
Status: CLOSED ERRATA QA Contact: Dave Johnson <dajohnso>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: jhardy, mshriver, obarenbo, simaishi, vaclav.miller
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1459236 Environment:
Last Closed: 2017-06-28 15:04:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1459236    
Bug Blocks:    

Comment 2 CFME Bot 2017-06-06 18:41:05 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/073ac760d8b653edc94408dc07e01e34e578fdbd

commit 073ac760d8b653edc94408dc07e01e34e578fdbd
Author:     Greg McCullough <gmccullo>
AuthorDate: Tue Jun 6 12:10:35 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Jun 6 14:36:11 2017 -0400

    Merge pull request #15317 from tinaafitz/retirement_zone_log_message
    
    Log zone(q_options) when raising retirement event.
    (cherry picked from commit cc83076fc3d4b91e85906e35d376359ce7d542be)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1459307

 app/models/mixins/retirement_mixin.rb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comment 3 Mike Shriver 2017-06-12 13:20:54 UTC
Tested in CFME 5.7.3.1.20170608124102_4b35a9e

Retirement events are now logged in evm.log witht he queue options included.

For example, the following message was logged, which includes the zone, when this resource was retired.

evm.log:
INFO -- : Raising Retirement Event for [test-ret-policy-shriver] with queue options: {:zone=>"default"}

Comment 5 errata-xmlrpc 2017-06-28 15:04:49 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-2017:1601