Bug 837369 - [RFE] Switch to client promotion to replica model
[RFE] Switch to client promotion to replica model
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa (Show other bugs)
7.0
Unspecified Unspecified
high Severity medium
: rc
: ---
Assigned To: Martin Kosek
Namita Soman
Aneta Šteflová Petrová
: FutureFeature
: 1298845 (view as bug list)
Depends On:
Blocks: 1292074 1296125 1313485 1199516 1351220
  Show dependency treegraph
 
Reported: 2012-07-03 12:00 EDT by Dmitri Pal
Modified: 2016-11-04 01:43 EDT (History)
8 users (show)

See Also:
Fixed In Version: ipa-4.4.0-1.el7
Doc Type: Release Note
Doc Text:
Simplified replica installation Installing a replica no longer requires you to log in to the initial server, use the Directory Manager (DM) credentials, and copy the replica information file from the initial server to the replica. For example, this allows for easier provisioning using an external infrastructure management system, while retaining a reasonable level of security. In addition, the "ipa-replica-install" utility can now also promote an existing client to a replica. For details, see https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/Linux_Domain_Identity_Authentication_and_Policy_Guide/index.html#install-replica Note that the new functionality requires raising the domain level to `1`. See https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/Linux_Domain_Identity_Authentication_and_Policy_Guide/index.html#domain-level
Story Points: ---
Clone Of:
: 1351220 (view as bug list)
Environment:
Last Closed: 2016-11-04 01:43:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
tkt_5455.log (27.41 KB, text/plain)
2016-08-12 04:14 EDT, Abhijeet Kasurde
no flags Details
tkt_5966.log (2.30 KB, text/plain)
2016-08-12 04:25 EDT, Abhijeet Kasurde
no flags Details
tkt_2888.log (8.88 KB, text/plain)
2016-08-12 04:50 EDT, Abhijeet Kasurde
no flags Details
tkt_5976.log (7.02 KB, text/plain)
2016-08-12 05:21 EDT, Abhijeet Kasurde
no flags Details
tkt_5983.log (17.05 KB, text/plain)
2016-08-16 04:30 EDT, Abhijeet Kasurde
no flags Details

  None (edit)
Description Dmitri Pal 2012-07-03 12:00:55 EDT
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/2888

Current replica creation model calls for creation of a package on the existing replica and then delivering it to the new replica host being installed. A more robust approach that would allow easier migration between different versions is to have the following model.

Install a client on a future replica machine.
Join in to the domain
Install server bits using yum install
Run a command to promote the client to replica. As result of this command the client would connect to the existing master and pull in the data it needs rather than having a replica package being manually pre-created and delivered.

The benefit is that the replica being installed would be able to get the data it needs in the format in needs. It would reduce the need to deal with the cases when the master is versions 2.x and the replica is version 3.1.x.

Until this is implemented it makes sense to defer the support of the mixed domains between the versions. 

Might be a problem for Fedora though...
Comment 2 Martin Kosek 2015-07-07 03:51:09 EDT
Replica Promotion and Topology features were postponed in the upstream project, to FreeIPA 4.3 which should closely follow FreeIPA 4.2 release.

