openstack_upgrade_available() broken for swift

Bug #1743847 reported by Edward Hope-Morley on 2018-01-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
Undecided
Edward Hope-Morley
OpenStack swift-proxy charm
Critical
Edward Hope-Morley

Bug Description

For Swift upgrades the charm does:

avail_vers > cur_vers

Where both are strings. This is no good when comparing versions since in Python "2.7" > "2.10" is True whereas we would want it to be False for versions.

This currently makes it impossible to upgrade from Mitaka (currently 2.7) to Newton (currently 2.10) or above.

Edward Hope-Morley (hopem) wrote :
Changed in charm-helpers:
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Edward Hope-Morley (hopem) wrote :
Changed in charm-swift-proxy:
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Changed in charm-helpers:
status: In Progress → Opinion
status: Opinion → Fix Committed

Change abandoned by Edward Hope-Morley (<email address hidden>) on branch: master
Review: https://review.openstack.org/535248
Reason: no longer required since c-h already synced (commit e99e430)

Changed in charm-swift-proxy:
status: In Progress → Fix Committed
Ryan Beisner (1chb1n) on 2018-03-09
Changed in charm-swift-proxy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers