[openstack-dev] [openstack-ansible][neutron][designate] Failure trying to set dns_domain from command line

Graham Hayes ghayes at suse.de
Tue Jun 27 15:14:29 UTC 2017


On 27/06/17 15:01, Lawrence J. Albinson wrote:
> Hello Colleagues,
> 
> I am trying to enable dynamic updating of DNSaaS when a port or VM is
> created/deleted.
> 
> I have DNSaaS working with Bind9 as the back-end and I am able to
> manually create/update/delete entries with the openstack client and/or
> the designate client and see Bind9 reflect those changes.
> 
> However, I am unable to set a dns_domain name for a network from the
> openstack CLI and/or the neutron CLI.
> 
> I have tried the following:
> 
>     neutron net-update --dns-domain example.com
> 64b50baa-acd8-4269-8a3a-767b70c7d18d
>     neutron net-update --dns-domain example.com public
>     neutron net-update --dns-domain example.com.
> 64b50baa-acd8-4269-8a3a-767b70c7d18d
>     neutron net-update --dns-domain example.com. public
> 
> The response is always the same, namely:
> 
>     Unrecognized attribute(s) 'dns_domain'
>     Neutron server returns request_ids:
> ['req-be15e08a-b3b0-458c-a045-ffac7ce3ebbd']
> 
> Before I go searching through the Neutron source, does anyone know if
> this is a 'hole' in the Neutron API and, if so, has it been fixed after
> the commit point being used by openstack-ansible tag 15.1.3.
> 
> Kind regards, Lawrence

Hi Lawrence,

Did you enable the DNS plugin in neutron?

Adding "dns" to the list here [0] should enable the --dns-domain
attribute.

0 -
https://github.com/openstack/openstack-ansible-os_neutron/blob/15.1.3/defaults/main.yml#L133

However, it does not look like OpenStack Ansible code supports Neutron
calling Designate to update DNS Recordsets yet.

It looks like a missing feature - I am not sure how OSA deals with
feature requests, but if you are on IRC they use #openstack-ansible

Thanks

- Graham


> 
> Lawrence J Albinson
> 
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x23BA8E2E.asc
Type: application/pgp-keys
Size: 22955 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170627/79b1d4d7/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170627/79b1d4d7/attachment.sig>


More information about the OpenStack-dev mailing list