def get_cephfs_fsname():
    install_ceph_common()
    try:
        data = json.loads(check_output(['ceph', 'fs', 'ls', '-f', 'json'], timeout=60))
    except TimeoutExpired:
        hookenv.log('Timeout attempting to determine fsname', 'ERROR')
        return None
    for fs in data:
        if ('ceph-fs_data' in fs['data_pools']):
            return fs['name']
def get_cephfs_fsname():
    install_ceph_common()
    try:
        data = json.loads(check_output(['ceph', 'fs', 'ls', '-f', 'json'], timeout=60))
    except TimeoutExpired:
        hookenv.log('Timeout attempting to determine fsname', 'ERROR')
        return None
    for fs in data:
        if ('ceph-fs_data' in fs['data_pools']):
            return fs['name']