[freeipa PR#2580][opened] Issue #7744: Use api.env.server for config.ca_host_name
by jaredledvina
URL: https://github.com/freeipa/freeipa/pull/2580
Author: jaredledvina
Title: #2580: Issue #7744: Use api.env.server for config.ca_host_name
Action: opened
PR body:
"""
Bug: https://pagure.io/freeipa/issue/7744
This is a really quick attempt to fix this bug. Currently, the CA server is always chosen from LDAP. As a result, when installing the CA but, passing in `--server`, the replica install will use the server passed in but the CA install can replicate from another. This leads to lots of confusion when reviewing the replication topology and can lead to replicating the entire CA domain from a high latency link.
This really bites us in production where new replicas will replicate initially from a server on the other side of the world and that link has high latency causing failures midway through the install.
I think this change will work and am happy to test it out. I'd love to see this back ported to 4.5.4 but, understand if that's not possible.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2580/head:pr2580
git checkout pr2580
4 years, 11 months