def create_host_disk(client, vol_name, size, node_id): # NOQA # create a single replica volume and attach it to node volume = create_volume(client, vol_name, size, node_id, 1) # prepare the disk in the host filesystem disk_path = common.prepare_host_disk(get_volume_endpoint(volume), volume["name"]) return disk_path