[Ovirt-devel] [PATCH] fix ntp for the managed node and add ntp to default dhcp for dev app
Chris Lalancette
clalance at redhat.com
Fri Apr 4 14:30:32 UTC 2008
Perry N. Myers wrote:
> ntpdate on the hosts only runs if there is something in
> /etc/ntp/step-tickers. The managed node doesn't have anything in there
> presently. If ntpdate doesn't run at startup, ntpd may refuse to
> synchronize with ntp servers if the time differential is too great. If
> clocks are not synchronized, kerberos fails which in turn makes libvirt
> comms fail.
>
> This patch adds dhclient exit hooks capability for setting step-tickers
> using the dhcp ntp-servers field. In addition ovirtbr0 has PEERNTP set
> which enables /etc/ntp.conf setting.
>
> For the developer setup, the dev wui host has dhcp set to send option
> ntp-servers so that nodes can get it as their ntp server (since nodes
> can't access the outside world)
This one is a no-brainer. I'm just surprised there isn't a more "standard" way
to do it with the ifcfg scripts, but doing it in an exit-hook is fine, since we
don't need an additional dhcp option.
ACK
Chris Lalancette
More information about the ovirt-devel
mailing list