[freeipa PR#3402][opened] [WIP] Test: To check ipa replica-manage del <FQDN> does not fail
by ssidhaye
URL: https://github.com/freeipa/freeipa/pull/3402
Author: ssidhaye
Title: #3402: [WIP] Test: To check ipa replica-manage del <FQDN> does not fail
Action: opened
PR body:
"""
Problem:
If a replica installation fails before all the services have been enabled then
it could leave things in a bad state.
ipa-replica-manage del <replica> --cleanup --force
invalid 'PKINIT enabled server': all masters must have IPA master role enabled
Test Steps:
1. Setup server
2. Setup replica
3. modify the replica entry on Master:
ldapmodify -D cn="Directory Manager"-w <passwd>
dn: cn=KDC,cn=<replicaFQDN>,cn=masters,cn=ipa,cn=etc,<baseDN>
changetype: modify
replace: ipaconfigstring
ipaconfigstring: pkinitEnabled
ipaconfigstring: configuredService
4. On master,
run ipa-replica-manage del <replicaFQDN> --cleanup --force
Related Ticket: https://pagure.io/freeipa/issue/7929
Signed-off-by: Sumedh Sidhaye <ssidhaye(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3402/head:pr3402
git checkout pr3402
4 years, 9 months
[freeipa PR#3434][opened] Issue #8018 - Fixes ipa-server-install to work with /etc/hosts like in fc30
by mulatinho
URL: https://github.com/freeipa/freeipa/pull/3434
Author: mulatinho
Title: #3434: Issue #8018 - Fixes ipa-server-install to work with /etc/hosts like in fc30
Action: opened
PR body:
"""
On Fedora 30, and also on another machines that put aliases
first than FQDN address on /etc/hosts, ipa-server-install fails.
#### Steps to Reproduce
1. with a machine without freeipa-server,
2. using the same pattern of fedora 30 in /etc/hosts [1]
3. run **ipa-server-install --setup-dns** make happen an installation bug even if seems OK;
[1] /etc/hosts
```
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
10.0.0.1 serveripa serveripa.localdomain
```
Instead of checking the first index of ex_name, this code checks if
FQDN is on tuple or not. If not raises error, if it is continues the
installation.
Fixes: https://pagure.io/freeipa/issues/8018
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3434/head:pr3434
git checkout pr3434
4 years, 9 months