upgrade-model failed after upgrade-controller to 2.7.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Undecided
|
Unassigned |
Bug Description
$ juju --debug upgrade-model -m my_model --agent-version 2.7.6
15:21:17 INFO juju.cmd supercommand.go:83 running juju [2.7.6 gc go1.10.4]
15:21:17 DEBUG juju.cmd supercommand.go:84 args: []string{
15:21:17 INFO juju.juju api.go:67 connecting to API addresses: [172.18.
15:21:17 DEBUG juju.api apiclient.go:1092 successfully dialed "wss://
15:21:17 INFO juju.api apiclient.go:624 connection established to "wss://
15:21:18 INFO juju.juju api.go:302 API endpoints changed from [172.18.
15:21:18 INFO juju.juju api.go:67 connecting to API addresses: [172.18.
15:21:18 DEBUG juju.api apiclient.go:1092 successfully dialed "wss://
15:21:18 INFO juju.api apiclient.go:624 connection established to "wss://
15:21:18 INFO juju.juju api.go:67 connecting to API addresses: [172.18.
15:21:18 DEBUG juju.api apiclient.go:1092 successfully dialed "wss://
15:21:18 INFO juju.api apiclient.go:624 connection established to "wss://
15:21:18 INFO juju.juju api.go:302 API endpoints changed from [172.18.
15:21:18 DEBUG juju.cmd.
15:21:30 INFO cmd upgrademodel.go:500 available agent binaries:
2.7.6
best version:
2.7.6
15:23:01 DEBUG juju.api monitor.go:35 RPC connection died
15:23:01 DEBUG juju.api monitor.go:35 RPC connection died
15:23:01 DEBUG juju.api monitor.go:35 RPC connection died
ERROR cannot make API call to provider: unexpected: Get http://
15:23:01 DEBUG cmd supercommand.go:519 error stack:
cannot make API call to provider: unexpected: Get http://
/build/
/build/
juju is unable to complete a model upgrade after a controller upgrade.
I am able to issue commands to maas. but it seems juju is not. I did find this error in the juju audit.log
{"errors" :{"conversation -id":"36092e7ce 5a65b06" ,"connection- id":"C5" ,"request- id":3," when":" 2020-05- 13T15:06: 41Z","errors" :[{"message" :"cannot make API call to provider: unexpected: Get http:// 172.18. 247.21/ MAAS/api/ 2.0/machines/ ?agent_ name=eafa14a6- 708b-4b54- 819a-62827e7cfc 1d: EOF","code":""}]}}
but it seems this error is very similar to output to juju client