juju upgrage-juju --upload-tools hangs with jes flag
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
juju-core | Status tracked in Trunk | |||||
Trunk |
Invalid
|
High
|
Jesse Meek |
Bug Description
On EC2 provider:
$ juju --show-log upgrade-juju --upload-tools
2015-05-11 01:04:43 INFO juju.cmd supercommand.go:37 running juju [1.25-alpha1-
2015-05-11 01:04:43 INFO juju.api api.go:280 connecting to API addresses: [107.20.64.80:17070 10.230.
2015-05-11 01:04:43 INFO juju.api apiclient.go:331 dialing "wss://
2015-05-11 01:04:43 INFO juju.api apiclient.go:331 dialing "wss://
2015-05-11 01:04:44 INFO juju.api apiclient.go:263 connection established to "wss://
2015-05-11 01:04:49 INFO juju.environs.tools build.go:167 found existing jujud
2015-05-11 01:04:49 INFO juju.environs.tools build.go:177 target: /tmp/juju-
2015-05-11 01:04:56 INFO juju.environs.sync sync.go:323 built tools 1.25-alpha1.
2015-05-11 01:04:56 INFO juju.cmd.juju upgradejuju.go:326 uploading tools 1.25-alpha1.
available tools:
1.25-
best version:
1.25-alpha1.3
2015-05-11 01:23:43 INFO juju.rpc server.go:328 error closing codec: write tcp 107.20.64.80:17070: broken pipe
2015-05-11 01:23:43 ERROR juju.cmd supercommand.go:430 error receiving message: read tcp 107.20.64.80:17070: connection timed out
The new tools are upload, but the old tools are not upgraded. So you can then:
$ juju upgrade-juju --version=
Which upgrades the tools.
Changed in juju-core: | |
milestone: | 1.25.0 → 1.24.0 |
milestone: | 1.24.0 → 1.25.0 |
I don't understand what the problem is. It appears you had a network connection error during upgrade, which caused the command to fail. Is there more to it?
I've just run "juju upgrade-juju --upload--tools" on the tip of the 1.24 branch, and it works fine.