git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openstack] changing novalocal hostname suffix issue


Hi Satish,

Did you restart the dhcp agent service? (service neutron-dhcp-agent restart)
It won't pick up on your changes without restart. I followed the steps here and got it working on Queens. 
https://docs.openstack.org/mitaka/networking-guide/config-dns-int.html

Kind regards
Terje Lundin

-----Original Message-----
From: Satish Patel <satish.txt at gmail.com> 
Sent: Saturday, August 11, 2018 7:32 PM
To: openstack <openstack at lists.openstack.org>
Subject: [Openstack] changing novalocal hostname suffix issue

I have deployed openstack-ansible (queens) and everything working great but now i want to change "novalocal" suffix when i build instance.

This is what i have tired and none of them work.

1. put dhcp_domain = example.com in /etc/nova/nova.conf 2. put dns_domain = example.com in neutron server 3. put dhcp_domain = example.com in dhcp_agent.ini

In short i have tried all possible option but still my instance picking foo.novalocal in /etc/hostname

I can use #cloud-config to make it change but i want to make it default alway use my own domain name.

what i am missing here.

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack