openstack_upgrade_available() broken for swift

Bug #1743847 reported by Edward Hope-Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
Fix Committed
Undecided
Edward Hope-Morley
OpenStack Swift Proxy Charm
Fix Released
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.

Tags: openstack sts
Revision history for this message
Edward Hope-Morley (hopem) wrote :
description: updated
Revision history for this message
Edward Hope-Morley (hopem) wrote :
Changed in charm-helpers:
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Revision history for this message
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-swift-proxy (master)

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)
Changed in charm-swift-proxy:
status: Fix Committed → Fix Released
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.