| Summary: | ntp holds up firstboot process due to network not being configured | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Joey Boggs <jboggs> | ||||
| Component: | ovirt-node | Assignee: | Mike Burns <mburns> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.1 | CC: | apevec, gouyang, mburns, moli, mshao, ovirt-maint, ycui | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ovirt-node-2.0.2-0.1.git5dce5f9.el6 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-12-06 19:06:25 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
Joey Boggs
2011-02-08 02:30:44 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. Moving to 6.2 to investigate proposal 2. 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
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. 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 |