[ovirt-users] How do I activate a hot-plugged disk (in v3 Python SDK) ?

Elad Ben Aharon ebenahar at redhat.com
Mon Jul 25 13:29:38 UTC 2016


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

On Mon, Jul 25, 2016 at 4:23 PM, Barak Korren <bkorren at redhat.com> wrote:

> On 25 July 2016 at 16:13, Yaniv Kaul <ykaul at 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 at redhat.com
> RHEV-CI Team
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160725/5f33cf75/attachment-0001.html>


More information about the Users mailing list