[Openstack] Mystery of VM's Hostname

Lars Kellogg-Stedman lars at redhat.com
Fri Dec 19 14:23:45 UTC 2014


On Fri, Dec 19, 2014 at 12:29:58PM +0530, Girija Sharan wrote:
> Can you pin point where are we setting this value?

That is the default for the dhcp_domain option.

See:
https://github.com/openstack/nova/blob/master/nova/network/manager.py#L130

> ----> Here when my VM gets IP, it is getting some hostname (host-21-0-0-5
> or dummya.novalocal, depending on cloud-init and metadata) but when it
> didn't get IP, it is getting hostname as 'localhost'.
> Can you share your thoughts on this behavior ?

That seems like the behavior I was describing in my previous email.

-- 
Lars Kellogg-Stedman <lars at redhat.com> | larsks @ {freenode,twitter,github}
Cloud Engineering / OpenStack          | http://blog.oddbit.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141219/d0499e00/attachment.sig>


More information about the Openstack mailing list