Bug 768491 - Add details of hostname -> IP resolution to /etc/hosts
Summary: Add details of hostname -> IP resolution to /etc/hosts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-node
Version: unspecified
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Mike Burns
QA Contact:
URL:
Whiteboard:
Depends On: 768488
Blocks: 768492
TreeView+ depends on / blocked
 
Reported: 2011-12-16 19:31 UTC by Mike Burns
Modified: 2016-04-26 22:19 UTC (History)
7 users (show)

Fixed In Version: 2.2.1
Doc Type: Bug Fix
Doc Text:
Clone Of: 768488
: 768492 (view as bug list)
Environment:
Last Closed: 2012-01-18 16:11:44 UTC
oVirt Team: ---


Attachments (Terms of Use)

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


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