Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to set domain name in quantum

Hello,

I'm trying to set the domain name for my different networks, but unfortunately without luck until now.

Problems:

  • When launching a new instance through Horizon, the instance FQDN is <hostname>.novalocal.
  • When looking at processes running on the Router instance, I see many dnsmasq instances (one per network), with "--domain=openstacklocal"

Tested solutions:

  • set "dhcp_domain=" in the dhcp_agent.ini: OK, the --domain isn't passed anymore
  • add a "dnsmasq_config_file=/etc/quantum/dnsmasq_config_file" in dhcp_agent.ini: OK, option is passed to dnsmasq services, BUT… it doesn't seem to be used.

Content for /etc/quantum/dnsmasq_config_file:

domain=infra.internal,10.27.70.0/24 
domain=hosting.internal,10.27.73.0/24
domain=business.internal,10.27.72.0/24
domain=gis.internal,10.27.71.0/24

Unfortunately, I keep getting the wrong, "novalocal" domain appended to the hostname.

Side notes: We're using cloud-init in order to set up some configuration, especially those modules are used:

set_hostname
update_hostname
update_etc_hosts

Any hint is welcome - for now, I'm stuck, and I don't fully understand WHERE comes the "novalocal" domain from… Which is kind of annoying, you may imagine, especially when we want to use some puppet stuff right after the instance start in order to configure it - FQDN is wrong, so nothing's work as expected :(.

Thank you in advance!

C.