Comment 2 for bug 1055503

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/13636
Committed: http://github.com/openstack/nova/commit/5dd1553cca7f7e62eebce75e1d936fc211b239ec
Submitter: Jenkins
Branch: master

commit 5dd1553cca7f7e62eebce75e1d936fc211b239ec
Author: Luis Fernandez Alvarez <email address hidden>
Date: Tue Sep 25 17:33:59 2012 +0200

    Replaced default hostname function from gethostname to getfqdn

    Fixes bug 1055503

    The standard behaviour of the 'gethostname' function in Python differs from
    Linux to Windows. A common Linux configuration returns the FQDN, while a
    Windows one returns only the host name.

    To resolve inconsistent node naming in deployments that mix windows and
    Linux, it is proposed to use 'getfqdn' as default function instead of
    'gethostname'. This is function is more predictable in all cases.

    Change-Id: I3164d9a36df2b8484bbf9a57879c31fa0e342503