Merge lp:~stub/charms/trusty/cassandra/bug-1555261-fix-null-username into lp:charms/trusty/cassandra
Proposed by
Stuart Bishop
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Stuart Bishop | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~stub/charms/trusty/cassandra/bug-1555261-fix-null-username | ||||
Merge into: | lp:charms/trusty/cassandra | ||||
Diff against target: |
16 lines (+6/-0) 1 file modified
hooks/actions.py (+6/-0) |
||||
To merge this branch: | bzr merge lp:~stub/charms/trusty/cassandra/bug-1555261-fix-null-username | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Review Queue (community) | automated testing | Needs Fixing | |
charmers | Pending | ||
Review via email: mp+291584@code.launchpad.net |
Description of the change
Fix Bug #1555261, where we could generate usernames such as 'juju_None'.
A race condition exists such that the remote service name may be unknown in the client relation-joined and relation-changed hooks. In this case, we should do nothing and wait until related units actually exist in a future relation-changed hook.
To post a comment you must log in.
This item has failed automated testing! Results available here http:// juju-ci. vapour. ws:8080/ job/charm- bundle- test-aws/ 3657/