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

Lawrence J. Albinson lawrence at ljalbinson.com
Tue Jun 27 15:36:40 UTC 2017

Hi Graham,

Many thanks for the pointer. I hadn't added dns to the plugin list.

I did, however, set the following:

neutron_designate_enabled:      True

I'm wondering if the two together will fix things. I shall know by the morning.

Again, many thanks.

Kind regards, Lawrence
From: Graham Hayes
Sent: 27 June 2017 16:14
To: openstack-dev at lists.openstack.org
Subject: Re: [openstack-dev] [openstack-ansible][neutron][designate] Failure trying to set dns_domain from command line

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

0 -

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


- 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

More information about the OpenStack-dev mailing list