DesiredVersion should not return versions newer than API Server
Bug #1304340 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
John A Meinel |
Bug Description
When the API server notices that desired Agent Version has changed, but version.Current is older, it could not indicate to the callers that they should upgrade.
Related branches
lp:~jameinel/juju-core/desiredversion-not-newer-1304340
- Juju Engineering: Pending requested
-
Diff: 156 lines (+87/-2)3 files modifiedstate/apiserver/upgrader/upgrader.go (+28/-1)
state/apiserver/upgrader/upgrader_test.go (+56/-0)
worker/upgrader/upgrader_test.go (+3/-1)
Changed in juju-core: | |
milestone: | 1.19.1 → 2.0 |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
milestone: | 2.0 → 1.19.0 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Note that the API server shouldn't restrict the version for agents that run the API server, but *should* for all the other instances.