DNS-HA requires os-*-hostname to be set, but no bindings supported

Bug #1742548 reported by Jason Hobbs
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard Charm
Fix Released
Undecided
Jason Hobbs

Bug Description

When deploying using DNS HA, openstack-dashboard fails with this error:

http://paste.ubuntu.com/26362264/

Here is our bundle:
http://paste.ubuntu.com/26362349/

With this overlay:
http://paste.ubuntu.com/26362416/

If I don't set any of the os-*-hostname config options, I get this error:

"DNS HA: At least one os-*-hostname(s) must be set to use DNS HA"

It looks like the openstack-dashboard doesn't support admin/public/internal bindings, and if so, I don't see how this could ever work.

This is with juju 2.3.1.

description: updated
Revision history for this message
Jason Hobbs (jason-hobbs) wrote :
summary: - ERROR no network config found for binding "admin"
+ DNS-HA requires os-*-hostname to be set, but no bindings supported
description: updated
tags: added: foundations-engine
removed: cpe-foundations
Revision history for this message
Ante Karamatić (ivoks) wrote :

My suggestion for this problem would be to add public binding and also os-public-network config option. I would also remove os-admin-* and os-internal-* since they have no use, but that might break some existing deployments?

Revision history for this message
David Ames (thedac) wrote :

I agree with Ante we should use a single hostname via os-public-hostname.

As a precaution, let's add deprecation messages to the config.yaml for os-admin-* and os-internal-* rather than removing them entirely.

Add to metadata.yaml:

extra-bindings:
  public:

Configuring DNSHA with os-public-hostname should then work.

Changed in charm-openstack-dashboard:
status: New → Confirmed
assignee: nobody → Jason Hobbs (jason-hobbs)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-openstack-dashboard (master)

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

Changed in charm-openstack-dashboard:
status: Confirmed → In Progress
David Ames (thedac)
tags: added: stable-backport
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-openstack-dashboard (master)

Reviewed: https://review.openstack.org/532915
Committed: https://git.openstack.org/cgit/openstack/charm-openstack-dashboard/commit/?id=27e1e3be19772dfd4aa0d8636c61694b6f9cef4d
Submitter: Zuul
Branch: master

commit 27e1e3be19772dfd4aa0d8636c61694b6f9cef4d
Author: Jason Hobbs <email address hidden>
Date: Thu Jan 11 17:15:36 2018 +0000

    Add public binding to support DNS-HA.

    This binding is required so that the DNS-HA code can find the
    address to use for the hostname specified by os-public-hostname.

    This also deprecates the os-internal-hostname and os-admin-hostname
    options, as there is no binding to use them with.

    Change-Id: I57609c5ab641e2ae6377c6fbad5c9e7b8cf6495c
    Closes-Bug: #1742548

Changed in charm-openstack-dashboard:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-openstack-dashboard:
milestone: none → 18.02
Ryan Beisner (1chb1n)
Changed in charm-openstack-dashboard:
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.