git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69deaa3
)
This reverts commit 858dc952b15d2876373c38911a2173aa0bf522a9.
author
S.Çağlar Onur
<caglar@cs.princeton.edu>
Fri, 10 Dec 2010 18:02:37 +0000
(13:02 -0500)
committer
S.Çağlar Onur
<caglar@cs.princeton.edu>
Fri, 10 Dec 2010 18:02:37 +0000
(13:02 -0500)
source/steps/ReadNodeConfiguration.py
patch
|
blob
|
history
diff --git
a/source/steps/ReadNodeConfiguration.py
b/source/steps/ReadNodeConfiguration.py
index
bd55e9b
..
ef1a944
100644
(file)
--- a/
source/steps/ReadNodeConfiguration.py
+++ b/
source/steps/ReadNodeConfiguration.py
@@
-14,7
+14,6
@@
import sys, os, traceback
import string
import socket
import re
-import time
import utils
from Exceptions import *
@@
-564,12
+563,7
@@
def __parse_configuration_file( vars, log, file_contents ):
try:
resolved_node_ip= socket.gethostbyname(hostname)
except socket.gaierror, e:
- # sleep 5 minutes and try again
- time.sleep(60*5)
- try:
- resolved_node_ip= socket.gethostbyname(hostname)
- except socket.gaierror, e:
- hostname_resolve_ok= 0
+ hostname_resolve_ok= 0
if INTERFACE_SETTINGS['method'] == "dhcp":