DNS driver used to derive instance hostname

Registered by Joshua Harlow

The DNS manager in nova network seems to be used to create entries (A records) and such for instances and there seems to be hookins to various different DNS services to receive the requests for create and delete. Right now though it seems like this is more of a passive affect, and mainly only for floating ips. For the case when there are fixed ips being handed out it seems like this class should also be notified of instance creation and deletion (and also be able to affect the instance hostname that is used for a given fixed ip, which is later injected into the config drive and used by cloud-init). Since the code for the DNS is pretty confusing (to a newbie like me who hasn't looked at it) it would be great if there could be some feedback on making the DNS managers work for non-floating instances (as well as be able to affect the injected hostname), this may not be the right place (or maybe adding to much functionality to do that?). So thoughts would be great!

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Yahoo Openstackers!
Direction:
Needs approval
Assignee:
None
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Russell Bryant

Related branches

Sprints

Whiteboard

Fixed IPs do get submitted to the DNS manager when you are using FlatDCHPManager - they do not get submitted for VlanManager, however. -- Sean Collins

Sounds like this could just be covered by a bug to add VlanManager support? --Vish

Sounds like a plan to me - I'll check with the Yahoo folks and see if they agree - I've got an internal patch that does something very similar - I could submit it as a PR. -- Sean M. Collins

This hasn't been touched in a long time so I'm just going to close it out. There is DNS work happening in Havana under this blueprint: https://blueprints.launchpad.net/nova/+spec/dynamic-dns
--russellb

(?)

Work Items

Work items:
[scollins] Have VlanManager call the DNS manager when fixed IPs are assigned, similar to FlatDHCPManager : TODO
[scollins] Discuss making OpenStack-Nova's naming of instances (that are sent to DNS) more flexible - allow pluggable policy for how a name is generated. Currently it's the Instance's display name, but some sites may wish to use a different formula (Instance UUID, Instance MAC, tenant name + other info, etc.. ) : TODO

This blueprint contains Public information 
Everyone can see this information.