upgrades are broken in master 1.24-alpha1
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-core |
Critical
|
Tim Penhey | ||
Bug Description
All 14 upgrade jobs failed testing master 1.24-alpha1 commit f1dc51a.
| Curtis Hovey (sinzui) wrote : | #1 |
| Curtis Hovey (sinzui) wrote : | #2 |
Attached is the all machine log with the credentials remove.
| Dimiter Naydenov (dimitern) wrote : | #3 |
I think the issue here is actually machine 0 not being able to reconnect to the API server after the upgrade, most likely due to a recent change that forces clients using LoginV2 and empty envUUID (e.g. connecting at the root path, not /environments/
| Changed in juju-core: | |
| assignee: | nobody → Tim Penhey (thumper) |
| Changed in juju-core: | |
| status: | Triaged → In Progress |
| Changed in juju-core: | |
| status: | In Progress → Fix Committed |
| Tim Penhey (thumper) wrote : | #4 |
Yes indeed that was the case. The agents didn't have an environment UUID saved in the agent config, so they were trying to connect to the API at the root with a modern login version (i.e. Version 2). This only serves the UserManager and EnvironmentManager facades.
This is apparent from the Login request using version 2, and showing that the Agent object isn't there because there is no environment.
The upgrades still appear to be failing, but since I have confirmed this works locally going from 1.21.3 -> 1.24-alpha1, I'd like to see the log files. None of the build jobs have an accurate machine-0.log.
| Changed in juju-core: | |
| status: | Fix Committed → In Progress |
| Curtis Hovey (sinzui) wrote : | #5 |
This is still broken. CI also upgraded to stable 1.22.0.
| Curtis Hovey (sinzui) wrote : | #6 |
Attached is the machine-0 log from the aws-upgrade-
http://
| Curtis Hovey (sinzui) wrote : | #7 |
Attached is the all-machines log from the aws-upgrade-
http://
| Dimiter Naydenov (dimitern) wrote : | #8 |
Looking at the machine-0.log there's some issue with the generated TLS certificate:
2015-03-20 05:38:57 INFO juju.worker runner.go:261 start "api"
2015-03-20 05:38:57 INFO juju.api apiclient.go:327 dialing "wss://
2015-03-20 05:38:57 INFO juju.api apiclient.go:335 error dialing "wss://
2015-03-20 05:38:57 ERROR juju.worker runner.go:219 exited "api": unable to connect to "wss://
2015-03-20 05:38:57 INFO juju.worker runner.go:253 restarting "api" in 3s
2015-03-20 05:38:58 DEBUG juju.mongo open.go:122 TLS handshake failed: x509: certificate is valid for localhost, juju-apiserver, not juju-mongodb
| Dimiter Naydenov (dimitern) wrote : | #9 |
I suspect being more lenient in this test here https:/
| Curtis Hovey (sinzui) wrote : | #10 |
I am closing this bug. Tim's branch may have fixed the 1.21.3 upgrade cases. Ci has switched to 1.22.0 and it cannot upgrade to 1.23-beta1 which has fine revisions from earlier this week nor can it upgrade to 1.24-alpha1.
| Changed in juju-core: | |
| status: | In Progress → Fix Released |
| Menno Finlay-Smits (menno.smits) wrote : | #11 |
Regarding the test changes in https:/


Attached is the machine-2 log that might have a clue about the problem