RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1598662 - Replica installation fails with connection refused error
Summary: Replica installation fails with connection refused error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-06 06:54 UTC by anuja
Modified: 2018-10-30 10:59 UTC (History)
11 users (show)

Fixed In Version: ipa-4.6.4-7.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:58:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3187 0 None None None 2018-10-30 10:59:43 UTC

Description anuja 2018-07-06 06:54:04 UTC
Description of problem:
When IPA server is installed on domain level-0 
Replica installation fails with connection refused error


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

Master- RHEL-6.10
ipa-server-3.0.0-51.el6.x86_64

Replica- RHEL-7.6
ipa-server-4.6.4-2.el7.x86_64

Steps to Reproduce:
1. Install Master on RHEL-6.10
2. Install replica on RHEL-7.6

Actual results:
Replica installation fails

Expected results:
Replica installation should be successful

Additional info:
Previously replica installation was working
on RHEL-7.5 using RHEL-6.9 as Master

Comment 5 Florence Blanc-Renaud 2018-07-06 09:38:16 UTC
Investigation:

the replica installation fails trying to connect to https://master.domain.com:8443/ca/rest/account/login, but in RHEL 6.x (with Dogtag 9) the master does not use this port. Port 8443 use has been introduced with Dogtag 10 (see http://www.dogtagpki.org/wiki/PKI_Release_Notes#What.27s_new.3F_23 section New Directory Layout/ Architecture/ Standard Ports) and previous Dogtag versions were using 9443, 9444, 9445 and 9446.

This issue should have been fixed by https://pagure.io/freeipa/c/0d406fcb784924bfe685729f3156efb8c902b947 but seems to re-occur in latest rhel 7.5 version.

Comment 6 Florence Blanc-Renaud 2018-07-10 05:16:39 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/7629

Comment 8 Tibor Dudlák 2018-08-28 07:35:12 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/6175672e8e11a5fb0a813ea11513efffb704a672

Comment 9 Tibor Dudlák 2018-08-28 08:39:33 UTC
Fixed upstream
ipa-4-6:
https://pagure.io/freeipa/c/c4481d71a9a57b89366b02f86f99fc84b5d9d320

Comment 13 Mohammad Rizwan 2018-09-04 08:46:27 UTC
version:

Master  : ipa-server-3.0.0-51.el6.x86_64

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.10 (Santiago)


Replica : ipa-server-4.6.4-7.el7.x86_64

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.6 Beta (Maipo)

Steps:
1. Install master on RHEL6.10
   $ /usr/sbin/ipa-server-install --setup-dns --forwarder 10.11.5.19 --domain testrelm.test --realm TESTRELM.TEST --admin-password Secret123 --ds-password Secret123 -U 

2. create replica prepare file
   $  ipa-replica-prepare replica.testrelm.test --ip-address=<xx.xx.xx.xx>

3. copy file created in step 2 to the replica server

4. setup replica
   $ ipa-replica-install --setup-ca <replica-prepare-file-from step 3>


Actual result:

replica installed successfully andno error observed.

[..]

[try 1]: Forwarding 'host_mod' to json server 'https://replica.testrelm.test/ipa/json'
SSSD enabled
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Configuring testrelm.test as NIS domain.
Client configuration complete.
The ipa-client-install command was successful


Based on above observations, marking the bug as verified.

Comment 16 errata-xmlrpc 2018-10-30 10:58:44 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/RHBA-2018:3187


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