Bug 675870 - ntp holds up firstboot process due to network not being configured
Summary: ntp holds up firstboot process due to network not being configured
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-08 02:30 UTC by Joey Boggs
Modified: 2011-12-06 19:06 UTC (History)
7 users (show)

Fixed In Version: ovirt-node-2.0.2-0.1.git5dce5f9.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 19:06:25 UTC
Target Upstream Version:


Attachments (Terms of Use)
Patch (3.42 KB, patch)
2011-08-15 18:44 UTC, Mike Burns
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1783 0 normal SHIPPED_LIVE rhev-hypervisor6 bug fix and enhancement update 2011-12-06 15:10:54 UTC

Description Joey Boggs 2011-02-08 02:30:44 UTC
ntp fails on boot since there's no available network, we should disable ntpdate if the network is down/disabled

Comment 2 Mike Burns 2011-03-10 20:13:34 UTC
There are a couple things that we could do to fix this

1.  Create a wrapper for /etc/init.d/ntpdate that detects whether the network is up or not, and if so, then call the original version to start the script.
2.  ntpdate appears to run only if the value of NETWORKING in /etc/sysconfig/network is set to yes.  Setting this to No and updating the value when networking is configured either in manual or autoinstall could work, but more research needs to be done to determine whether setting NETWORKING to no out of the box causes any other side effects.

Recommend moving to 6.2 since this is a minor issue.

Comment 3 Alan Pevec 2011-03-14 11:32:48 UTC
Moving to 6.2 to investigate proposal 2.

Comment 4 Mike Burns 2011-08-15 18:44:59 UTC
Created attachment 518311 [details]
Patch

Disable networking by default in the image
Explicitly enable it when configuring a NIC in TUI
Enable when configuring network in autoinstall
start or restart ntp services after configuration in TUI

Comment 6 Guohua Ouyang 2011-08-30 06:33:22 UTC
Verified on 6.2-0.14:
1. clean install via TUI and reboot.
2. no ntp boot fail on boot process, ntp does not start during boot.
3. login with admin and drop to shell, check ntpd is stopped.
4. exit and configure network.
5. drop to shell, check ntpd is running now.
6. reboot, can see ntp starting normal during boot process.

no other side effect found, set bug to be verified.

Comment 7 errata-xmlrpc 2011-12-06 19:06:25 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.

http://rhn.redhat.com/errata/RHBA-2011-1783.html


Note You need to log in before you can comment on or make changes to this bug.