no configuration for osa neutron to configure external dns yet

Bug #1687594 reported by Jirayut Nimsaeng
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Wishlist
Albert Mikaelyan

Bug Description

I'm trying to test OpenStack Designate playbook and found that Neutron need to be configured according to https://docs.openstack.org/ocata/networking-guide/config-dns-int.html#configuring-openstack-networking-for-integration-with-an-external-dns-service So this need to be done for fully working Designate.

Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

For now the workaround would be to use the neutron.conf config override to enable this. It'd be ideal to have this automatically wired though.

tags: added: low-hanging-fruit
Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
bhujay kumar (bhatta) wrote :

I tried to use this override as per the documented example. added designate section in neutron.conf but it is not working . neutron retruns an error neutron.db.dns_db DNSDomainNotFound: Domain itc.in. not found in the external DNS service. I suspect I am going wrong somewhere in the designate section under neutron.conf. the detail description is here https://ask.openstack.org/en/question/107367/dnsdomainnotfound-while-integrating-neutron-with-designate/

Any help is highly appreciated .

Revision history for this message
Filippo DiNoto (fdinoto) wrote :

It looks like the config override worked correctly in terms of modifying your neutron.conf. The ongoing difficulties don't seem to be related to the bug. I commented on your ask.openstack.org question.

Changed in openstack-ansible:
assignee: nobody → Filippo DiNoto (fdinoto)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/504759

Changed in openstack-ansible:
status: Confirmed → In Progress
Revision history for this message
Albert Mikaelyan (tahvok) wrote :

I've just tried this and it appears that os-neutron-install.yml would fail as designate variables would not exist in it's play.
You should add designate variables to group_vars/all.yml with this change.

See log:
TASK [os_neutron : Copy common neutron config] *********************************
Tuesday 26 September 2017 13:24:48 +0000 (0:00:00.651) 0:00:49.866 *****
fatal: [controller1_neutron_server_container-191d95b7]: FAILED! => {"failed": true, "msg": "'designate_service_url' is undefined"}
fatal: [controller2_neutron_server_container-a0b2414b]: FAILED! => {"failed": true, "msg": "'designate_service_url' is undefined"}

Changed in openstack-ansible:
assignee: Filippo DiNoto (fdinoto) → Albert Mikaelyan (tahvok)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/510650

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/510654

Revision history for this message
Albert Mikaelyan (tahvok) wrote :

I've opened a bug in Neutron:
https://bugs.launchpad.net/neutron/+bug/1725630

However, as it is still not fixed, should I supply the working configuration patch, or wait until neutron fixes the problem?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_neutron (master)

Reviewed: https://review.openstack.org/510654
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_neutron/commit/?id=54d75036f4e29025a9af17767fa6723f9a9a1f68
Submitter: Zuul
Branch: master

commit 54d75036f4e29025a9af17767fa6723f9a9a1f68
Author: Albert Mikaelyan <email address hidden>
Date: Mon Oct 9 21:35:37 2017 +0300

    Add [designate] section in neutron.conf

    If neutron_designate_enabled variable is true,
    this will enable the [designate] section and all needed configuration.

    Change-Id: I82469a1de6a7ebce8ca2f568c1bb8125bbc57965
    Closes-Bug: 1687594

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
Albert Mikaelyan (tahvok) wrote :

Reopening as https://review.openstack.org/#/c/510650/ should also be merged

Changed in openstack-ansible:
status: Fix Released → In Progress
Changed in openstack-ansible:
assignee: Albert Mikaelyan (tahvok) → Jesse Pretorius (jesse-pretorius)
Changed in openstack-ansible:
assignee: Jesse Pretorius (jesse-pretorius) → Albert Mikaelyan (tahvok)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/510650
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=b8dfac4f689823577cb43692dd0564f303928678
Submitter: Zuul
Branch: master

