Bug 768491

Summary: Add details of hostname -> IP resolution to /etc/hosts
Product: [Retired] oVirt Reporter: Mike Burns <mburns>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: acathrow, bsarathy, jboggs, mburns, ovirt-bugs, ovirt-maint, sputhenp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: 2.2.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 768488
: 768492 (view as bug list) Environment:
Last Closed: 2012-01-18 16:11:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 768488    
Bug Blocks: 768492    

Description Mike Burns 2011-12-16 19:31:47 UTC
+++ This bug was initially created as a clone of Bug #768488 +++

Description of problem:

most of the commands executed by RHEV-M on rhev-h is done by vdsmd using privileges of "vdsm" user and sudo will be used if root privileges are required. Sudo does hostname to IP resolution before executing the command. If the hostname is not resolvable and one of the DNS servers in /etc/resolv.conf is down (not pingable), then sudo will take 30 seconds to finish 6 tries with 5 second timeout. Since an action scheduled from rhev-m (like active a vds) requires a lot of commands run via sudo and since each command takes 30 seconds, the action may timeout.

To prevent this, it may be beneficial to add hostname -> Ip mapping in /etc/hosts.

Comment 1 Mike Burns 2012-01-11 20:41:22 UTC
http://gerrit.ovirt.org/#change,997