Unit-get

Andrew Wilkins andrew.wilkins at canonical.com
Mon Nov 10 01:09:41 UTC 2014


On Sun, Nov 9, 2014 at 7:16 AM, Sameer Zeidat <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 <andrew.wilkins at canonical.com>
> Sent: ‎7/‎11/‎2014 3:25 PM
> To: Sameer Zeidat <sameerz at yahoo.com>
> Cc: juju <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> 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
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20141110/908faa78/attachment.html>


More information about the Juju mailing list