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