Re: unit-get and ipv6 addresses

2015-03-04 Thread Dimiter Naydenov
pastebin next time? Thanks, Jake juju-boun...@lists.ubuntu.com wrote on 03/04/2015 04:03:09 AM: From: Thierry fa...@linux.vnet.ibm.com thie...@linux.vnet.ibm.com To: juju@lists.ubuntu.com Date: 03/04/2015 04:03 AM Subject: Re: unit-get and ipv6 addresses Sent by: juju-boun

Re: unit-get and ipv6 addresses

2015-03-04 Thread Jake Kugel
Thanks again, opened following bug: https://bugs.launchpad.net/juju-core/+bug/1428345 Jake From: Dimiter Naydenov dimiter.nayde...@canonical.com To: juju@lists.ubuntu.com Date: 03/04/2015 10:39 AM Subject:Re: unit-get and ipv6 addresses Sent by:juju-boun

Re: unit-get and ipv6 addresses

2015-03-04 Thread Thierry fa...@linux.vnet.ibm.com
wrote: Hi Dimiter, thanks, here are the files: Jake juju-boun...@lists.ubuntu.com wrote on 02/27/2015 02:58:01 PM: From: Dimiter Naydenov dimiter.nayde...@canonical.com To: juju@lists.ubuntu.com Date: 02/27/2015 02:58 PM Subject: Re: unit-get and ipv6 addresses Sent by: juju-boun

Re: unit-get and ipv6 addresses

2015-02-27 Thread Dimiter Naydenov
with an ipv6 address? I see that unit-get private-address is returning the ipv6 address for the mysql host, is that normal behavior? On the mysql host machine log, I see this: 2015-02-27 14:56:59 INFO juju.worker.machiner machiner.go:94 setting addresses for machine-2 to [local-machine:127.0.0.1

Re: unit-get public-address

2014-12-03 Thread Marco Ceppi
Schwartz m...@gluu.org wrote: Juju gurus, $(unit-get public-address) from within a hook is failing for us right now on AWS. It returns the private address instead. I heard a fix will be available in juju v1.21. Is there any way workaround, as we really want to ship the Gluu Server charm ASAP

Re: unit-get public-address

2014-12-03 Thread Andrew Wilkins
description: use an external DNS. Alternatively, you could (temporarily) do something EC2-specific in your charm: $(ec2metadata --public-ipv4) Cheers, Andrew On Thu, Nov 27, 2014 at 1:02 AM, Mike Schwartz m...@gluu.org wrote: Juju gurus, $(unit-get public-address) from within a hook

unit-get public-address

2014-11-26 Thread Mike Schwartz
Juju gurus, $(unit-get public-address) from within a hook is failing for us right now on AWS. It returns the private address instead. I heard a fix will be available in juju v1.21. Is there any way workaround, as we really want to ship the Gluu Server charm ASAP. thx, Mike

Re: unit-get public-address

2014-11-26 Thread Andrew Wilkins
On Thu, Nov 27, 2014 at 1:02 AM, Mike Schwartz m...@gluu.org wrote: Juju gurus, $(unit-get public-address) from within a hook is failing for us right now on AWS. It returns the private address instead. I heard a fix will be available in juju v1.21. Is there any way workaround, as we really want

Re: Unit-get

2014-11-09 Thread Andrew Wilkins
On Sun, Nov 9, 2014 at 7:16 AM, Sameer Zeidat same...@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

Re: Unit-get

2014-11-09 Thread Michael Nelson
On Fri, Nov 7, 2014 at 3:19 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: 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? Hi Andrew. This did

Re: Unit-get

2014-11-09 Thread Ian Booth
On 10/11/14 11:32, Michael Nelson wrote: On Fri, Nov 7, 2014 at 3:19 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: 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

Re: Unit-get

2014-11-09 Thread José Antonio Rey
Correct me if I'm wrong, but I'm seeing this targeted for 1.22? On 11/09/2014 08:41 PM, Ian Booth wrote: On 10/11/14 11:32, Michael Nelson wrote: On Fri, Nov 7, 2014 at 3:19 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: Hi Sameer, The behaviour changed a few months ago to

Re: Unit-get

2014-11-09 Thread Ian Booth
On 10/11/14 11:43, José Antonio Rey wrote: Correct me if I'm wrong, but I'm seeing this targeted for 1.22? You are correct, but it's also been targeted to 1.21-beta1 milestone. Note that for the EC2 case, using the DNS name for the unit's public address has been reported as a bug, since

Re: Unit-get

2014-11-09 Thread Sameer Zeidat
  From: Andrew Wilkins andrew.wilk...@canonical.com To: Sameer Zeidat same...@yahoo.com Cc: juju juju@lists.ubuntu.com Sent: Monday, November 10, 2014 12:09 PM Subject: Re: Unit-get On Sun, Nov 9, 2014 at 7:16 AM, Sameer Zeidat same...@yahoo.com wrote: Thanks. No, just curious

Re: Unit-get

2014-11-06 Thread Andrew Wilkins
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

Unit-get

2014-11-05 Thread Sameer Zeidat
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

Re: Unit-get private-address

2014-05-27 Thread Jacek Nykis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/05/14 06:06, Sameer Zeidat wrote: Hello, I've created a couple of charms that I deploy to both MAAS and hpcloud environments. I added a second network interface, eth1, to some of my MAAS nodes and now unit-get private-address returns

Unit-get private-address

2014-05-26 Thread Sameer Zeidat
Hello, I've created a couple of charms that I deploy to both MAAS and hpcloud environments. I added a second network interface, eth1, to some of my MAAS nodes and now unit-get private-address returns the ip of eth1 instead of eth0 on these nodes. How do I work around this without changing my