#7684 Re-installing replica on the same system displays 'WARNING: cannot check if port 443 is already configured'
Closed: fixed Opened by frenaud.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1624755

Description of problem: Re-installing replica on the same system displays
'WARNING: cannot check if port 443 is already configured'
Version-Release number of selected component (if applicable):
ipa-server-4.6.4-7.el7.x86_64
sssd-1.16.2-12.el7.x86_64
httpd-2.4.6-88.el7.x86_64
pki-server-10.5.9-6.el7.noarch
389-ds-base-1.3.8.4-13.el7.x86_64
selinux-policy-3.13.1-222.el7.noarch
How reproducible: Always
Steps to Reproduce:
1. Install IPA server with integrated DNS
2. Setup replica using the below command and ensure replica is setup without
any errors
#ipa-replica-install --principal admin --admin-password ***
3. Now try removing the replication and uninstall IPA replica
#ipa server-del <replica-hostname>
#ipa-server-install --uninstall -U
5. Now try installing replica again on the same system.
#ipa-replica-install --principal admin --admin-password ***
Actual results:
5. Although the replica is re-installed, it displays the below message on the
console.
[root@replica ~]# ipa-replica-install --principal admin --admin-password ***
WARNING: cannot check if port 443 is already configured
httpd returned error when checking: Command '/usr/sbin/httpd -t -D DUMP_VHOSTS'
returned non-zero exit status 1
WARNING: conflicting time&date synchronization service 'chronyd' will
be disabled in favor of ntpd
Expected results: Remove the warning message displayed for clean install.
Additional info: Logs attached for reference.

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1624755

Metadata Update from @frenaud:
- Issue assigned to frenaud

Setting milestone to ipa 4.6.5 as the issue happens on ipa 4.6.4

Metadata Update from @frenaud:
- Issue set to the milestone: FreeIPA 4.6.5

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2332

master:

  • 6ad11d86d881880a4e7ada7932c2e0401dc2cda7 ipa-replica-install: properly use the file store
  • b2ce20c6a7c8c046911d13b9ba5b73f9d5046a27 Test: scenario replica install/uninstall should restore ssl.conf

Failed to apply patches onto origin/ipa-4-6. Manual backport is needed.

ipa-4-7:

  • e09a3e8ab456f258eef25fe936656b49f15a79e9 ipa-replica-install: properly use the file store
  • cca3531e6ae425121611a862855adfab532989cd Test: scenario replica install/uninstall should restore ssl.conf

ipa-4-6:

  • 61661babc22ddcdef40b7ac47f69780189dd8e2b ipa-replica-install: properly use the file store
  • 1f1b63f71337f724c415c93fdbc84d446807fbd1 Test: scenario replica install/uninstall should restore nss.conf

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata