Bug 1459236

Summary: Retirement - log the zone when raising a retirement event.
Product: Red Hat CloudForms Management Engine Reporter: Tina Fitzgerald <tfitzger>
Component: ControlAssignee: Tina Fitzgerald <tfitzger>
Status: CLOSED CURRENTRELEASE QA Contact: Landon LaSmith <llasmith>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1459306 1459307 (view as bug list) Environment:
Last Closed: 2018-03-06 15:32:23 UTC Type: Bug
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:    
Bug Blocks: 1459306, 1459307    

Description Tina Fitzgerald 2017-06-06 15:11:41 UTC
Description of problem: 
We try to determine the proper zone when raising a retirement event. The log message doesn't show the zone and it should.

Steps to Reproduce:
1. Provision a Service and retire it.
2. Search evm.log for "Raising Retirement Event". You'll see a log message with just the Service name: 
Raising Retirement Event for [tina_admin_test]

Expected results:
You should see log message showing q_options(zone):
Raising Retirement Event for [tina_admin_test] with queue options: {:zone=>"default"}

Comment 3 CFME Bot 2017-06-06 16:12:06 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6c48ad6bbeeb204da556a9eb96b176149dc5cc93

commit 6c48ad6bbeeb204da556a9eb96b176149dc5cc93
Author:     Tina Fitzgerald <tfitzger>
AuthorDate: Tue Jun 6 11:16:15 2017 -0400
Commit:     Tina Fitzgerald <tfitzger>
CommitDate: Tue Jun 6 11:16:15 2017 -0400

    Log zone(q_options) when raising retirement event.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1459236

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

Comment 6 Landon LaSmith 2018-02-08 20:50:39 UTC
VERIFIED in 5.9.0.20. Retirement events are logged with the zone