juju-info relation doesn't have public-address

Bug #1636139 reported by Junien F
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
High
Unassigned

Bug Description

Hi,

It looks like the juju-info relation doesn't have the public-address in the relation data anymore. This is problematic for charms that rely on it, for example nrpe with export_nagios_checks to true.

Steps to reproduce :
juju deploy cs:ubuntu
juju deploy cs:nrpe
juju add-relation ubuntu nrpe
juju run --unit nrpe/0 "relation-get -r general-info:0 - ubuntu/0"

Expected result :
private-address: 192.168.x.x
public-address: 1.2.3.4

Actual result :
private-address 192.168.x.x

juju 2.0.0-trusty-amd64

At least Azure and AWS appear to be impacted. Note that "juju run --unit ubuntu/0 'unit-get public-address'" returns the expected public address.

Junien F (axino)
description: updated
Junien F (axino)
tags: added: canonical-is
JuanJo Ciarlante (jjo)
tags: added: canonical-bootstack
tags: added: regression
Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0.1
Revision history for this message
Junien F (axino) wrote :

Note that after running juju config nrpe nagios_address_type=public, nrpe successfully gets his public IP addresses (presumably from unit-get)

Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
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.