Bug 1767896

Summary: Lifecycle retirement fails for user that no longer has groups
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: drew uhlmann <duhlmann>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.8CC: dmetzger, duhlmann, gmccullo, jprause, mfeifer, mkanoor, obarenbo, smallamp, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.1Flags: simaishi: cfme-5.11.z+
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1750990 Environment:
Last Closed: 2019-12-13 00:35:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1750990    
Bug Blocks:    

Comment 2 CFME Bot 2019-11-01 19:33:05 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/6254a4b14d64286239b3e2a612b13a38cfeee13e
commit 6254a4b14d64286239b3e2a612b13a38cfeee13e
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Sep 19 17:40:48 2019 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Thu Sep 19 17:40:48 2019 -0400

    Merge pull request #19309 from d-m-u/removing_dependency_on_user_group_from_retirement_mixin

    Add check for nil group to system_context_requester

    (cherry picked from commit 957a270a4567ab9bb0cd11ac27d5a0a6e16b9b6b)

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

 app/models/mixins/retirement_mixin.rb | 4 +
 spec/models/vm/retirement_management_spec.rb | 19 +
 2 files changed, 23 insertions(+)

Comment 3 Tasos Papaioannou 2019-11-20 18:53:52 UTC
Verified on 5.11.1.0.

Comment 5 errata-xmlrpc 2019-12-13 00:35:54 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-2019:4201