Description of problem: The Red Hat Storage server requires the 'ntp' service for time synchronization. However the 'ntp' and 'ntpdate' packages do not get installed on a system installed through Red Hat Satellite server, with '--nobase' option in the kickstart file used. Those packages would have been installed as a dependency of 'vdsm', which further was a dependency of gluster-vdsm, the installation of which now fails when RHS system is installed through Red Hat Satellite server, due to issue reported in Bug 918896 Another point to be noted is that, even if the 'ntp' package is installed otherwise, as in the case of a system installed from a kickstart with '@Base' package section option, the 'ntpd' service would be by default turned off at boot-time, and the customer may not be aware about the need to configure it. The 'ntp' and 'ntpdate' packages must be made dependent packages for the Red Hat Storage server package(s), and it should be made mandatory that the 'ntpd' service be configured and turned on, as part of RHS configuration. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Install Red Hat Storage server through Red Hat Satellite server 2.If '--nobase' option used in package section of kickstart file, 'ntp' and 'ntpdate' packages not available. 3.If '@Base' option used in package section of kickstart file, the 'ntp' and 'ntpdate' packages are installed, but 'ntp' service is turned off by default. Actual results: The 'ntp' and 'ntpdate' packages are not dependent packages for the Red Hat Storage server package(s), and it is currently not made mandatory that the 'ntpd' service be configured and turned on, as part of RHS configuration. Expected results: The 'ntp' and 'ntpdate' packages must be made dependent packages for the Red Hat Storage server package(s), and it should be made mandatory that the 'ntpd' service be configured and turned on, as part of RHS configuration. Additional info:
Current tests on RHS 2.1 confirms that the 'ntp' and 'ntpdate' packages are now available on a Red Hat Storage (RHS) server installed through Red Hat Satellite server, through the implementation of the 'redhat-storage-server' rpm. --------------------------------------------------------- # cat /etc/redhat-storage-release Red Hat Storage Server 2.1 # rpm -qa | grep ntp ntpdate-4.2.4p8-3.el6.x86_64 ntp-4.2.4p8-3.el6.x86_64 --------------------------------------------------------- However, the 'redhat-storage-server' rpm does not ensure that the ntpd daemon is started up on boot. --------------------------------------------------------- # chkconfig --list ntpd ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off # rpm -q --scripts redhat-storage-server | grep ntp # --------------------------------------------------------- Currently though, it appears that vdsmd does start up the ntpd daemon on the system --------------------------------------------------------- # service ntpd status ntpd (pid 2228) is running... # grep ntp /etc/init.d/vdsmd NEEDED_SERVICES="iscsid multipathd ntpd wdmd sanlock" --------------------------------------------------------- But ntpd is a required service for Red hat Storage, and so it would be best to have it ensured by the 'redhat-storage-server' rpm that the ntpd daemon is set to start up at boot, and not depend on vdsm to have it started up.
To add further to comment 4 : On an RHS 2.1 install from ISO, the ks.cfg file in the install kernel's initrd ensures that ntpd is set to start up at boot, by the following entry. -------------------------------------------------------------------------- services --enabled=ntpd -------------------------------------------------------------------------- This setting has currently not been replicated through the redhat-storage-server rpm.
Tested and verified that, on install of RHS 2.1 server through RH Satellite server, the ntp and ntpdate packages are installed by default, and the ntpd daemon is configured to start on boot. ----------------------------------------------- # rpm -q redhat-storage-server redhat-storage-server-2.1.0-3.el6rhs.noarch # rpm -q --scripts redhat-storage-server | grep ntp chkconfig ntpd on # rpm -qa | grep ntp ntpdate-4.2.4p8-3.el6.x86_64 ntp-4.2.4p8-3.el6.x86_64 # chkconfig --list ntpd ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off # service ntpd status ntpd (pid 7905) is running... -----------------------------------------------
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. http://rhn.redhat.com/errata/RHBA-2013-1262.html