commit b8dfac4f689823577cb43692dd0564f303928678
Author: Albert Mikaelyan <email address hidden>
Date: Mon Oct 9 21:26:16 2017 +0300

    designate variables for neutron integration

    This adds designate and keystone variables needed for
    designate integration in neutron.

    Change-Id: I46316c658a3746f91313641e5a26de49a03b2164
    Closes-Bug: 1687594
    Depends-On: I82469a1de6a7ebce8ca2f568c1bb8125bbc57965

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_neutron (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/528700

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-ansible-os_neutron (stable/ocata)

Change abandoned by Albert Mikaelyan (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/528700

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/528705

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_neutron (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/528708

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-ansible-os_neutron (stable/ocata)

Change abandoned by Albert Mikaelyan (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/528708

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/528750

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_neutron (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/528752

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (stable/pike)

Reviewed: https://review.openstack.org/528750
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=bf18e008c43a8bf422fcb905854b1d267d6b0ed4
Submitter: Zuul
Branch: stable/pike

commit bf18e008c43a8bf422fcb905854b1d267d6b0ed4
Author: Albert Mikaelyan <email address hidden>
Date: Mon Oct 9 21:26:16 2017 +0300

    designate variables for neutron integration

    This adds designate and keystone variables needed for
    designate integration in neutron.

    Change-Id: I46316c658a3746f91313641e5a26de49a03b2164
    Partial-Bug: 1687594

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (stable/ocata)

Reviewed: https://review.openstack.org/528705
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=6c7826ea888f9f6375665f11f40619c50cb2c320
Submitter: Zuul
Branch: stable/ocata

commit 6c7826ea888f9f6375665f11f40619c50cb2c320
Author: Albert Mikaelyan <email address hidden>
Date: Mon Oct 9 21:26:16 2017 +0300

    designate variables for neutron integration

    This adds designate and keystone variables needed for
    designate integration in neutron.

    Change-Id: I46316c658a3746f91313641e5a26de49a03b2164
    Partial-Bug: 1687594

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_neutron (stable/ocata)

Reviewed: https://review.openstack.org/528700
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_neutron/commit/?id=5fe139052aa79e283f412c9d059cdc34721a181c
Submitter: Zuul
Branch: stable/ocata

commit 5fe139052aa79e283f412c9d059cdc34721a181c
Author: Albert Mikaelyan <email address hidden>
Date: Mon Oct 9 21:35:37 2017 +0300

    Add [designate] section in neutron.conf

    If neutron_designate_enabled variable is true,
    this will enable the [designate] section and all needed configuration.

    Change-Id: I82469a1de6a7ebce8ca2f568c1bb8125bbc57965
    Closes-Bug: 1687594
    Depends-On: I46316c658a3746f91313641e5a26de49a03b2164

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_neutron (stable/pike)

Reviewed: https://review.openstack.org/528752
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_neutron/commit/?id=2791c5ed9cef9055b552f96d4575d6baaee2f2c6
Submitter: Zuul
Branch: stable/pike

commit 2791c5ed9cef9055b552f96d4575d6baaee2f2c6
Author: Albert Mikaelyan <email address hidden>
Date: Mon Oct 9 21:35:37 2017 +0300

    Add [designate] section in neutron.conf

    If neutron_designate_enabled variable is true,
    this will enable the [designate] section and all needed configuration.

    Change-Id: I82469a1de6a7ebce8ca2f568c1bb8125bbc57965
    Closes-Bug: 1687594
    Depends-On: I46316c658a3746f91313641e5a26de49a03b2164

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_neutron 16.0.6

This issue was fixed in the openstack/openstack-ansible-os_neutron 16.0.6 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_neutron 15.1.14

This issue was fixed in the openstack/openstack-ansible-os_neutron 15.1.14 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible 17.0.0.0b3

This issue was fixed in the openstack/openstack-ansible 17.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_neutron 17.0.0.0b3

This issue was fixed in the openstack/openstack-ansible-os_neutron 17.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-ansible-os_neutron (master)

Change abandoned by Filippo DiNoto (<email address hidden>) on branch: master
Review: https://review.openstack.org/504759

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.