URL:
https://github.com/freeipa/freeipa/pull/2659
Author: flo-renaud
Title: #2659: ipatests: fix test_full_backup_and_restore
Action: opened
PR body:
"""
The test is failing when calling (on the replica) `ipa-replica-manage re-initialize --from
<master>` because the tool needs to resolve master.
The test does not set `/etc/resolv.conf` on the replica, as a consequence it relies on
whatever DNS server is configured in your test environment prior to launching the test,
and makes the test unreliable.
In PR-CI env, `/etc/resolv.conf` points to the machine hosting the replica vm, which is
unable to resolve master.ipa.test.
The fix is modifying the replica's /etc/resolv.conf to use the master as DNS.
Fixes
https://pagure.io/freeipa/issue/7778
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2659/head:pr2659
git checkout pr2659