Bug 1687524 - State machine for Vm Retirement is using the old values
Summary: State machine for Vm Retirement is using the old values
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
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: 1695897
TreeView+ depends on / blocked
 
Reported: 2019-03-11 16:34 UTC by Shveta
Modified: 2019-12-13 15:08 UTC (History)
8 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1695897 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:08:55 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Shveta 2019-03-11 16:34:13 UTC
Description of problem:The state machine for Vm Retirement is using the old values:
/Infrastructure/VM/Retirement/Email/vm_retirement_emails?event=vm_retired
This needs to be changed to 
/System/Notification/Email/InfrastructureVmRetired?event=vm_retired



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

How reproducible:


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

Actual results:


Expected results:


Additional info:

Comment 3 CFME Bot 2019-03-27 16:52:24 UTC
New commit detected on ManageIQ/manageiq-content/master:

https://github.com/ManageIQ/manageiq-content/commit/9c79f1eb30dae7f313bf6a534376db1088365849
commit 9c79f1eb30dae7f313bf6a534376db1088365849
Author:     william fitzgerald <wfitzger>
AuthorDate: Mon Mar 18 16:50:55 2019 -0400
Commit:     william fitzgerald <wfitzger>
CommitDate: Mon Mar 18 16:50:55 2019 -0400

    Fixed State machine for Vm Retirement using old values.

    Modified VMRetirement class schema values to use new email Instances For Infra and Cloud.
    Modified Email instances CloudVmRetired and InfrastructureVmRetired to use

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

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

 content/automate/ManageIQ/Cloud/VM/Retirement/StateMachines/VMRetirement.class/__class__.yaml | 2 +-
 content/automate/ManageIQ/Infrastructure/VM/Retirement/StateMachines/VMRetirement.class/__class__.yaml | 2 +-
 content/automate/ManageIQ/System/Notification/Email.class/cloudvmretired.yaml | 3 +-
 content/automate/ManageIQ/System/Notification/Email.class/infrastructurevmretired.yaml | 3 +-
 4 files changed, 4 insertions(+), 6 deletions(-)

Comment 5 Niyaz Akhtar Ansari 2019-05-15 10:41:41 UTC
Verified in Version 5.11.0.4.20190514210444_0c91ee1


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