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?
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/P2QN6VG2CRBF55U4FRA65PX3W5SBLPWG/

Reply via email to