Server should handle tools of unknown or unsupported series

Bug #1403689 reported by Tim Penhey on 2014-12-18
6
This bug affects 1 person
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.

Curtis Hovey (sinzui) on 2015-01-07
Changed in juju-core:
milestone: 1.22 → 1.23
Curtis Hovey (sinzui) on 2015-04-21
Changed in juju-core:
milestone: 1.23 → none
importance: High → Medium
Jesse Meek (waigani) on 2015-06-11
Changed in juju-core:
assignee: nobody → Jesse Meek (waigani)
Tim Penhey (thumper) on 2015-09-27
Changed in juju-core:
assignee: Jesse Meek (waigani) → nobody
Jesse Meek (waigani) on 2015-09-28
Changed in juju-core:
milestone: none → 1.26-alpha1
milestone: 1.26-alpha1 → none
Tim Penhey (thumper) wrote :

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.

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
Ian Booth (wallyworld) on 2015-10-21
no longer affects: juju-core/1.22
no longer affects: juju-core/1.24
Ian Booth (wallyworld) on 2015-10-21
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Ian Booth (wallyworld) on 2015-10-22
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui) on 2015-10-23
tags: removed: tech-debt
Dimiter Naydenov (dimitern) wrote :

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?

Curtis Hovey (sinzui) on 2015-10-27
Changed in juju-core:
status: Fix Committed → Fix Released
Michael Foord (mfoord) wrote :

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 :

(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 :

Note that I can upgrade from 1.22.8 to 1.24 tip using upload-tools.

Michael Foord (mfoord) wrote :

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 :

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 :

Marking as won't fix for 1.24 as we are doing no more 1.24.x releases

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers