<div dir="ltr">What&#39;s the VM status when you try to activate the disk?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 4:23 PM, Barak Korren <span dir="ltr">&lt;<a href="mailto:bkorren@redhat.com" target="_blank">bkorren@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 25 July 2016 at 16:13, Yaniv Kaul &lt;<a href="mailto:ykaul@redhat.com">ykaul@redhat.com</a>&gt; wrote:<br>
&gt; After successfully attaching a disk and verifying its status is in &#39;ok&#39;,<br>
&gt; I&#39;ve tried:<br>
&gt; api.vms.get(VM0_NAME).disks.get(DISK1_NAME).set_active(True)<br>
&gt;<br>
&gt; But it doesn&#39;t really activate it. What&#39;s the correct way to activate it?<br>
&gt; (It works well via the UI).<br>
&gt;<br>
</span>The same approach pretty much works for me:<br>
(v3 sdk vs v4.x engine)<br>
<br>
<a href="https://code.engineering.redhat.com/gerrit/#/c/79691/1/fabric_ci/do/ovirt/vm.py" rel="noreferrer" target="_blank">https://code.engineering.redhat.com/gerrit/#/c/79691/1/fabric_ci/do/ovirt/vm.py</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Barak Korren<br>
<a href="mailto:bkorren@redhat.com">bkorren@redhat.com</a><br>
RHEV-CI Team<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</font></span></blockquote></div><br></div>