Bug 2211723

Summary: add ad_integration_force_rejoin
Product: Red Hat Enterprise Linux 8 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: VERIFIED --- QA Contact: Jakub Vavra <jvavra>
Severity: unspecified Docs Contact: David Voženílek <dvozenil>
Priority: unspecified    
Version: 8.9CC: djez, jvavra, spetrosi
Target Milestone: rcKeywords: Triaged
Target Release: 8.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:ad_integration
Fixed In Version: rhel-system-roles-1.22.0-0.10.el8 Doc Type: Enhancement
Doc Text:
Address non-MVP task to rejoin an AD domain. Leave the existing domain before joining the domain if both conditions below are true: - `ad_integration_force_rejoin` is set to true - 'realm list' output shows we are already joined to a domain
Story Points: ---
Clone Of: 2186253 Environment:
Last Closed: Type: ---
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: 2186253    
Bug Blocks:    

Description Rich Megginson 2023-06-01 16:55:11 UTC
+++ This bug was initially created as a clone of Bug #2186253 +++

Add ability to force ad_integration role to rejoin AD domain.  See https://github.com/linux-system-roles/ad_integration/pull/29

--- Additional comment from Rich Megginson on 2023-04-12 14:45:23 UTC ---

Initial implementation done in https://github.com/linux-system-roles/ad_integration/pull/29
Assigning to jvavra to add tests.

--- Additional comment from Rich Megginson on 2023-05-23 21:05:45 UTC ---

@jvavra any update on adding upstream tests for this?