Comment 1 for bug 1223000

Revision history for this message
Francois Eleouet (fanchon) wrote :

As noted during ml2 portbinding review, it comes from different defaults in CONF.host in nova and neutron:

neutron uses socket.getfqdn() [1], and nova uses socket.gethostname() [2] which doesn't always returns FQDN [3].

[1] https://github.com/openstack/neutron/blob/master/neutron/common/utils.py#L161
[2] https://github.com/openstack/nova/blob/master/nova/netconf.py#L53
[3] http://docs.python.org/2/library/socket.html