← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1055503] Re: The behaviour of python gethostname differs from Linux to Windows

 

I feel like this is firmly into the won't fix category. All the fixes so
far have caused issues.

** Changed in: nova
       Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1055503

Title:
  The behaviour of python gethostname differs from Linux to Windows

Status in OpenStack Compute (nova):
  Won't Fix

Bug description:
  The standard behaviour of the 'gethostname' function in Python differs
  from Linux to Windows. A common Linux configuration will return the
  fully qualified name, while a Windows one will return only the host
  name.

  This problem leads to an inconsistent node naming in deployments that
  mix windows and linux nodes.

  To make things more homogeneus among windows and linux compute nodes,
  it is proposed to use 'getfqdn' as default function instead of
  'gethostname'. This function is more predictable in all cases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1055503/+subscriptions