[RFE] allow to create record on default zone from tenants
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Triaged
|
Wishlist
|
Gregoire Mahe |
Bug Description
Neutron has, in DEFAULT section in neutron.conf file, a key dns_domain which is a domain fallback.
Basically, if we create port with neutron, the default dns assigment will be myport.
Currently, Designate Integration will create DNS record myport.
The problem is, defaultzone.com. can be created only inside one and only one tenant. So this feature works only for one tenant, because the others has not access to this zone.
One of the solution I propose, is to integrate tenantid variable into default zone. So basically, create <tenantid>
on each tenants, to allow users to have their DNS record myport.
To sumarize,
When the user do openstack port create --network public --dns-name myport port, a default record will be created at myport.
So, when a user creates an instance with nova, or port with neutron, we want to create automatically dns record myport.
-- USECASE --
We want to allow default DNS when a user creates instance without specifying dns domain / dns name. Like S3 with AWS, when you creates a bucket, you have a default dns. (I don't know if this is the same with EC2, but I think so.
description: | updated |
tags: | added: rfe |
Changed in neutron: | |
assignee: | nobody → Gregoire Mahe (gregoiremahe) |
status: | New → In Progress |
Changed in neutron: | |
status: | In Progress → Triaged |
Changed in neutron: | |
milestone: | none → ussuri-1 |
Changed in neutron: | |
milestone: | ussuri-1 → none |
Hi Gregoire,
Today, to create a record in Designate through the integration with Neutron, we don't use the dns_domain entry in neutron.conf. For the integration with Designate to create a record, the following conditions must be met:
1) The port's network has to have a non blank value in it dns_domain attribute
2) The port has to have a non blank value in it dns_name attribute
3) The zone that corresponds to the network's dns_domain value must exist already in designate under the tenant
What you are proposing is to create the records under <tenantid> .defaultzone. com., where defaultzone is the value of the dns_domain config option in neutron.conf. Am I understanding correctly?
If that is what you are proposing, who is going to create the zone is Designate?