Bug 1579017

Summary: [RFE] Setting Retirement for a Service in Global Region Does Not get Replicated to Local Region
Product: Red Hat CloudForms Management Engine Reporter: myoder
Component: ApplianceAssignee: Yuri Rudman <yrudman>
Status: CLOSED CURRENTRELEASE QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: abellott, cpelland, dmetzger, gtanzill, jrfuller, lavenel, obarenbo, simaishi, yrudman
Target Milestone: GAKeywords: FutureFeature, TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1648991 (view as bug list) Environment:
Last Closed: 2019-02-11 13:59:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1648991    

Description myoder 2018-05-16 19:17:07 UTC
Description of problem:

When a service exists in the local region, if you update the retirement date for the service from the global region, the retirement date for the local region does not change.  However, the global region does show that the retirement date has changed.  Thus, giving two different dates for the retirement of the service.


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

How reproducible:
always

Steps to Reproduce:
1. Create 1 local and 1 global region
2. Create a service for 1 vm in the local region
3. Update the retirement date for the service from the global region
4. Observe that the local region does not reflect the change made

Actual results:
The service retirement date is changed in the global, but not updated in the local region.

Expected results:
If user can change the retirement date in the global region, the local region should reflect this change.

Additional info:
There is a another issue with changing vm retirement date, but will be opening a separate bug for this.

Comment 2 Yuri Rudman 2018-05-18 00:01:38 UTC
This functionality is not implemented yet - Central Administration does not support propagating changed service's attributes from global region to remote.

Comment 8 Yuri Rudman 2018-09-28 13:28:16 UTC
yes, this is latest on the same topic: https://bugzilla.redhat.com/show_bug.cgi?id=1633142

Comment 10 CFME Bot 2018-11-02 13:22:49 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/54edea7f0cadff66c46ea1041eeeb93b9b00d0de
commit 54edea7f0cadff66c46ea1041eeeb93b9b00d0de
Author:     Yuri Rudman <yrudman>
AuthorDate: Fri Oct 26 12:33:05 2018 -0400
Commit:     Yuri Rudman <yrudman>
CommitDate: Fri Oct 26 12:33:05 2018 -0400

    allow set retirement date for service via Centralized Administration
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1579017

 app/models/service.rb | 3 +
 app/models/service/operations.rb | 5 +
 app/models/service/operations/lifecycle.rb | 9 +
 3 files changed, 17 insertions(+)

Comment 11 CFME Bot 2018-11-02 13:23:33 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/0b1204187b10dbb659b86688421af6cfe555376b
commit 0b1204187b10dbb659b86688421af6cfe555376b
Author:     Nick Carboni <ncarboni>
AuthorDate: Thu Nov  1 10:00:15 2018 -0400
Commit:     Nick Carboni <ncarboni>
CommitDate: Thu Nov  1 10:00:15 2018 -0400

    Merge pull request #18137 from yrudman/set-service-retierement-date-on-global-region

    Allow to set retirement date for service via Centralized Administration

    (cherry picked from commit f2016e8e08ad3ea49a953dbaad20ae774eb41965)

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

 app/models/service.rb | 3 +
 app/models/service/operations.rb | 5 +
 app/models/service/operations/lifecycle.rb | 9 +
 3 files changed, 17 insertions(+)

Comment 15 CFME Bot 2018-11-19 14:26:31 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/a1a211f5c545b4b5c62e8d1c105135cac0dab5ab
commit a1a211f5c545b4b5c62e8d1c105135cac0dab5ab
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Mon Nov 19 09:17:15 2018 -0500
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Mon Nov 19 09:17:15 2018 -0500

    Merge pull request #4874 from yrudman/support-service-retierement-via-centralized-administration

    Rescue error messages when executing retire action

    (cherry picked from commit 5518e013fadd629e871acc4e8b213eb5f5fee8b0)

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

 app/controllers/mixins/actions/vm_actions/retire.rb | 7 +-
 1 file changed, 5 insertions(+), 2 deletions(-)

Comment 16 Tasos Papaioannou 2018-11-26 16:22:36 UTC
Verified on 5.10.0.25.