Re: How to make juju aware of IP address changes?

2013-11-28 Thread John Arbash Meinel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-11-28 21:28, Mark Shuttleworth wrote: > On 28/11/13 17:25, Peter Waller wrote: >> Is it safe to run that whilst my agents appear to be spinning as >> I described in my previous e-mail? > > A very good question. > > If updates are required to

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Peter Waller
I'm still having the problem of it spinning, every few seconds all of the machines are still spewing into the logs, despite my attempt at asking it to "upgrade" to a different version. Interestingly, there is this tidbit at the end of the versions from the log (these messages are from the bootstra

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Mark Shuttleworth
On 28/11/13 17:25, Peter Waller wrote: > Is it safe to run that whilst my agents appear to be spinning as I > described in my previous e-mail? A very good question. If updates are required to be applied in a sequence, surely Juju would know that better than any given user of Juju, and either inst

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Peter Waller
> > On 28 November 2013 17:15, John Arbash Meinel wrote: > > 0.13.2. > > 0.13? or 1.13.2 ? > > - From 1.13.2 you need to: > > juju upgrade-juju --version 1.14.1 > and then > juju upgrade-juju --version 1.16.0 > > There were some changes from 1.13 that need to be applied by the 1.14 > upgrade, an

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Mark Shuttleworth
On 28/11/13 17:08, Kapil Thangavelu wrote: > There is.. $ ip monitor will do it.. its using netlink to watch for > changes. In that case, event-driven with a sweeper process for platforms where the monitor is unavailable or unreliable would be tighter. -- Juju mailing list Juju@lists.ubuntu.com

Re: How to make juju aware of IP address changes?

2013-11-28 Thread John Arbash Meinel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should be able to force a version with "juju upgrade-juju - --version=$XYZ", but the client should have detected what versions were available before setting the target version. It is possible you are running into the problem of jumping too many ve

Re: How to make juju aware of IP address changes?

2013-11-28 Thread John Arbash Meinel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-11-28 21:03, Peter Waller wrote: > On 28 November 2013 16:54, Kapil Thangavelu > > wrote: > > $ juju upgrade-juju is used for updating the agents within the > environment. What version of juju is on th

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Peter Waller
I've done `juju upgrade-juju` and it seems to not be working correctly. For all of my machines I'm seeing something like this in my logs every few seconds. What now? machine-44:2013-11-28 17:09:59 INFO juju runner.go:253 worker: start "machiner" machine-44:2013-11-28 17:09:59 INFO juju runner.go:2

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Kapil Thangavelu
There is.. $ ip monitor will do it.. its using netlink to watch for changes. -k On Thu, Nov 28, 2013 at 10:13 AM, Mark Shuttleworth wrote: > On 28/11/13 14:58, Peter Waller wrote: > > I know in the 1.16 series we have an "addressupdater" worker that > > polls loop that polls every 15 minutes.

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Peter Waller
On 28 November 2013 16:54, Kapil Thangavelu wrote: > $ juju upgrade-juju is used for updating the agents within the > environment. What version of juju is on the agents in the environment? > 0.13.2. -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubun

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Kapil Thangavelu
$ juju upgrade-juju is used for updating the agents within the environment. What version of juju is on the agents in the environment? On Thu, Nov 28, 2013 at 11:52 AM, Peter Waller wrote: > Okay, our juju agents are ancient. How do I update them? Is this > documented somewhere? I can't find it v

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Peter Waller
Okay, our juju agents are ancient. How do I update them? Is this documented somewhere? I can't find it very easily. Thanks, - Peter On 28 November 2013 16:47, John Arbash Meinel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2013-11-28 18:58, Peter Waller wrote: > > Our client

Re: How to make juju aware of IP address changes?

2013-11-28 Thread John Arbash Meinel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-11-28 18:58, Peter Waller wrote: > Our clients are 1.16. How do I check the version of the thing which > does the "addressupdater"ing and how do I update it? > > If it's the bootstrap node, how do I find the juju binary? It > doesn't seem to b

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Mark Shuttleworth
On 28/11/13 14:58, Peter Waller wrote: > I know in the 1.16 series we have an "addressupdater" worker that > polls loop that polls every 15 minutes. I'm not sure what version > you're using. Hmm... is there not an inotify or similar equivalent for network interfaces? Mark signature.asc Descrip

Re: How to make juju aware of IP address changes?

2013-11-28 Thread Peter Waller
Our clients are 1.16. How do I check the version of the thing which does the "addressupdater"ing and how do I update it? If it's the bootstrap node, how do I find the juju binary? It doesn't seem to be in the $PATH. On 28 November 2013 14:48, John Arbash Meinel wrote: > -BEGIN PGP SIGNED ME

Re: How to make juju aware of IP address changes?

2013-11-28 Thread John Arbash Meinel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-11-28 17:54, Peter Waller wrote: > Hi All, > > We needed to attach an elastic IP to some of our machines, and it > seems juju hasn't recognized that they have new addresses. > > How can I force juju to notice? > > Thanks, > > - Peter I kn

How to make juju aware of IP address changes?

2013-11-28 Thread Peter Waller
Hi All, We needed to attach an elastic IP to some of our machines, and it seems juju hasn't recognized that they have new addresses. How can I force juju to notice? Thanks, - Peter -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/l