Quoting Andreas Hasenack ([email protected]):
> Hi,
> 
> I have an instance on openstack (canonistack) that got a floating ip, and
> that address is now showing as public-address. I guess that's ok.
> 
> Except it's not reachable via ssh anymore (nor juju ssh). For some reason
> (bug? deployment issue?) public addresses are not routeable from within
> that cloud itself. You have to use the private address.
> 
> So, how do I get the private address in the juju status output?
> 
> This is juju-core 1.16.3, btw (server and client).

Well in the past I've passed the private address along by using
relation-get private-address.  So you should be able to do

PRIVADDR=`relation-get private-address`
juju-log "private address is $PRIVADDR"

unless I misunderstand what you want.

-serge

-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to