charm upgrade from 16.07 to master fails
Bug #1628322 reported by
Ryan Beisner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Juju Charms Collection) |
Fix Released
|
High
|
Chris MacNaughton | ||
ceph-mon (Juju Charms Collection) |
Fix Released
|
High
|
Chris MacNaughton | ||
ceph-osd (Juju Charms Collection) |
Fix Released
|
High
|
Chris MacNaughton |
Bug Description
Charm upgrade fails from the 16.07 ceph charm version to the next/master ceph charm version https:/
2016-09-27 22:00:20 INFO upgrade-charm Traceback (most recent call last):
2016-09-27 22:00:20 INFO upgrade-charm File "/var/lib/
2016-09-27 22:00:20 INFO upgrade-charm from ceph.ceph_broker import (
2016-09-27 22:00:20 INFO upgrade-charm ImportError: No module named ceph_broker
Changed in ceph (Juju Charms Collection): | |
status: | New → In Progress |
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → High |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
Changed in ceph-mon (Juju Charms Collection): | |
status: | New → Fix Committed |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
importance: | Undecided → High |
Changed in ceph (Juju Charms Collection): | |
status: | Fix Committed → In Progress |
Changed in ceph-osd (Juju Charms Collection): | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Chris MacNaughton (chris.macnaughton) |
Changed in ceph (Juju Charms Collection): | |
milestone: | none → 16.10 |
Changed in ceph-mon (Juju Charms Collection): | |
milestone: | none → 16.10 |
Changed in ceph-osd (Juju Charms Collection): | |
milestone: | none → 16.10 |
Changed in ceph (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph-osd (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in ceph-mon (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
So, this seems to be happily resolved by running: 'rm -rf **/*.pyc'. It looks like python is using the cached version instead of noticing the change and, in the cached version, there's no such thing as ceph.ceph_broker