Designate charm does not work with multiple interfaces/network space bindings

Bug #1734156 reported by David Coronel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Designate Charm
Fix Released
Critical
Alex Kavanagh

Bug Description

In a HA-Setup, Designate charm deployed under mitaka and xenial using cs:~openstack-charmers-next/designate-55

Initial deployment works, but after deployment unable to create a domain or do any CLI-Calls:

designate domain-create --name test.url. --email <email address hidden>
ERROR: Unable to establish connection to http://<ip redacted>:9001/domains

It looks like this charm does not support multiple interfaces. It's possible to configure charm to use multiple spaces but the application itself gets bound to the first IP and causes API-Calls on the external address to be blocked.

The same thing happens with the murano charm: https://bugs.launchpad.net/charm-murano/+bug/1733880

One workaround is to download the charm and edit
~/charms/xenial/murano/templates/mitaka/designate.conf:

# Address to bind the API server
api_host = 0.0.0.0

Maybe the fix should be for the charm to detect all available spaces and add those IP addresses to bind to all necessary interfaces?

James Page (james-page)
Changed in charm-designate:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Alex Kavanagh (ajkavanagh)
milestone: none → 17.11
status: Confirmed → Triaged
summary: - Designate charm does not work well with multiple interfaces
+ Designate charm does not work with multiple interfaces/network space
+ bindings
Changed in charm-designate:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-designate (master)

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

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

Reviewed: https://review.openstack.org/523853
Committed: https://git.openstack.org/cgit/openstack/charm-designate/commit/?id=ad6f784696d58a028821c52a017058193998d826
Submitter: Zuul
Branch: master

commit ad6f784696d58a028821c52a017058193998d826
Author: Alex Kavanagh <email address hidden>
Date: Wed Nov 29 11:58:36 2017 +0000

    Enable designate to list on all interfaces

    This is a fix to enable designate to listen on all interfaces when the
    charm designate is installed on a unit with multiple interfaces.

    Change-Id: I96f23532d18550d0e27153d60f1003016958985b
    Closes-Bug: #1734156

Changed in charm-designate:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-designate:
status: Fix Committed → Fix Released
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.