Bug 1690508 - State machine for Orchestration Retirement is using the old values
Summary: State machine for Orchestration Retirement is using the old values
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.10.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: William Fitzgerald
QA Contact: Niyaz Akhtar Ansari
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-19 15:35 UTC by William Fitzgerald
Modified: 2019-12-12 13:36 UTC (History)
6 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-12 13:36:09 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:4199 0 None None None 2019-12-12 13:36:23 UTC

Description William Fitzgerald 2019-03-19 15:35:28 UTC
Description of problem: The state machine for Orchestration Retirement is using the old values:


Version-Release number of selected component (if applicable):
5.10.1

How reproducible:
100%

Steps to Reproduce:
1. Create an orchestration catalog item and retire the service.
2. Edit the automate retirement emails to change the from Id.
3. Change does not take affect.

Actual results:  In automation log
<AEMethod stack_retirement_emails> [DEPRECATION] This method will be deprecated. Please use similarly named method from System/Notification/Email class.


Expected results:
Email sent with proper values : Invoking [builtin] method [/$/Object/send_email] with inputs [{"to"=>"xxxxxx", "from"=>"from", "subject"=>"Stack Retirement Alert for : billyheat3.", "body"=>"Hello,<br/><br/>Your Stack named : billyheat3 has been retired.<br/><br/> Thank you<br/> Signature Virtualization Infrastructure Team"}]

Additional info:

Comment 3 CFME Bot 2019-04-10 18:06:24 UTC
New commit detected on ManageIQ/manageiq-content/master:

https://github.com/ManageIQ/manageiq-content/commit/43f78f9f604bda3e79695ece194b7e7d22f013ed
commit 43f78f9f604bda3e79695ece194b7e7d22f013ed
Author:     william fitzgerald <wfitzger>
AuthorDate: Tue Mar 19 16:59:01 2019 -0400
Commit:     william fitzgerald <wfitzger>
CommitDate: Tue Mar 19 16:59:01 2019 -0400

    Fixed State machine for Orchestration Retirement using old values.

    Modified Cloud/Orchestration Retirement class schema values to use new email Instance.
    Modified Email instance CloudOrchestrationVmRetired.

    ${/#orchestration_stack_retire_task.miq_request.requester.email} || ${/Configuration/Email/Default#default_recipient}

    fixes https://bugzilla.redhat.com/show_bug.cgi?id=1690508

    @miq-bot add_label bug

 content/automate/ManageIQ/Cloud/Orchestration/Retirement/StateMachines/StackRetirement.class/__class__.yaml | 2 +-
 content/automate/ManageIQ/System/Notification/Email.class/cloudorchestrationvmretired.yaml | 10 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

Comment 4 Niyaz Akhtar Ansari 2019-05-15 10:46:34 UTC
Verified in Version 5.11.0.4.20190514210444_0c91ee1

Comment 6 errata-xmlrpc 2019-12-12 13:36:09 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/RHBA-2019:4199


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