openstack_upgrade_available incorrectly always returns True for swift charms
Bug #1489770 reported by
Adam Collard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
Undecided
|
Adam Collard | ||
swift-storage (Juju Charms Collection) |
Fix Released
|
High
|
Adam Collard | ||
Bug Description
swift-storage (and other swift charms) constantly think that an OpenStack upgrade is available. It ends up (for Trusty/Icehouse) getting a current version of "1.13.1" and an available version of "2014.1", then libapt happily tells the charm that 2014.1 > 1.13.1
See http://
Related branches
lp://qastaging/~adam-collard/charm-helpers/openstack-upgrade-available-swift
- Chris Glass (community): Approve
-
Diff: 58 lines (+13/-5)2 files modifiedcharmhelpers/contrib/openstack/utils.py (+7/-5)
tests/contrib/openstack/test_openstack_utils.py (+6/-0)
lp://qastaging/~adam-collard/charms/trusty/swift-storage/fix-unconditional-service-restart
Merged
into
lp://qastaging/~openstack-charmers-archive/charms/trusty/swift-storage/next
at
revision 79
- Liam Young (community): Approve
-
Diff: 115 lines (+25/-26)4 files modifiedcharmhelpers/contrib/network/ip.py (+5/-1)
charmhelpers/contrib/openstack/utils.py (+7/-5)
charmhelpers/core/hookenv.py (+11/-9)
tests/basic_deployment.py (+2/-11)
lp://qastaging/~adam-collard/charm-helpers/openstack-upgrade-available-swift-stable
- Liam Young (community): Approve
-
Diff: 58 lines (+13/-5)2 files modifiedcharmhelpers/contrib/openstack/utils.py (+7/-5)
tests/contrib/openstack/test_openstack_utils.py (+6/-0)
lp://qastaging/~adam-collard/charms/trusty/swift-storage/conditional-service-restart-stable
Merged
into
lp://qastaging/~openstack-charmers-archive/charms/trusty/swift-storage/trunk
at
revision 70
- Liam Young (community): Approve
-
Diff: 194 lines (+19/-49)7 files modifiedhooks/charmhelpers/cli/__init__.py (+1/-5)
hooks/charmhelpers/cli/commands.py (+4/-4)
hooks/charmhelpers/contrib/openstack/utils.py (+7/-5)
hooks/charmhelpers/contrib/storage/linux/utils.py (+3/-2)
hooks/charmhelpers/core/hookenv.py (+1/-20)
hooks/charmhelpers/core/host.py (+2/-2)
tests/basic_deployment.py (+1/-11)
Changed in swift-storage (Juju Charms Collection): | |
importance: | Undecided → High |
assignee: | nobody → Adam Collard (adam-collard) |
Changed in charm-helpers: | |
assignee: | nobody → Adam Collard (adam-collard) |
status: | New → In Progress |
Changed in swift-storage (Juju Charms Collection): | |
status: | New → In Progress |
Changed in charm-helpers: | |
status: | In Progress → Fix Committed |
tags: | added: backport-potential |
Changed in swift-storage (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
milestone: | none → 15.10 |
Changed in swift-storage (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in charm-helpers: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.