relation-broken runs in inappropriate context
Bug #903014 reported by
William Reade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Undecided
|
William Reade |
Bug Description
When in a relation-broken hook:
JUJU_REMOTE_UNIT should be ""
no members should be reported
remote member settings should be inaccessible, even if they still exist
local settings should be readable but not writable
Related branches
lp://staging/~fwereade/pyjuju/restrict-relation-broken-context
- Benjamin Saller (community): Approve
- Kapil Thangavelu (community): Approve
-
Diff: 935 lines (+398/-244)6 files modifiedjuju/state/errors.py (+4/-0)
juju/state/hook.py (+73/-7)
juju/state/tests/test_errors.py (+7/-1)
juju/state/tests/test_hook.py (+244/-175)
juju/unit/lifecycle.py (+67/-56)
juju/unit/tests/test_lifecycle.py (+3/-5)
Changed in juju: | |
status: | New → In Progress |
assignee: | nobody → William Reade (fwereade) |
milestone: | none → florence |
Changed in juju: | |
status: | In Progress → Fix Released |
To post a comment you must log in.