Comment 3 for bug 1253576

Revision history for this message
Eduardo Damato (edamato) wrote :

@fwereade:

I do understand what you mean, but if we have hundreds of relations, we can't really login to every single instance to check if it's all fine because charms have problems. We should have a way of telling that the charms never finished, after all juju is the one deploying them.

@Marco:

Adding the file, but I think the issue is that the following in ./hooks/lib/ceph_utils.py doesn't seem to timeout:

def rbd_exists(service, pool, rbd_img):
    (rc, out) = commands.getstatusoutput('rbd list --id %s --pool %s' %\
                                         (service, pool))
    return rbd_img in out

I can still the the rbd list process in my box.

Cheers,
Eduardo.