status: unit public address can report cloud-local address

Bug #1712852 reported by Roger Peppe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Wishlist
Unassigned

Bug Description

Soon after deploying a unit, the public-address field in the status was observed to be displaying a cloud-local address (172.31.3.96). The address eventually turned into the genuine public address for the unit, but by then it was too late - the script that was grabbing the address from the status had already started to use it (and it didn't work, obviously).

The public-address field should always show an address that's publicly readable.

This was with Juju 2.2.2.

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1712852] [NEW] status: unit public address can report cloud-local address

I'm guessing we report whatever the most "public" address appears to be at
the time we list the machine addresses. I would guess the cloud gave us the
private address before it had allocated a public one.
The problem with never giving private addresses is that some clouds the
"public" address is still one of the 10. addresses. (private deploys often
have an local LAN address but still RFC 1918)

This seems like something that needs knowledge of whether there will be a
public address but that seems like knowledge that would be outside Juju.

John
=:->

On Aug 24, 2017 7:31 PM, "Roger Peppe" <email address hidden> wrote:

> Public bug reported:
>
> Soon after deploying a unit, the public-address field in the status was
> observed to be displaying a cloud-local address (172.31.3.96). The
> address eventually turned into the genuine public address for the unit,
> but by then it was too late - the script that was grabbing the address
> from the status had already started to use it (and it didn't work,
> obviously).
>
> The public-address field should always show an address that's publicly
> readable.
>
> This was with Juju 2.2.2.
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1712852
>
> Title:
> status: unit public address can report cloud-local address
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1712852/+subscriptions
>

Changed in juju:
status: New → Triaged
importance: Undecided → Wishlist
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.