status: unit public address can report cloud-local address
Bug #1712852 reported by
Roger Peppe
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.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
To post a comment you must log in.
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: /bugs.launchpad .net/bugs/ 1712852 /bugs.launchpad .net/juju/ +bug/1712852/ +subscriptions
>
> 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:/
>
> Title:
> status: unit public address can report cloud-local address
>
> To manage notifications about this bug go to:
> https:/
>