The behaviour of python gethostname differs from Linux to Windows
Bug #1055503 reported by
Luis Fernández Álvarez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Low
|
Unassigned |
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.
Changed in nova: | |
assignee: | nobody → Luis Fernandez (luis-fernandez-alvarez) |
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-1 → grizzly-rc1 |
Changed in nova: | |
milestone: | havana-1 → havana-2 |
Changed in nova: | |
milestone: | havana-2 → havana-1 |
Changed in nova: | |
milestone: | havana-1 → havana-2 |
Changed in nova: | |
milestone: | havana-2 → havana-3 |
Changed in nova: | |
milestone: | havana-3 → havana-rc1 |
tags: | added: ops |
Changed in nova: | |
assignee: | Michael Still (mikalstill) → nobody |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/13636
Review: https:/