#9741 Add message to end of server install that service restart is happening
Closed: fixed by rcritten. Opened by rcritten.

Request for enhancement

The server installation takes a while and we gives users around most steps an idea of how long that step might take. Except for at the end.
After the client installation is complete there is a very noticeable pause, nearly a full minute in my testing, where there just a blinky cursor.
I think we should add "Restarting services" there.
I'd also like to add additional duration counters in case something ever goes sideways.


Metadata Update from @rcritten:
- Issue assigned to rcritten

Going to look like this:

Configuring example.test as NIS domain.
Client configuration complete.
The ipa-client-install command was successful
Enabling and restarting the IPA service
==============================================================================
Setup complete

With the log containing

2025-01-30T22:47:24Z DEBUG Configuring client side components
2025-01-30T22:47:24Z DEBUG Starting external process
2025-01-30T22:47:24Z DEBUG args=['/usr/sbin/ipa-client-install', '--on-master', '--unattended', '--domain', 'example.test', '--server', 'ipa.example.test', '--realm', 'EXAMPLE.TEST', '--hostname', 'ipa.example.test', '--no-ntp']
2025-01-30T22:47:38Z DEBUG Process finished, return code=0
2025-01-30T22:47:38Z DEBUG Client install duration: 13.765
...
...
2025-01-30T22:47:39Z DEBUG args=['/bin/systemctl', 'enable', 'ipa.service']
2025-01-30T22:47:40Z DEBUG Process finished, return code=0
2025-01-30T22:47:40Z DEBUG stdout=
2025-01-30T22:47:40Z DEBUG stderr=Created symlink /etc/systemd/system/multi-user.target.wants/ipa.service  /usr/lib/systemd/system/ipa.service.
2025-01-30T22:47:40Z DEBUG Starting external process
2025-01-30T22:47:40Z DEBUG args=['/bin/systemctl', 'restart', 'ipa.service'] 
2025-01-30T22:48:21Z DEBUG Process finished, return code=0
2025-01-30T22:48:21Z DEBUG stdout=
2025-01-30T22:48:21Z DEBUG stderr=
2025-01-30T22:48:21Z DEBUG Starting external process
2025-01-30T22:48:21Z DEBUG args=['/bin/systemctl', 'is-active', 'ipa.service']
2025-01-30T22:48:21Z DEBUG Process finished, return code=0
2025-01-30T22:48:21Z DEBUG stdout=active
2025-01-30T22:48:21Z DEBUG stderr=
2025-01-30T22:48:21Z DEBUG Restart of ipa.service complete
2025-01-30T22:48:21Z DEBUG Service enablement duration: 41.823

master:

  • ac931764341a4832ec0245a7bb01ca53cd777cd0 Add a message where the ipa service restarted at end of install

ipa-4-12:

  • b083f7f741f6c27c2a1e80a72ec053282e32c23f Add a message where the ipa service restarted at end of install

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

Metadata