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.
The bug here is that charmhelpers. core.hookenv. relation_ get() may raise a subprocess. CalledProcessEr ror 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.