haproxy puts unresolvable public address in relation info

Bug #1712127 reported by Casey Marshall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-haproxy
Triaged
High
Unassigned

Bug Description

I'm relating my applications to haproxy:website. haproxy seems to be giving an address that is unresolvable by consumers.

This might be exacerbated by the fact that the unit provisioned by Juju (2.x, openstack provider) doesn't seem to resolve its own name:

(mojo-stg-omnibus)stg-omnibus@wendigo:~$ juju ssh omnibus-internal/0
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-92-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

2 packages can be updated.
0 updates are security updates.

Last login: Mon Aug 21 17:19:26 2017 from 91.189.90.53
ubuntu@juju-5d3328-stg-omnibus-12:~$ hostname
juju-5d3328-stg-omnibus-12
ubuntu@juju-5d3328-stg-omnibus-12:~$ ping juju-5d3328-stg-omnibus-12
ping: unknown host juju-5d3328-stg-omnibus-12

The haproxy charm should provide a resolve-able address in the relation, such as hookenv.unit_public_ip(). Instead, it was providing "juju-5d3328-stg-omnibus-12".

Casey Marshall (cmars)
description: updated
Junien F (axino)
Changed in charm-haproxy:
importance: Undecided → High
status: New → Triaged
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.