The node host enters emergency mode
by BJ一哥
ovirt 4.5.1
After the kernel SR-IOV is started and the host is restarted, the host will
enter emergency mode. When journalctl -xb is used, the engine mount fails
mount:/gluster_bricks/engine:mount(2)system call failed:structure needs
cleaning
You need to manually annotate /etc/fstab to mount the engine volume to
enter the system normally.
https://s1.328888.xyz/2022/08/03/OomMy.png
2 years, 3 months
User login issues - version 4.5.1
by itforums51@gmail.com
hi all,
new fresh installation version 4.5.1
I've created a dummy user, using ovirt-aaa-jdbc-tool. Reset the password and added it to a role from within the hosted-engine.
when I attempt to logon to the portal using: user1@ovirt I get the following message in /var/log/ovirt-engine/keycloak.log:
It must be something stupid I am missing, but I just cannot figure out what is wrong.
Suggestions/recommendations are greatly appreciated.
2022-08-01 13:04:46,133Z WARN [org.keycloak.events] (default task-70) [] type=LOGIN_ERROR, realmId=bb5ae6fa-bc18-470c-bfde-1af5fa7c1e28, clientId=ovirt-engine-internal, userId=null, ipAddress=X.X.X.X, error=user_not_found, auth_method=openid-connect, auth_type=code, redirect_uri=https://ovirt-engine1.ukteam.lab/ovirt-engine/callback, code_id=5f0eb48d-46d8-4bed-97fe-2649916ff0f9, username=user1@localhost, authSessionParentId=5f0eb48d-46d8-4bed-97fe-2649916ff0f9, authSessionTabId=dl7mnpAO5KY
# ovirt-aaa-jdbc-tool user show user1
Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
-- User user1(a3579138-7c51-4573-a09e-18b0a42812b6) --
Namespace: *
Name: user1
ID: a3579138-7c51-4573-a09e-18b0a42812b6
Display Name:
Email: user1@localhost
First Name: user
Last Name: dummy
Department:
Title:
Description:
Account Disabled: false
Account Locked: false
Account Unlocked At: 1970-01-01 00:00:00Z
Account Valid From: 2022-08-01 12:59:33Z
Account Valid To: 2222-08-01 12:59:33Z
Account Without Password: false
Last successful Login At: 1970-01-01 00:00:00Z
Last unsuccessful Login At: 1970-01-01 00:00:00Z
Password Valid To: 2222-06-11 18:50:23Z
2 years, 3 months
login error via active directory
by adam_xu@adagene.com.cn
Hi Ovirt list,
I have a fresh installed ovirt cluster. Version 4.5.1.3
And I ran " ovirt-engine-extension-aaa-ldap-setup” to attach an AD successfully.
First question is:
When I click “Administration Portal”, the login page jumped to https://engine.example.com/ovirt-engine-auth/realms/ovirt-internal/protoc... <https://engine.example.com/ovirt-engine-auth/realms/ovirt-internal/protoc...> &scope=openid&client_id=ovirt-engine-internal&state=pWm6gymCKh9eW-pq1P5PSdvSeUY&redirect_uri=https%3A%2F%2Fengine.adagene.cn%2Fovirt-engine%2Fcallback&nonce=Rnx6mYrKjBLP0bEnPEUKAjE0jQ96IaJIz6IY7j8a4b0
Not the https://engine.example.com/ovirt-engine/sso/login.html page.
I removed the httpd conf file /etc/httpd/conf.d/internalsso-openidc.conf and restart httpd. This time, it jumped to https://engine.example.com/ovirt-engine/sso/login.html
�
The second question:
When I try to login via Active Directory accounts, it said:
server_error: Missing parameter: 'params'
�
here’s some logs in engine.log
2022-08-02 13:43:54,686+08 INFO [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-8) [38f1f346] Lock freed to object 'EngineLock:{exclusiveLocks='[7ae0fbd3-c2fb-4a82-8d36-6c88c5bce900=PROVIDER]', sharedLocks=''}'
2022-08-02 13:46:47,451+08 ERROR [org.ovirt.engine.core.sso.servlets.InteractiveAuthServlet] (default task-3) [] Internal Server Error: Missing parameter: 'params'
2022-08-02 13:46:47,451+08 ERROR [org.ovirt.engine.core.sso.service.SsoService] (default task-3) [] Missing parameter: 'params'
2022-08-02 13:46:47,632+08 ERROR [org.ovirt.engine.core.aaa.servlet.SsoPostLoginServlet] (default task-3) [] server_error: Missing parameter: 'params'
2022-08-02 13:47:18,747+08 ERROR [org.ovirt.engine.core.sso.servlets.InteractiveAuthServlet] (default task-3) [] Internal Server Error: Missing parameter: 'params'
2022-08-02 13:47:18,747+08 ERROR [org.ovirt.engine.core.sso.service.SsoService] (default task-3) [] Missing parameter: 'params'
2022-08-02 13:47:46,550+08 INFO [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedScheduledExecutorService-engineThreadMonitoringThreadPool-Thread-1) [] Thread pool 'default' is using 0 threads out of 1, 5 threads waiting for tasks.
�
I need your help.
2 years, 3 months
disk pending in "finalizing" state
by Diego Ercolani
ovirt-engine-4.5.1.3-1.el8.noarch
Hello I have a situation where a disk is stuck in finalizing state derived by trying to backup via veeam.
backup process is interrupted and I have cleared the job states with the dbutils scripts (/usr/share/ovirt-engine/setup/dbutils/task_cleaner.sh) even if the script didn't advice about any pending job...
I tryied to unlock_entity of the disk but for the script there is no disk locked.
In the ovirt-engine gui, the disk is "finalizing"
And I'm stuck here
Can someone address me somewhere?
2 years, 3 months
Authentication with Active Directory
by Alireza Eskandari
Hi all,
I'm trying to connect an active directory to my ovirt for authentication.
But the base DN of my active directory is not the default one so I need to
specify it in ovirt configuration to find users.
How can I configure it?
In my current configuration when I try to login, I get this message:
server_error: Cannot resolve principal 'xxxx(a)yy.zz'
Regards,
Alireza
2 years, 3 months
ovirt-engine manager, certificate issue
by david
hello
I have a problem to log in to ovirt-engine manager in my browser
the warning message in the browser display me this text:
PKIX path validation failed: java.security.cert.CertPathValidatorException:
validity check failed
to solve this problem I am offered to run engine-setup
and here is a question: the engine-setup will have no impact to the
hosts(hypervisors) working?
ovirt version 4.4.4.7-1.el8
thanks
2 years, 3 months
Make QXL the default
by Colin Coe
Hey all
We've just updated to RHV4.4SP1 (aka 4.5) from v4.4 and now our ansible
workflows are failing with:
cannot run VM. Selected display type is not supported by the operating
system
The OS are RHEL6 and RHEL7 (no, I can't change this as the software stack
only works with these)
I couldn't find anything in the ansible ovirt collection to change from VGA
to QXL.
Any ideas on how I can make QXL the default instead of VGA? Maybe a DB
change?
Thanks
2 years, 3 months
Issue with oVirt 4.5 and Data Warehouse installed on a Separate Machine
by Igor Davidoff
Hello,
i have an issue with 'engine-seup' step on DWH (separate server) aufter upgrade from 4.4.10 to 4.5.
It looks like the ovirt-engine-setup are looking for rpm-package 'ovirt-engine' instead of 'ovirt-engine-dwh'.
the reporting error is:
"
--== END OF CONFIGURATION ==--
[ INFO ] Stage: Setup validation
[ ERROR ] Failed to execute stage 'Setup validation': Command '/usr/bin/rpm' failed to execute
[ INFO ] Stage: Clean up
Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20220502100751-fqwb07.log
[WARNING] Remote engine was not configured to be able to access DWH, please check the logs.
[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20220502101130-setup.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
"
in Setup log i found:
"
2022-05-02 10:11:30,000+0000 DEBUG otopi.context context._executeMethod:127 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages.Plugin._validation
2022-05-02 10:11:30,001+0000 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages plugin.executeRaw:813 execute: ('/usr/bin/rpm', '-q', '--queryformat=%{version}-%{release}', 'ovirt-engine'), executable='None', cwd='None', env=None
2022-05-02 10:11:30,013+0000 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages plugin.executeRaw:863 execute-result: ('/usr/bin/rpm', '-q', '--queryformat=%{version}-%{release}', 'ovirt-engine'), rc=1
2022-05-02 10:11:30,013+0000 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages plugin.execute:921 execute-output: ('/usr/bin/rpm', '-q', '--queryformat=%{version}-%{release}', 'ovirt-engine') stdout:
package ovirt-engine is not installed
2022-05-02 10:11:30,013+0000 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages plugin.execute:926 execute-output: ('/usr/bin/rpm', '-q', '--queryformat=%{version}-%{release}', 'ovirt-engine') stderr:
2022-05-02 10:11:30,013+0000 DEBUG otopi.context context._executeMethod:145 method exception
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in _executeMethod
method['method']()
File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine-common/distro-rpm/packages.py", line 463, in _validation
oenginecons.Const.ENGINE_PACKAGE_NAME,
File "/usr/lib/python3.6/site-packages/otopi/plugin.py", line 931, in execute
command=args[0],
RuntimeError: Command '/usr/bin/rpm' failed to execute
2022-05-02 10:11:30,015+0000 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Setup validation': Command '/usr/bin/rpm' failed to execute
"
usually the upgrade of minor versions in 4.4 was just:
# yum update ovirt\*setup\*
# engine-setup
# yum update
as it did not work, i tried the fresh installation of centos8 stream and recovery of DWH Database and configuration:
# engine-backup --mode=restore --file=backup.bck --provision-all-databases
-> no luck
the last idea was fresh installation centos8 stream + fresh installation of ovirt-engine-dwh 4.5 (without recovery)
-> the same error.
the engine side works fine.
i compared the current setup logs with the installation and all the minor upgrades of ovirt-engine-dwh before 4.5
and only found the rpm-validation for the package 'ovirt-engine-dwh':
"
2022-02-08 16:11:29,846+0000 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages plugin.executeRaw:813 execute: ('/usr/bin/rpm', '-q', 'ovirt-engine-dwh'), executable='None', cwd='None', env=None
2022-02-08 16:11:29,877+0000 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages plugin.executeRaw:863 execute-result: ('/usr/bin/rpm', '-q', 'ovirt-engine-dwh'), rc=0
2022-02-08 16:11:29,878+0000 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages plugin.execute:921 execute-output: ('/usr/bin/rpm', '-q', 'ovirt-engine-dwh') stdout:
ovirt-engine-dwh-4.4.10-1.el8.noarch
2022-02-08 16:11:29,878+0000 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine_common.distro-rpm.packages plugin.execute:926 execute-output: ('/usr/bin/rpm', '-q', 'ovirt-engine-dwh') stderr:
2022-02-08 16:11:29,878+0000 DEBUG otopi.transaction transaction.commit:152 committing 'DWH Engine database Transaction'
"
It looks like engine-setup knows it is the DWH-Server, but is trying to validate the wrong rpm package.
Any Ideas, how to work around this.
Thank you!
2 years, 3 months