swift-storage-relation-broken hook not implemented

Bug #1478691 reported by Jill Rouleau
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Swift Storage Charm
Triaged
Low
Unassigned
swift-storage (Juju Charms Collection)
Invalid
Low
Unassigned

Bug Description

Swift-storage charm lacks a hook to remove-relation to swift-proxy. When trying, the swift-storage unit logs:

2015-07-27 20:09:31 INFO juju.worker.uniter uniter.go:480 running "swift-storage-relation-departed" hook
2015-07-27 20:09:31 INFO juju.worker.uniter context.go:260 skipped "swift-storage-relation-departed" hook (not implemented)
2015-07-27 20:09:31 INFO juju.worker.uniter uniter.go:497 skipped "swift-storage-relation-departed" hook (missing)
2015-07-27 20:09:31 INFO juju.worker.uniter uniter.go:505 committing "relation-departed" hook
2015-07-27 20:09:31 INFO juju.worker.uniter uniter.go:520 committed "relation-departed" hook
2015-07-27 20:09:31 INFO juju.worker.uniter uniter.go:480 running "swift-storage-relation-broken" hook
2015-07-27 20:09:31 INFO juju.worker.uniter context.go:260 skipped "swift-storage-relation-broken" hook (not implemented)
2015-07-27 20:09:31 INFO juju.worker.uniter uniter.go:497 skipped "swift-storage-relation-broken" hook (missing)
2015-07-27 20:09:31 INFO juju.worker.uniter uniter.go:505 committing "relation-broken" hook
2015-07-27 20:09:31 INFO juju.worker.uniter uniter.go:520 committed "relation-broken" hook

And the relationship remains. The swift-proxy charm does have the necessary hooks.

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

Looking briefly at what's done in the relation-joined/changed hooks, it looks like all the relation-broken hook needs to do it remove the files at:

- /etc/rsync-juju.d/050-swift-storage.conf
- /etc/swift/swift.conf

Would that match your expectations?

Changed in swift-storage (Juju Charms Collection):
status: New → Triaged
importance: Undecided → Low
James Page (james-page)
Changed in charm-swift-storage:
importance: Undecided → Low
status: New → Triaged
Changed in swift-storage (Juju Charms Collection):
status: Triaged → Invalid
Revision history for this message
Jill Rouleau (jillrouleau) wrote :

Hey sorry for the late reply. I believe that would do it, yeah. Thanks.

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.