How to make juju aware of IP address changes?

Peter Waller peter at scraperwiki.com
Wed Dec 4 17:34:32 UTC 2013


This situation is now resolved with thanks to Roger, Gustavo and others in
real time. There is no way we could have resolved it ourselves since there
was corruption of the juju database caused by running out of disk space,
which was unfortunate. We as a team were not aware that it is necessary to
keep a backup of the juju database.

Unfortunately things did not go very smoothly even with the help of core
developers, upgrading our agents from 1.13 was difficult and we had a
cascade of failures from there, partly due to changes we had made outside
of juju.

Anyway, we over at scraperwiki seriously appreciate the help you guys gave,
so thanks again all.

Regards,

- Peter


On 30 November 2013 01:37, Peter Waller <peter at scraperwiki.com> wrote:

> It appears that over the last few hours the logs grew a bit but the
> /var/lib/{juju,mongodb} directories grew and are now occupying a lot of
> disk space (5.5GB), which is now causing problems. In particular
> /var/lib/mongodb/journal/* is taking 3.1GB in three prealloc.N files and
> /var/lib/juju/db is taking up a lot of spaces across ~8 juju.N files.
>
> Can I move these else where and/or delete them? What are the consequences
> of this? Has logging information which has found its way into the database?
>
>
> On 29 November 2013 17:38, Peter Waller <peter at scraperwiki.com> wrote:
>
>> I'm still experiencing rapid log growth so any advice on how to prevent
>> it would be appreciated. I guess as a quick short term solution over the
>> weekend I could stop the juju daemons but this doesn't seem ideal.
>>
>>
>> On 29 November 2013 16:13, Peter Waller <peter at scraperwiki.com> wrote:
>>
>>> For the record I sent a more complete but redacted log to Roger.
>>>
>>>
>>> On 29 November 2013 16:02, Peter Waller <peter at scraperwiki.com> wrote:
>>>
>>>> I've not supplied the full output because it contains private keys, but
>>>> here is the bit that I think is relevant. Please advise if you need more.
>>>>
>>>> 2013-11-29 16:01:20 DEBUG juju.environs.simplestreams
>>>> simplestreams.go:577 candidate matches for products
>>>> ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386"
>>>> "com.ubuntu.juju:12.04:arm" "com.ubuntu.juju:12.10:amd64"
>>>> "com.ubuntu.juju:12.10:i386" "com.ubuntu.juju:12.10:arm"
>>>> "com.ubuntu.juju:13.04:amd64" "com.ubuntu.juju:13.04:i386"
>>>> "com.ubuntu.juju:13.04:arm" "com.ubuntu.juju:13.10:amd64"
>>>> "com.ubuntu.juju:13.10:i386" "com.ubuntu.juju:13.10:arm"
>>>> "com.ubuntu.juju:14.04:amd64" "com.ubuntu.juju:14.04:i386"
>>>> "com.ubuntu.juju:14.04:arm"] are [{Thu, 07 Nov 2013 10:36:03 -0500
>>>> products:1.0 content-download  []
>>>> streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64
>>>> com.ubuntu.juju:12.04:armhf com.ubuntu.juju:12.04:i386
>>>> com.ubuntu.juju:12.10:amd64 com.ubuntu.juju:12.10:i386
>>>> com.ubuntu.juju:13.04:amd64 com.ubuntu.juju:13.04:i386
>>>> com.ubuntu.juju:13.10:amd64 com.ubuntu.juju:13.10:armhf
>>>> com.ubuntu.juju:13.10:i386 com.ubuntu.juju:14.04:amd64
>>>> com.ubuntu.juju:14.04:armhf com.ubuntu.juju:14.04:i386]}]
>>>> 2013-11-29 16:01:20 DEBUG juju.environs.simplestreams
>>>> simplestreams.go:889 finding products at path
>>>> "streams/v1/com.ubuntu.juju:released:tools.json"
>>>> 2013-11-29 16:01:21 ERROR juju.tools list.go:113 cannot match
>>>> tools.Filter{Released:false, Number:version.Number{Major:1, Minor:14,
>>>> Patch:1, Build:0}, Series:"", Arch:""}
>>>> 2013-11-29 16:01:21 ERROR juju supercommand.go:282 no matching tools
>>>> available
>>>>
>>>>
>>>>
>>>> On 29 November 2013 16:00, roger peppe <roger.peppe at canonical.com>wrote:
>>>>
>>>>> Oh, that's odd; 1.14.1 was definitely found by your tools earlier.
>>>>>
>>>>> What does:
>>>>>
>>>>> juju upgrade-juju --version 1.14.1 --debug
>>>>>
>>>>> print?
>>>>>
>>>>> On 29 November 2013 15:57, Peter Waller <peter at scraperwiki.com> wrote:
>>>>> > On 29 November 2013 15:51, roger peppe <rogpeppe at gmail.com> wrote:
>>>>> >>
>>>>> >> > What's the best way to proceed now to upgrade them?
>>>>> >>
>>>>> >> Let's try this:
>>>>> >>
>>>>> >> juju upgrade-juju --version 1.14.1
>>>>> >
>>>>> >
>>>>> > $ juju upgrade-juju --version 1.14.1
>>>>> > ERROR cannot match tools.Filter{Released:false,
>>>>> > Number:version.Number{Major:1, Minor:14, Patch:1, Build:0},
>>>>> Series:"",
>>>>> > Arch:""}
>>>>> > ERROR no matching tools available
>>>>> >
>>>>> > $ juju version
>>>>> > 1.16.3-precise-amd64
>>>>> >
>>>>> > Didn't seem to have any effect.
>>>>>
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20131204/68460e26/attachment.html>


More information about the Juju mailing list