<div dir="ltr"><div><div><div>Nicolas,<br><br></div>thank you very much for the very swift reply.<br></div>I was able to remove the locked vm's with that command.<br><br></div>Greetings, J.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-24 12:29 GMT+02:00 <span dir="ltr"><<a href="mailto:nicolas@devels.es" target="_blank">nicolas@devels.es</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Not sure if this is the only one way, but this works for us (run as root):<br>
<br>
PGPASSWORD=... /usr/share/ovirt-engine/setup/<wbr>dbutils/unlock_entity.sh -t all -u engine<br>
<br>
Note that unlock_entity.sh has many flags and this is just an example.<br>
<br>
You can find the PGPASSWORD value in the /etc/ovirt-engine/engine.conf.<wbr>d/10-setup-database.conf file.<br>
<br>
As to where can you find the disk ID, I usually use either the Python-SDK or from within the admin UI, you can go to the Disks tab and find the disk you're looking for. Simply click on it and you'll see the ID string easily.<br>
<br>
Regards,<br>
<br>
Nicolás<br>
<br>
El 2017-10-24 11:18, Johan Vermeulen escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello All,<br>
<br>
first of all, I hope this question is not too trivial or hasn't been<br>
asked lately<br>
( but i scrolled down the mailing list and didn't find anything<br>
similar, so...)<br>
<br>
I have a lot of trouble with locked disks when trying to remove vm's.<br>
I know there's the unlock_entity script but cannot get it to work.<br>
<br>
Where can I find a copy-paste-able uuid nr of the disk?<br>
It prompts me for a database password. Is this something I should have<br>
created when setting up Ovirt?<br>
<br>
Can anyone give me an example of a complete unlock entity command?<br>
<br>
Many thanks for any help.<br>
<br>
greetings, J.<br>
<br>
<br>
______________________________<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>
</blockquote>
______________________________<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>
</blockquote></div><br></div>