Nova does not pick up on dhcp_domain from Quantum
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I'm using Grizzly with the RedHat RDO packages.
I am using Quantum networking with the following in /etc/quantum/
dhcp_domain=
This works properly and sets the correct domain for new Nova instances which obtain their hostname and domain via dhcp. However, if you ask the Metadata service for the hostname it returns with 'novalocal'.
curl http://
{"uuid": "12345long_string", "availability_
I looked into why that might be happening, and it seems that in Nova's network/manager.py it has the following stanza:
cfg.
So, essentially if you only place your custom dhcp_domain setting in Quantum's dhcp_agent.ini file it won't be picked up by Nova. If you ALSO place dhcp_domain=
This was non-obvious to me and created issues with cloud-init and orchestration. I'm not sure of the best way to address this but at the very least it's a documentation bug. Ideally Nova should be smart enough to know I am using Quantum networking and pick up the setting from there.
tags: | added: network |
This issue could be related: https:/ /bugs.launchpad .net/nova/ +bug/1175211