#6760 Improve console message for "ipa-server-install --uninstall" command
Closed: fixed 5 years ago Opened 7 years ago by sumenon.

Steps:
1. Uninstall IPA Server
2. Check the message displayed on the console.

Actual Result:
root@master ~]# ipa-server-install --uninstall

This is a NON REVERSIBLE operation and will delete all data and configuration!
It is highly recommended to take a backup of existing data and configuration using ipa-backup utility before proceeding.

Are you sure you want to continue with the uninstall procedure? [no]: yes

WARNING: Failed to connect to Directory Server to find information about
replication agreements. Uninstallation will continue despite the possible
existing replication agreements.

If this server is the last instance of CA,
KRA, or DNSSEC master, uninstallation may result in data loss.
Are you sure you want to continue with the uninstall procedure? [no]: yes
Shutting down all IPA services
Configuring certmonger to stop tracking system certificates for KRA
Configuring certmonger to stop tracking system certificates for CA
Unconfiguring CA
Unconfiguring directory server
Removing IPA client configuration
Removing Kerberos service principals from /etc/krb5.keytab
Failed to remove Kerberos service principals: Command '/usr/sbin/ipa-rmkeytab -k /etc/krb5.keytab -r TESTREAL.TEST' returned non-zero exit status 3
Disabling client Kerberos and LDAP configurations
Redundant SSSD configuration file /etc/sssd/sssd.conf was moved to /etc/sssd/sssd.conf.deleted
nscd daemon is not installed, skip configuration
nslcd daemon is not installed, skip configuration
Client uninstall complete.
The ipa-client-install command was successful <---

Expected Result:
Since we are uninstalling IPA server, the output 'ipa-client-install command was successful' is misleading, hence should be appended with


Client uninstall complete.
The ipa-client-install command was successful
The ipa-server-install --uninstall command was successful.


Metadata Update from @pvoborni:
- Issue set to the milestone: FreeIPA 4.7

7 years ago

This is an artifact of the installation refactoring. This is one of those "to fix this we need to fix that" sort of changes. I'll see what I can do without rewriting the whole thing.

Metadata Update from @rcritten:
- Issue assigned to rcritten
- Issue priority set to: normal

5 years ago

master:

  • b969061 Improve console logging for ipa-server-install
  • 8ea2274 Drop attr defaultServerList if removing the last server
  • 00ddb5d server install: drop some print statements, change log level
  • 036d51d Handle subyptes in ACIs

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

5 years ago

Login to comment on this ticket.

Metadata