Reviewers: mp+146033_code.launchpad.net, Message: Please take a look. Description: Fix relation-ids cache coherency for hooks. Relation-ids was answering questions about relations directly from state, whilst other pieces of relation-* cli was using a hook execution cache. This led to odd races where a hook would query relation-ids and then attempt to use relation-list/etc against that relation resulting in a relation not found error. This branch also does a drive by to improve the error reporting for relation not found to include the relation id where applicable. https://code.launchpad.net/~hazmat/juju/sane-relation-ids/+merge/146033 (do not edit description out of merge proposal) Please review this at https://codereview.appspot.com/7241062/ Affected files: A [revision details] M juju/hooks/invoker.py M juju/hooks/protocol.py M juju/hooks/tests/test_invoker.py M juju/state/errors.py Index: [revision details] === added file '[revision details]' --- [revision details] 2012-01-01 00:00:00 +0000 +++ [revision details] 2012-01-01 00:00:00 +0000 @@ -0,0 +1,2 @@ +Old revision: