openstack_upgrade_available() broken for swift
Bug #1743847 reported by
Edward Hope-Morley
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.
Changed in charm-swift-proxy: | |
status: | In Progress → Fix Committed |
Changed in charm-swift-proxy: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This line specifically is what is breaking things - https:/ /github. com/juju/ charm-helpers/ commit/ 1cca8e4fe357b17 f7685704e9fbde4 415c4f60a0# diff-935a00f400 74c3c59d617c88f 71e42efR489