Fwd: How to make juju aware of IP address changes?
roger peppe
roger.peppe at canonical.com
Fri Nov 29 17:51:18 UTC 2013
I think you may need to use an older client version to
perform the upgrade. It looks like it's caught up in simplestreams
stuff, and that's not relevant for earlier versions AFAIK.
Could you try using an earlier version of the client tools
please. Unfortunately I can't seem to find a download
location for any earlier stable release (any suggestions, anyone - where
have they all gone?!).
Here's what I did to build an earlier release. You will need a Go development
environment installed (apt-get install golang).
download juju-core_1.10.0-1.tar.gz (link is on this page - using
the link directly with curl didn't work for me
https://launchpad.net/juju-core/+milestone/1.10.0)
$ cd /tmp
$ tar xzf ~/Downloads/juju-core_1.10.0-1.tar.gz
$ export GOPATH=/tmp/juju-core_1.10.0-1
$ go get launchpad.net/lpad
$ go install launchpad.net/juju-core/...
Then you could try changing the juju version with the
juju binary you've just built:
$ $GOPATH/bin/juju upgrade-juju --version 1.14.1 --debug
Sorry I've taken a while to reply. I have been trying to find
appropriate binaries and failing.
cheers,
rog.
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.
>>
>>
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
More information about the Juju
mailing list