Revision 104f4ca1 lib/bootstrap.py

b/lib/bootstrap.py
170 170
                               " entries: %s" % invalid_hvs,
171 171
                               errors.ECODE_INVAL)
172 172

  
173
  hostname = utils.HostInfo()
173
  hostname = utils.GetHostInfo()
174 174

  
175 175
  if hostname.ip.startswith("127."):
176 176
    raise errors.OpPrereqError("This host's IP resolves to the private"
......
184 184
                               " belong to this host. Aborting." %
185 185
                               hostname.ip, errors.ECODE_ENVIRON)
186 186

  
187
  clustername = utils.HostInfo(cluster_name)
187
  clustername = utils.GetHostInfo(cluster_name)
188 188

  
189 189
  if utils.TcpPing(clustername.ip, constants.DEFAULT_NODED_PORT,
190 190
                   timeout=5):

Also available in: Unified diff