

def mount_share_at_default_path(url, cluster):
    share_id = six.moves.urllib.parse.urlparse(url).netloc
    if cluster.shares:
        cluster_shares = [dict(s) for s in cluster.shares]
    else:
        cluster_shares = []
    needed_share = {
        'id': s,
        'path': shares_service.default_mount(share_id),
        'access_level': 'rw',
    }
    cluster_shares.append(needed_share)
    cluster = conductor.cluster_update(context.ctx(), cluster, {
        'shares': cluster_shares,
    })
    shares_service.mount_shares(cluster)
    return shares_service.get_share_path(url, cluster.shares)

dataset/ETHPy150Open openstack/sahara/sahara/service/edp/job_utils.py mount_share_at_default_path/VarMisuse@68/86 `share_id`->`s`