What's the VM status when you try to activate the disk?

On Mon, Jul 25, 2016 at 4:23 PM, Barak Korren <bkorren@redhat.com> wrote:
On 25 July 2016 at 16:13, Yaniv Kaul <ykaul@redhat.com> wrote:
> After successfully attaching a disk and verifying its status is in 'ok',
> I've tried:
> api.vms.get(VM0_NAME).disks.get(DISK1_NAME).set_active(True)
>
> But it doesn't really activate it. What's the correct way to activate it?
> (It works well via the UI).
>
The same approach pretty much works for me:
(v3 sdk vs v4.x engine)

https://code.engineering.redhat.com/gerrit/#/c/79691/1/fabric_ci/do/ovirt/vm.py


--
Barak Korren
bkorren@redhat.com
RHEV-CI Team
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users