See the reasoning and details in:
http://www.redhat.com/archives/freeipa-devel/2015-July/msg00092.html
Comment 3 Martin Bašti 2015-10-22 07:57:20 EDT
Fixed upstream
master:
9e007edbd902a5395797ca0ca9a698033540d755 Remove unused kra option
6a0087aea176d1e1154b359fa262066896d663e3 Add low level helper to get domain level
42e859daa78396321d25e95107eabf35d46cdd91 Make checks for existing credentials reusable
2606f5aecd6ac0db31abb515b691529bb7eaf14e Allow to setup the CA when promoting a replica
102651b10afa144384db53b45fb558747a092d6d prevent operation on tombstones
fcb9854dcb047018a1904c7e6db655af0596e3ae handle multiple managed suffixes
80e11d24696c30ee311bd019ed39df8fc0f908a2 topology plugin configuration workaround
834b5fd513d799bb9fe2cbc29417ff8ec7357033 enable topology plugin on upgrade
fff31ca220311421f1ac8cef0888aaa892e97584 topology: manage ca replication agreements
86240938b58cd9bf85a96d34c39b55f6d59a36b8 Add function to extract CA certs for install
5761f73e2598dc404a3b51c6810e3dd250d2ba11 Allow ipa-replica-conncheck to use default creds
f7d1e4f9a21b0f3e63bd3bcd4a17acf749e0b208 Change DNS installer code to use passed in api
d03619fff3a1eb7d21c2ba21f8867ae8018779b8 Implement replica promotion functionality
2cd0d20a2a454369488b77e841a9cce643b26d34 Require a DS version that has working DNA plugin
463dda30679da9ac5eea5683984002989965e2a5 Add ipa-custodia service
98bf90e4cecb38fc72a0b598a6e6a50fee284f31 fix dsinstance.py:get_domain_level function
958996b9cc55b6e9ecdc23981e79599ec6826b4c Allow ipa-ca-install to use the new promotion code
Comment 4 Martin Bašti 2015-10-22 11:57:35 EDT
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/bc39cc9f813c35ba603b45c7dc5e9c5ba2be5743
Comment 5 Petr Vobornik 2015-11-05 11:43:21 EST
Referencing https://fedorahosted.org/freeipa/ticket/5424 as a possible test case which is not strictly related to the promotion process itself.
Comment 6 Petr Vobornik 2015-11-23 12:43:12 EST
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5455
Comment 8 Petr Vobornik 2016-02-02 08:13:33 EST
Has been implemented upstream, see comments above.
Comment 9 Petr Vobornik 2016-02-19 07:40:28 EST
*** Bug 1298845 has been marked as a duplicate of this bug. ***
Comment 10 Petr Vobornik 2016-03-11 09:04:14 EST
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5721
Comment 11 Mike McCune 2016-03-28 19:07:19 EDT
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions
Comment 13 Martin Kosek 2016-06-10 08:55:20 EDT
Ticket 5721 was closed as duplicate, adding ticket 5604.
Comment 14 Petr Vobornik 2016-06-22 12:36:14 EDT
Core is implemented, but some regressions/issues we found, moving to assigned.
Comment 15 Petr Vobornik 2016-06-22 12:37:12 EDT
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5966
Comment 16 Petr Vobornik 2016-06-22 12:44:37 EDT
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5976
Comment 18 Petr Vobornik 2016-06-29 06:48:00 EDT
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/837369
Comment 19 Petr Vobornik 2016-06-29 06:49:24 EDT
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5983
Comment 20 Jan Cholasta 2016-06-30 05:52:04 EDT
Ticket 5983 fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/99339bf7892fcc1201e06e6a8105b0bb4681c4f4
Comment 23 Martin Bašti 2016-07-01 09:15:16 EDT
This is not related to upstream ticket 5604
Comment 26 Abhijeet Kasurde 2016-08-12 04:14 EDT
Created attachment 1190297 [details]
tkt_5455.log
Comment 27 Abhijeet Kasurde 2016-08-12 04:25 EDT
Created attachment 1190299 [details]
tkt_5966.log
Comment 28 Abhijeet Kasurde 2016-08-12 04:50 EDT
Created attachment 1190304 [details]
tkt_2888.log
Comment 29 Abhijeet Kasurde 2016-08-12 05:21 EDT
Created attachment 1190322 [details]
tkt_5976.log
Comment 31 Abhijeet Kasurde 2016-08-16 04:30 EDT
Created attachment 1191150 [details]
tkt_5983.log
Comment 32 Abhijeet Kasurde 2016-08-16 04:32:37 EDT
Verified using IPA version ::

ipa-server-4.4.0-7.el7.x86_64


Marking RFE bz as verified. See attachments for respective tkts.
Comment 34 errata-xmlrpc 2016-11-04 01:43:22 EDT
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://rhn.redhat.com/errata/RHBA-2016-2404.html

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