[ovirt-users] Re: vdsClient in oVirt 4.3

2019-04-03 Thread Benny Zlotnik
please note setLegality has been deprecated since 4.1 On Wed, Apr 3, 2019 at 1:45 PM wrote: > > Thanks Liran, it worked perfectly. > > Regards. > > El 2019-04-03 11:33, Liran Rotenberg escribió: > > I think the similar way to do it as you used to is: > > $ vdsm-client Volume setLegality

[ovirt-users] Re: vdsClient in oVirt 4.3

2019-04-03 Thread Benny Zlotnik
you can put any UUID for the job, you can check it using the generation with `Volume getInfo` On Wed, Apr 3, 2019 at 1:06 PM wrote: > > Hi Benny, > > Thanks for the help. > > Could you please tell me what job_uuid and vol_gen should be replaced > by? Should I just put any UUID for the job? > >

[ovirt-users] Re: vdsClient in oVirt 4.3

2019-04-03 Thread nicolas
Thanks Liran, it worked perfectly. Regards. El 2019-04-03 11:33, Liran Rotenberg escribió: I think the similar way to do it as you used to is: $ vdsm-client Volume setLegality storagedomainID=sdUUID storagepoolID=spUUID imageID=imgUUID legality=LEGAL volumeID=volUUID Where the values you set

[ovirt-users] Re: vdsClient in oVirt 4.3

2019-04-03 Thread Liran Rotenberg
I think the similar way to do it as you used to is: $ vdsm-client Volume setLegality storagedomainID=sdUUID storagepoolID=spUUID imageID=imgUUID legality=LEGAL volumeID=volUUID Where the values you set should be inside quotes for example 'LEGAL'. On Wed, Apr 3, 2019 at 1:08 PM wrote: > > Hi

[ovirt-users] Re: vdsClient in oVirt 4.3

2019-04-03 Thread nicolas
Hi Benny, Thanks for the help. Could you please tell me what job_uuid and vol_gen should be replaced by? Should I just put any UUID for the job? Thanks. El 2019-04-03 09:52, Benny Zlotnik escribió: it should be something like this: $ cat update.json { "job_id":"",

[ovirt-users] Re: vdsClient in oVirt 4.3

2019-04-03 Thread Benny Zlotnik
it should be something like this: $ cat update.json { "job_id":"", "vol_info": { "sd_id": "", "img_id": "", "vol_id": "", "generation": "" }, "legality": "LEGAL" } } $ vdsm-client SDM update_volume -f update.json On