<div dir="ltr"><div>In general, in order to delete a disk while it is attached to a running VM, the disk has to be deactivated (hotunplugged) first so it won&#39;t be accessible for read and write from the VM.<br></div>In the &#39;edit&#39; VM prompt there is no option to deactivate the disk, it should be done from the disks subtab under the virtual machine.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 13, 2016 at 5:33 PM, cmc <span dir="ltr">&lt;<a href="mailto:iucounu@gmail.com" target="_blank">iucounu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually, I just tried to create a new disk via the &#39;Edit&#39; menu once<br>
I&#39;d deleted it from the &#39;Disks&#39; tab, and it threw an exception.<br>
<br>
Attached is the console log.<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Dec 13, 2016 at 3:24 PM, cmc &lt;<a href="mailto:iucounu@gmail.com">iucounu@gmail.com</a>&gt; wrote:<br>
&gt; Hi Elad,<br>
&gt;<br>
&gt; I was trying to delete the disk via the &#39;edit&#39; menu, but noticed just<br>
&gt; now that there was a &#39;disks&#39; tab when the machine was highlighted.<br>
&gt; This has a &#39;activate/deactivate&#39; function, and once deactivated, was<br>
&gt; able to remove it without error.<br>
&gt;<br>
&gt; It does offer the option of deleting the disk when right clicking on<br>
&gt; the VM and choosing &#39;edit&#39;, however, there is no &#39;deactivate&#39; option.<br>
&gt; Not sure if this is by design (so that users should look elsewhere). I<br>
&gt; can still try to run the delete from the &#39;Edit&#39; page, and capture<br>
&gt; browser console output. Otherwise, apologies for troubling you with<br>
&gt; this.<br>
&gt;<br>
&gt; Kind regards,<br>
&gt;<br>
&gt; Cam<br>
&gt;<br>
&gt; On Tue, Dec 13, 2016 at 12:27 PM, Elad Ben Aharon &lt;<a href="mailto:ebenahar@redhat.com">ebenahar@redhat.com</a>&gt; wrote:<br>
&gt;&gt; There is no indication for image deletion in engine.log<br>
&gt;&gt; The browser console log is located in your browser under<br>
&gt;&gt; &#39;settings&#39;-&gt;&#39;developer&#39;.<br>
&gt;&gt; Please try to delete a disk as you tried before, get the console log and<br>
&gt;&gt; provide it.<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Dec 12, 2016 at 7:40 PM, cmc &lt;<a href="mailto:iucounu@gmail.com">iucounu@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi Eled,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;ve attached the ui log and the engine log but I&#39;m not sure what the<br>
&gt;&gt;&gt; browser console log is - there is a &#39;console.log&#39; in<br>
&gt;&gt;&gt; /var/log/ovirt-engine,<br>
&gt;&gt;&gt; but it is zero size (do I have to turn up debugging perhaps?).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Kind regards,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Cam<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Sun, Dec 11, 2016 at 2:26 PM, Elad Ben Aharon &lt;<a href="mailto:ebenahar@redhat.com">ebenahar@redhat.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt; Hi,<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Please attach browser console log and engine.log<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Thanks<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; On Fri, Dec 9, 2016 at 8:04 PM, cmc &lt;<a href="mailto:iucounu@gmail.com">iucounu@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Just another note on this: I now get a UI exception every time I try<br>
&gt;&gt;&gt; &gt;&gt; to provision a disk, although it does succeed so. I&#39;m guessing<br>
&gt;&gt;&gt; &gt;&gt; something else is going on, but there is no error in the engine log.<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; On Fri, Dec 9, 2016 at 2:54 PM, cmc &lt;<a href="mailto:iucounu@gmail.com">iucounu@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt; &gt; Hi,<br>
&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt; I&#39;m trying to delete a disk from a host I have shut down, as I need<br>
&gt;&gt;&gt; &gt;&gt; &gt; to<br>
&gt;&gt;&gt; &gt;&gt; &gt; provision a larger one. When I try to delete it, it gives me an<br>
&gt;&gt;&gt; &gt;&gt; &gt; exception on the UI. I&#39;ve tried removing the bootable flag, and<br>
&gt;&gt;&gt; &gt;&gt; &gt; creating another disk, but it still won&#39;t allow the deletion of the<br>
&gt;&gt;&gt; &gt;&gt; &gt; disk. I can&#39;t see a relevant error in the engine log, though there<br>
&gt;&gt;&gt; &gt;&gt; &gt; are<br>
&gt;&gt;&gt; &gt;&gt; &gt; errors in the UI log, but I expect that is just as result of the<br>
&gt;&gt;&gt; &gt;&gt; &gt; underlying issue with deleting the disk.<br>
&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt; Thanks,<br>
&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt; Cam<br>
&gt;&gt;&gt; &gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; &gt;&gt; Users mailing list<br>
&gt;&gt;&gt; &gt;&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt;&gt;&gt; &gt;&gt; <a href="http://lists.phx.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.phx.ovirt.org/<wbr>mailman/listinfo/users</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div>