Bug 1255102
Summary: | ipa-client-install does not synchronize time | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Xiyang Dong <xdong> | ||||
Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Namita Soman <nsoman> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.2 | CC: | pvoborni, rcritten, xdong | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-08-20 18:24:57 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Xiyang Dong
2015-08-19 15:41:02 UTC
Xiyang, this is not the same situation/output as we discussed. The attached log/output was run with --force-ntpd and we can see that there was an attempt to sync the time, but unfortunately it failed. However the discussed log was without --force-ntp and the sync was not even attempted. Therefore there might be two issues: 1. sync failed (could be configuration issue, e.g. there are SRV records for ntp server but it can't be reached or is not even there) 2. sync was not attempted when run without --force-ntpd Could you attached ipaclient-install log both runs(with and without --force-ntpd option) but with --debug option (ntpd will be also run with -d (debug) option). from: 2015-08-20T11:51:56Z DEBUG Starting external process 2015-08-20T11:51:56Z DEBUG args='/bin/systemctl' 'is-enabled' 'chronyd.service' 2015-08-20T11:51:56Z DEBUG Process finished, return code=1 2015-08-20T11:51:56Z DEBUG stdout=disabled 2015-08-20T11:51:56Z DEBUG stderr= 2015-08-20T11:51:56Z DEBUG Starting external process 2015-08-20T11:51:56Z DEBUG args='/bin/systemctl' 'is-active' 'chronyd.service' 2015-08-20T11:51:56Z DEBUG Process finished, return code=0 2015-08-20T11:51:56Z DEBUG stdout=active we can see tha chrony is disabled. This is reported to stdout in message: WARNING: ntpd time&date synchronization service will not be configured as conflicting service (chronyd) is enabled Use --force-ntpd option to disable it and force configuration of ntpd and that's why it skipped time synchronization. Could be fixed by(prior client install): systemctl stop chronyd.service The --force-ntpd option in second run fixed the situation. But synchronization attempt: `/usr/sbin/ntpd -qgc /tmp/tmpPGjhvZ -d` time-outs after 15s: transmit: at 1 10.16.76.41->10.16.76.32 mode 3 len 48 auth_agekeys: at 1 keys 1 expired 0 20 Aug 08:06:22 ntpd[30443]: ntpd exiting on signal 15 for both discovered servers. The reason might be that - servers are not reachable (unlikely, with one was communicated) - server's UDP port 123 is not opened - ntp server is not running on the servers (which would mean that DNS recors are incorrect). Therefore I think this is not a bug in ipa-client-install. Please close the BZ if you agree. Petr, You are right, ntpd is not running on server side, After it's on , client install went well. I am closing the bz as not a bug. Appreciate the efforts. |