Server should handle tools of unknown or unsupported series
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-core |
High
|
Ian Booth | ||
| | 1.24 |
High
|
Unassigned | ||
| | 1.25 |
High
|
Ian Booth | ||
Bug Description
There are times, particularly around the opening of a new ubuntu series where new tools may be generated by a client, but the server does not recognise the tools.
After the server has upgraded, the series of the tools may well be supported.
Currently the API server rejects tools uploads which include series that are unknown to the server. This I believe should be relaxed to allow tools of unknown series to be uploaded and catalogued.
| Changed in juju-core: | |
| milestone: | 1.22 → 1.23 |
| Changed in juju-core: | |
| milestone: | 1.23 → none |
| importance: | High → Medium |
| Changed in juju-core: | |
| assignee: | nobody → Jesse Meek (waigani) |
| Changed in juju-core: | |
| assignee: | Jesse Meek (waigani) → nobody |
| Changed in juju-core: | |
| milestone: | none → 1.26-alpha1 |
| milestone: | 1.26-alpha1 → none |
| Tim Penhey (thumper) wrote : | #1 |
| Changed in juju-core: | |
| importance: | Medium → High |
| milestone: | none → 1.26-alpha1 |
| summary: |
- Server should store tools of unknown or unsupported series + Server should handle tools of unknown or unsupported series |
| tags: | added: tech-debt |
| no longer affects: | juju-core/1.22 |
| no longer affects: | juju-core/1.24 |
| Changed in juju-core: | |
| assignee: | nobody → Ian Booth (wallyworld) |
| status: | Triaged → In Progress |
| Changed in juju-core: | |
| status: | In Progress → Fix Committed |
| tags: | removed: tech-debt |
| Dimiter Naydenov (dimitern) wrote : | #2 |
Since we're having exactly the same problem verifying a fix for bug #1507867 by upgrading 1.20(1.22) -> 1.24 (getting "invalid series "wily""), I'm very interested how was that fixed in 1.25?
| Changed in juju-core: | |
| status: | Fix Committed → Fix Released |
| Michael Foord (mfoord) wrote : | #3 |
This problem is blocking CI from testing fixes for upgrade problems from version 1.20/1.22 to 1.24 - so ideally we'd like this fixed in 1.22 at least as well.
| Michael Foord (mfoord) wrote : | #4 |
(Note that if it's fixed in the client rather than on the server then a fix for 1.24 will be sufficient for us.)
| Michael Foord (mfoord) wrote : | #5 |
Note that I can upgrade from 1.22.8 to 1.24 tip using upload-tools.
| Michael Foord (mfoord) wrote : | #6 |
Ah, no I can't. The upload completes without error but the upgrade never happens and a subsequent attempt at upgrade fails with the invalid series problem.
| Michael Foord (mfoord) wrote : | #7 |
And I have the same issue with 1.22.8 to 1.25 tip. So although this bug is fixed people with existing deployments still can't upgrade with upload-tools.
| Tim Penhey (thumper) wrote : | #8 |
Marking as won't fix for 1.24 as we are doing no more 1.24.x releases


In order to be able to have a clear upgrade path from older versions of Juju, we need to ignore unknown series when looking for tools to upgrade to.