#7794 ipa-server-install --uninstall fails with DirSrv has no attribute 'port'
Closed: worksforme 4 years ago Opened 4 years ago by frenaud.


ipa-server-install --uninstall is failing when removing ds instance and does not finish uninstallation.

Steps to Reproduce

  1. ipa-server-install ...
  2. ipa-server-install --uninstall -U

Actual behavior

ipa-server-install --uninstall fails with the following:

ipa-server-install --uninstall -U
Shutting down all IPA services
Unconfiguring CA
Unconfiguring named
Unconfiguring ipa-dnskeysyncd
Unconfiguring web server
Unconfiguring krb5kdc
Unconfiguring kadmin
Unconfiguring directory server
Allocate local instance <class 'lib389.DirSrv'> with None
Removed /etc/systemd/system/multi-user.target.wants/dirsrv@DOMAIN-COM.service.
Removed /etc/systemd/system/dirsrv.target.wants/dirsrv@DOMAIN-COM.service.
DirSrv has no attribute 'port'
The ipa-server-install command failed. See /var/log/ipaserver-uninstall.log for more information

Expected behavior

uninstall should proceed successfully and completely remove the instance.


master branch of freeipa (git 83487c4)
389-ds-base- (from updates-testing)

Additional info:

This is a regression introduced with 389-ds-base-, with the fix for DS issue 49814

Issue opened against 389-ds: 50071: We should get instance ports on local_simple_allocate call

Metadata Update from @frenaud:
- Custom field external_tracker adjusted to https://pagure.io/389-ds-base/issue/50071

4 years ago

As the update of 389-ds is blocked with negative karma, closing the issue.

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

4 years ago

Login to comment on this ticket.