Unit-get

José Antonio Rey jose at ubuntu.com
Mon Nov 10 01:11:26 UTC 2014


Bare in mind that there are substrates that do not provide an FQDN
(HPCloud as an example), so it may or may not work 100% fine.

On 11/09/2014 08:09 PM, Andrew Wilkins wrote:
> On Sun, Nov 9, 2014 at 7:16 AM, Sameer Zeidat <sameerz at yahoo.com
> <mailto:sameerz at yahoo.com>> wrote:
> 
>     Thanks. No, just curious. The documentation web page still shows an
>     ip address.
> 
>     Now, IMHO, it might have been better to add another call instead
>     (e.g. unit-get private-fqdn).
> 
> 
> There has been talk of adding a different hook tool command for
> enquiring about addresses ("address-get" was the name bandied about), to
> support additional networks. When that comes about, I think it may make
> sense to enable charms to enquire about all the addresses they have, and
> enable filtering on address types (IPv4, IPv6, FQDN).
> 
>     Regards,
>     Sameer
>     ------------------------------------------------------------------------
>     From: Andrew Wilkins <mailto:andrew.wilkins at canonical.com>
>     Sent: ‎7/‎11/‎2014 3:25 PM
>     To: Sameer Zeidat <mailto:sameerz at yahoo.com>
>     Cc: juju <mailto:juju at lists.ubuntu.com>
>     Subject: Re: Unit-get
> 
>     Hi Sameer,
> 
>     The behaviour changed a few months ago to address a bug:
>     https://bugs.launchpad.net/juju-core/+bug/1353442
> 
>     Is this causing you problems, or were you just surprised/curious?
> 
>     Cheers,
>     Andrew
> 
>     On Wed, Nov 5, 2014 at 8:09 PM, Sameer Zeidat <sameerz at yahoo.com
>     <mailto:sameerz at yahoo.com>> wrote:
> 
>         Hi,
> 
>         I bootstrapped juju stable today on maas stable. When deploying
>         a charm I wrote I noticed unit-get private-address is returning
>         the machine's fqdn.
> 
>         Previously it used to return the ip address (several months ago,
>         can't remember the exact juju/maas versions).
> 
>         Has juju changed behaviour? Or is this not expected, i.e. an
>         issue in my environment?
> 
>         Appreciating your time.
> 
>         Thanks,
>         Sameer
> 
>         --
>         Juju mailing list
>         Juju at lists.ubuntu.com <mailto:Juju at lists.ubuntu.com>
>         Modify settings or unsubscribe at:
>         https://lists.ubuntu.com/mailman/listinfo/juju
> 
> 
> 
> 
> 

-- 
José Antonio Rey



More information about the Juju mailing list