Unable to connect to environment after local upgrade on precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
Menno Finlay-Smits |
Bug Description
Unable to connect to the environment after upgrading from Juju version 1.20.6-
gitbranch:
The steps to reproduce the error are as follows:
jenkins@
1.20.6-
jenkins@
environment: local
machines:
"0":
agent-state: started
agent-version: 1.20.6.1
dns-name: localhost
instance-id: localhost
series: precise
state-
services: {}
jenkins@
jenkins@
1.21-alpha2-
jenkins@
environment: local
machines:
"0":
agent-state: started
agent-version: 1.20.6.1
dns-name: localhost
instance-id: localhost
series: precise
state-
services: {}
jenkins@
2014-09-17 06:58:06 INFO juju.cmd supercommand.go:37 running juju [1.21-alpha2-
2014-09-17 06:58:06 INFO juju.api api.go:234 connecting to API addresses: [localhost:17070 10.0.1.1:17070 10.0.0.191:17070 192.168.122.1:17070 [fe80::
2014-09-17 06:58:06 INFO juju.api apiclient.go:252 dialing "wss://
2014-09-17 06:58:06 INFO juju.api apiclient.go:175 connection established to "wss://
2014-09-17 06:58:07 INFO juju.environs.tools build.go:168 found existing jujud
2014-09-17 06:58:07 INFO juju.environs.tools build.go:178 target: /tmp/juju-
2014-09-17 06:58:18 INFO juju.environs.sync sync.go:304 built tools 1.21-alpha2.
2014-09-17 06:58:18 INFO juju.cmd.juju upgradejuju.go:325 uploading tools 1.21-alpha2.
2014-09-17 06:58:18 INFO juju.utils http.go:66 hostname SSL verification disabled
available tools:
1.21-
best version:
1.21-alpha2.1
2014-09-17 06:58:22 INFO juju.cmd.juju upgradejuju.go:213 started upgrade to 1.21-alpha2.1
2014-09-17 06:58:22 INFO juju.cmd supercommand.go:329 command finished
jenkins@
WARNING discarding API open error: environment not found
ERROR Unable to connect to environment "local".
Please check your credentials or use 'juju bootstrap' to create a new environment.
Error details:
invalid entity name or password
Messages from from machine-0.log (full log attached):
2014-09-16 07:07:43 DEBUG juju.apiserver apiserver.go:151 <- [103] <unknown> {"RequestId"
2014-09-16 07:07:43 DEBUG juju.apiserver apiserver.go:158 -> [103] <unknown> 88.624491ms {"RequestId"
2014-09-16 07:07:43 INFO juju.apiserver apiserver.go:166 [103] <unknown> API connection terminated after 89.65875ms
Changed in juju-core: | |
assignee: | nobody → Menno Smits (menno.smits) |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
assignee: | Menno Smits (menno.smits) → Jesse Meek (waigani) |
tags: | removed: precise |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
Can you add the contents of your ~/.juju/ environments/ local.jenv ? That may help find the error.