<div dir="ltr"><div>Again, any operation on the disk throws the error. The UI, API both throw the exception</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 8, 2018 at 11:42 AM, Andrej Krejcir <span dir="ltr"><<a href="mailto:akrejcir@redhat.com" target="_blank">akrejcir@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font face="arial, helvetica, sans-serif">Do the operations work in the UI?</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">If not, then the DB has to be changed manually:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">$ psql engine</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><span style="font-family:arial,helvetica,sans-serif">UPDATE image_storage_domain_map sd_map</span></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">SET quota_id = NULL</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">FROM images</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">WHERE sd_map.image_id = images.image_guid</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"> AND images.image_group_id = 'ID_OF_THE_DISK';</font></div><div class="gmail_default"><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 8 February 2018 at 17:06, Donny Davis <span dir="ltr"><<a href="mailto:donny@fortnebula.com" target="_blank">donny@fortnebula.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Any operation on the disk throws this error, to include changing the quota.</div><div class="m_8146690722181504305HOEnZb"><div class="m_8146690722181504305h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 8, 2018 at 11:03 AM, Andrej Krejcir <span dir="ltr"><<a href="mailto:akrejcir@redhat.com" target="_blank">akrejcir@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font face="arial, helvetica, sans-serif">The error message means that the data center (storage pool) where the quota is defined is different from the data center where the disk is.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">It seems like a bug, as it should not be possible to assign a quota to a disk from a different data center.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">To fix it, try setting the quota of the disk to any quota from the same data center.</font></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Andrej</div><br></div><div><div class="m_8146690722181504305m_-6673388941631337544h5"><div class="gmail_extra"><br><div class="gmail_quote">On 8 February 2018 at 16:37, Martin Sivak <span dir="ltr"><<a href="mailto:msivak@redhat.com" target="_blank">msivak@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Andrej, this might be related to the recent fixes of yours in that<br>
area. Can you take a look please?<br>
<br>
Best regards<br>
<br>
Martin Sivak<br>
<div><div class="m_8146690722181504305m_-6673388941631337544m_5459600326200381378m_7696155255529976727m_4948470041397478652h5"><br>
On Thu, Feb 8, 2018 at 4:18 PM, Donny Davis <<a href="mailto:donny@fortnebula.com" target="_blank">donny@fortnebula.com</a>> wrote:<br>
> Ovirt 4.2 has been humming away quite nicely for me in the last few months,<br>
> and now I am hitting an issue when try to touch any api call that has to do<br>
> with a specific disk. This disk resides on a hyperconverged DC, and none of<br>
> the other disks seem to be affected. Here is the error thrown.<br>
><br>
> 2018-02-08 10:13:20,005-05 ERROR<br>
> [org.ovirt.engine.core.bll.sto<wbr>rage.disk.RemoveDiskCommand] (default task-22)<br>
> [7b48d1ec-53a7-497a-af8e-938f3<wbr>0a321cf] Error during ValidateFailure.:<br>
> org.ovirt.engine.core.bll.quot<wbr>a.InvalidQuotaParametersExcept<wbr>ion: Quota<br>
> 6156b8dd-50c9-4e8f-b1f3-4a6449<wbr>b02c7b does not match storage pool<br>
> 5a497956-0380-021e-0025-000000<wbr>00035e<br>
><br>
><br>
><br>
> Any ideas what can be done to fix this?<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
><br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>