#7747 [RFE] Support interactive prompt for NTP options for FreeIPA
Closed: fixed 5 years ago by tdudlak. Opened 5 years ago by tdudlak.

Request for enhancement

As user not familiar with command line options, I want to be able to configure time source not only from arguments but also by an interactive prompt so that configuration of time servers/pool is not "hidden" from users.

Issue

FreeIPA installation is unable to set time servers/pool when run without NTP related options.

As the FreeIPA server is no longer a NTP service providing instance its clients and replicas configuration of time service can not be configured easily as it was before. Before change to chrony every new instance could be configured using master FQDN or autodiscovery for DNS record. This record is not created by default, and using FQDN would make no difference because every FreeIPA instance is only chrony client now.

Steps to Reproduce

  1. ipa-server-install

Actual behavior

Please wait until the prompt is returned.

Synchronizing time
No SRV records of NTP servers found and no NTP server or pool address was provided.
Using default chrony configuration.
Attempting to sync time with chronyc.
Process chronyc waitsync failed to sync time!
Unable to sync time with chrony server, assuming the time is in sync. Please check that 123 UDP port is opened, and any time server is on network.
Warning: IPA was unable to sync time with chrony!
Time synchronization is required for IPA to work correctly
Configuring directory server (dirsrv). Estimated time: 30 seconds

Expected behavior

I would expect that there is way to configure it interactively.

Version/Release/Distribution

$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server
freeipa-server-4.7.0-3.fc28.x86_64
freeipa-client-4.7.0-3.fc28.x86_64
package ipa-server is not installed
package ipa-client is not installed
389-ds-base-1.4.0.16-1.fc28.x86_64
pki-ca-10.6.6-1.fc28.noarch
krb5-server-1.16.1-21.fc28.x86_64


Metadata Update from @tdudlak:
- Issue assigned to tdudlak

5 years ago

Metadata Update from @tdudlak:
- Issue set to the milestone: FreeIPA 4.7.2
- Issue tagged with: rfe

5 years ago

Metadata Update from @tdudlak:
- Assignee reset
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2464
- Issue untagged with: rfe
- Issue set to the milestone: None (was: FreeIPA 4.7.2)

5 years ago

Metadata Update from @tdudlak:
- Issue assigned to tdudlak
- Issue set to the milestone: FreeIPA 4.7 backlog
- Issue tagged with: rfe

5 years ago

Metadata Update from @tdudlak:
- Issue set to the milestone: FreeIPA 4.7.2 (was: FreeIPA 4.7 backlog)

5 years ago

master:

  • 536e7da Support interactive prompt for ntp options

Metadata Update from @frenaud:
- Issue set to the milestone: FreeIPA 4.7.3 (was: FreeIPA 4.7.2)

5 years ago

Changed milestone to 4.7.3 as 4.7.2 is already out.

Metadata Update from @tdudlak:
- Issue set to the milestone: FreeIPA 4.7.2 (was: FreeIPA 4.7.3)

5 years ago

Metadata Update from @tdudlak:
- Issue set to the milestone: FreeIPA 4.7.3 (was: FreeIPA 4.7.2)

5 years ago

ipa-4-7:

  • 3567367 Support interactive prompt for ntp options

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