Comment 1 for bug 1614934

Revision history for this message
Stuart Bishop (stub) wrote : Re: Race condition in client connection

The bug here is that charmhelpers.core.hookenv.relation_get() may raise a subprocess.CalledProcessError when attempting to access a relation that is not fully setup. While this is arguably a Juju bug, we need to make relation_get more robust and handle the exception. Maybe log a WARNING or ERROR too.