On Tue, 19 Oct 2021 at 23:49, David White via Users <users(a)ovirt.org> wrote:
I missed this email.
You can check by getting
https://myengine/ovirt-engine/api/imagetransfers
If there are no image transfers, check the relevant disks status:
https://myengine/ovirt-engine/api/disks/{id}
Apparently, I don't have credentials to the API. My "admin" username &
password aren't working, and I get this error:
*access_denied: Cannot authenticate user 'admin@N/A': No valid profile
found in credentials..*
You should provide the profile also -
*admin@<profile>*
Sent with ProtonMail <
https://protonmail.com/> Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, October 17th, 2021 at 8:39 AM, Nir Soffer <nsoffer(a)redhat.com>
wrote:
On Fri, Oct 15, 2021 at 11:38 AM David White via Users <users(a)ovirt.org>
wrote:
> Thank you very much.
> I was able to (re)set the `engine` user's password in Postgres.
> Unfortunately, I'm still having trouble unlocking the disks.
>
> The following command produces no output underneath "Locked disks" when I
> run this command on the hosted engine VM:
>
> *[root@ovirt-engine1 dwhite]# PGPASSWORD=snip
> /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t disk -q*
> *Locked disks*
>
> However, in the oVirt UI, when I try to put the host into maintenance
> mode I continue to get the message that there are (3) locked disks
> (screenshot below).
> [image: Screenshot from 2021-10-15 04-29-15.png]
>
>
Do you have active image transfers?
You can check by getting
https://myengine/ovirt-engine/api/imagetransfers
If there are no image transfers, check the relevant disks status:
https://myengine/ovirt-engine/api/disks/{id}
If the disks status is "locked", it may be engine bug, not cleaning up
after
failed image transfer.
If there is no task in engine using this disk, you can change the disk
status using:
# sudo -u postgres psql -d engine
Finding the locked images:
# select image_group_id,imagestatus from images where imagestatus=2;
Unlocking an image:
# update images set imagestatus=1 where image_group_id='xxx-yyy';
Nir
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OYR56MMJCF3...
--
Regards,
Eyal Shenitzky