Server should handle tools of unknown or unsupported series

Bug #1403689 reported by Tim Penhey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Ian Booth
1.24
Won't Fix
High
Unassigned
1.25
Fix Released
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)
Changed in juju-core:
milestone: 1.22 → 1.23
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.23 → none
importance: High → Medium
Jesse Meek (waigani)
Changed in juju-core:
assignee: nobody → Jesse Meek (waigani)
Tim Penhey (thumper)
Changed in juju-core:
assignee: Jesse Meek (waigani) → nobody
Jesse Meek (waigani)
Changed in juju-core:
milestone: none → 1.26-alpha1
milestone: 1.26-alpha1 → none
Revision history for this message
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)
no longer affects: juju-core/1.22
no longer affects: juju-core/1.24
Ian Booth (wallyworld)
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
tags: removed: tech-debt
Revision history for this message
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)
Changed in juju-core:
status: Fix Committed → Fix Released
Revision history for this message
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.

Revision history for this message
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.)

Revision history for this message
Michael Foord (mfoord) wrote :

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

Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.