rhev/ovirt: ssl handshake error - TLS

Posted on Wed 19 December 2018 in ovirt • Tagged with ovirt, rhev, rev, redhat • 1 min read

Dec 18 15:37:45 rhev06rn vdsm[3145]: ERROR ssl handshake: SSLError, address: ::ffff:10.12.11.88  
Dec 18 15:37:45 rhev06rn vdsm[3145]: WARN unhandled write event

/etc/vdsm/vdsm.conf

[vars]  
#ssl_excludes = OP_NO_TLSv1,OP_NO_TLSv1_1  
ssl = true

[addresses]  
management_port = 54321

Bugzilla Link


ovirt/rhev/rhv - stucked/locked task

Posted on Wed 06 December 2017 in ovirt • Tagged with ovirt, RHEV, notepad, linux • 1 min read

Query locked elements:

PGPASSWORD=password /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -d engine -u engine -t [all|disk|vm|template] -q

Remove lock:

PGPASSWORD=password /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -d engine -u engine -t [all|disk|vm|template] -r

ovirt/rhev/rhv - custom branding (web ui)

Posted on Wed 06 December 2017 in ovirt • Tagged with KVM, ovirt, RHEV, rev, branding, redhat • 1 min read

Step 1 - create a custom folder in /etc/ovirt-engine/branding

[root@rev1 branding]# ll
total 0
lrwxrwxrwx. 1 [..] 00-ovirt.brand -> /usr/share/ovirt-engine/branding/ovirt.brand
lrwxrwxrwx. 1 [..] 50-rhev-2.brand -> /usr/share/ovirt-engine/branding/rhev-2.brand
drwxr-xr-x. 3 [..] 99-custom.brand

Step 2 - copy your layout and create …


Continue reading

RHEV/ovirt - can't switch SPM role - async_tasks are stucked

Posted on Mon 29 August 2016 in ovirt • Tagged with KVM, Linux, ovirt, RHEV, rev, redhat • 1 min read

On the host with the SPM role

$ vdsClient -s 0 getAllTasksStatuses
{'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {'feb3aaa5-ec1c-42a6-8f17-f7c94891b43f': {'message': '1 jobs completed successfully', 'code': 0, 'taskID': '631fd441-0955-49da-9376-1cba24764aa7', 'taskResult': 'success', 'taskState': 'finished'}, 'b4fe0c6d-d458-4ed2-a9e2-2c0d41914b8f': {'message': '1 jobs completed successfully', 'code': 0, 'taskID': '67e1a2e8-3747-43fa-b0dd-fc469a6f6a02', 'taskResult': 'success',
'taskState': 'finished'}}}

On the RHEV/ovirt manager …


Continue reading

RHEV/ovirt - find stucked / zombie tasks

Posted on Sun 14 August 2016 in ovirt • Tagged with KVM, Linux, RHEV, rev, redhat • 1 min read

Random notes

$ vdsClient -s 0 getAllTasksStatuses
$ vdsClient stopTask 
$ vdsClient clearTask 
$ su - postgres
$ psql -d engine -U postgres
> select * from job order by start_time desc;
> select DeleteJob('702e9f6a-e2a3-4113-bd7d-3757ba6bc4ef');

or

/usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "select * from job;"