when in version 3 sdk ,i use:
req_cluster = api.clusters.get(id=c_uid)
req_volume = req_cluster.glustervolumes.get(id=volume_id)
req_volume.rebalance().job.get_id()
to get a rebalance job id to trace if the job is finished.
Now I use ovirt python sdk4 for develop:
cluster = clustersservice.cluster_service(clusterid)
volume = cluster.gluster_volumes_service().volume_service(volumeid)
response=volume.rebalance()
the response is none,how can i get the rebalance job id?