Bug 1215197

Summary: ipa-client-install ignores --ntp-server option during time sync
Product: Red Hat Enterprise Linux 7 Reporter: Petr Vobornik <pvoborni>
Component: ipaAssignee: Pavel Picka <ppicka>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.1CC: mkosek, ppicka, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.2.0-0.1.alpha1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 12:03:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Verify log for bz none

Description Petr Vobornik 2015-04-24 14:34:26 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/4983

ipa-client-install try to sync time in following way:
* try to detect NTP server from SRV record
* in case of failure, use the IP address of IPA server as ntp server

the option --ntp-server is ignored, but a value of the option is used in ntp.conf.

Expected behavior:

server specified by --ntp-server  is used during time sync.

Comment 1 Petr Vobornik 2015-04-24 14:42:42 UTC
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/2c8c4b8c885fe34cc722cce91639230a7734c3f3

Comment 3 Pavel Picka 2015-09-29 08:23:13 UTC
Created attachment 1078217 [details]
Verify log for bz

Verified

ipa-client-4.2.0-12.el7.x86_64

more than one --ntp-server can be used

Comment 4 errata-xmlrpc 2015-11-19 12:03:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2362.html