-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oVirt Engine setup fails - Command '/usr/bin/ovirt-aaa-jdbc-tool' failed to execute #945
Comments
pls rename the .zip extension to .tar.xz |
pls rename the .zip extension to .tar.xz |
The engine-setup fails on the ovirt-aaa-jdbc-tool
All the properties files are missing
|
are you able to proceed without keyclock configuration? Configure Keycloak on this host (Yes, No) [Yes]: No |
@kandadeepak I am experiencing the same exact error and no, the same error occurs even without keycloak:
|
Affected version
Describe the bug
engine-setup fails with following error:
" Failed to execute stage 'Misc configuration': Command '/usr/bin/ovirt-aaa-jdbc-tool' failed to execute "
To reproduce
Run $engine-setup and follow the default installer options for setup.
Expected behavior
$engine-setup is expected to finish with out any setup issues.
Screenshots
[root@R650xs-13-211 ~]# engine-setup
[ INFO ] Stage: Initializing
[ INFO ] Stage: Environment setup
Configuration files: /etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf, /etc/ovirt-engine-setup.conf.d/10-packaging.conf
Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20240517205118-wzuv8f.log
Version: otopi-1.10.4 (otopi-1.10.4-1.el8)
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup (late)
[ INFO ] Stage: Environment customization
[ INFO ] Checking for product updates...
[ INFO ] No product updates found
[ INFO ] firewalld will be configured as firewall manager.
[ INFO ] Stage: Setup validation
[ INFO ] Stage: Transaction setup
[ INFO ] Stopping engine service
[ INFO ] Stopping ovirt-fence-kdump-listener service
[ INFO ] Stopping dwh service
[ INFO ] Stopping vmconsole-proxy service
[ INFO ] Stopping websocket-proxy service
[ INFO ] Stage: Misc configuration (early)
[ INFO ] Stage: Package installation
[ INFO ] Stage: Misc configuration
[ INFO ] Upgrading CA
[ INFO ] Creating PostgreSQL 'engine' database
[ INFO ] Configuring PostgreSQL
[ INFO ] Creating PostgreSQL 'ovirt_engine_history' database
[ INFO ] Configuring PostgreSQL
[ INFO ] Creating PostgreSQL 'ovirt_engine_keycloak' database
[ INFO ] Configuring PostgreSQL
[ INFO ] Creating CA: /etc/pki/ovirt-engine/ca.pem
[ INFO ] Creating CA: /etc/pki/ovirt-engine/qemu-ca.pem
[ INFO ] Creating a user for Grafana
[ INFO ] Setting up ovirt-vmconsole proxy helper PKI artifacts
[ INFO ] Setting up ovirt-vmconsole SSH PKI artifacts
[ INFO ] Configuring WebSocket Proxy
[ INFO ] Creating/refreshing Engine database schema
[ INFO ] Creating/refreshing DWH database schema
[ INFO ] Updating OVN SSL configuration
[ INFO ] Updating OVN timeout configuration
[ INFO ] Creating/refreshing Engine 'internal' domain database schema
[ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/bin/ovirt-aaa-jdbc-tool' failed to execute <-----
[ INFO ] DNF Performing DNF transaction rollback
[ INFO ] Rolling back database schema
[ INFO ] Clearing Engine database engine
[ INFO ] Rolling back DWH database schema
[ INFO ] Clearing DWH database ovirt_engine_history
[ INFO ] Stage: Clean up
Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20240517205118-wzuv8f.log
[ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20240517205443-setup.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed
[root@R650xs-13-211 ~]#
Manual verfication of the failed script:
[root@R650xs-13-211 ~]#
[root@R650xs-13-211 ~]# file /usr/bin/ovirt-aaa-jdbc-tool
/usr/bin/ovirt-aaa-jdbc-tool: symbolic link to /usr/share/ovirt-engine-extension-aaa-jdbc/bin/ovirt-aaa-jdbc-tool.sh
[root@R650xs-13-211 ~]#
[root@R650xs-13-211 ~]#
[root@R650xs-13-211 ~]# ls -l /usr/bin/ovirt-aaa-jdbc-tool
lrwxrwxrwx. 1 root root 69 Oct 3 2022 /usr/bin/ovirt-aaa-jdbc-tool -> /usr/share/ovirt-engine-extension-aaa-jdbc/bin/ovirt-aaa-jdbc-tool.sh
[root@R650xs-13-211 ~]#
[root@R650xs-13-211 ~]#
[root@R650xs-13-211 ~]# /usr/bin/ovirt-aaa-jdbc-tool
Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
May 17, 2024 10:57:46 PM org.ovirt.engine.extension.aaa.jdbc.binding.cli.Cli main
SEVERE: Unexpected Exception invoking Cli: Could not read properties from: /etc/ovirt-engine/aaa/internal.properties
[root@R650xs-13-211 ~]#
[root@R650xs-13-211 ~]#
[root@R650xs-13-211 ~]# file /etc/ovirt-engine/aaa/internal.properties
/etc/ovirt-engine/aaa/internal.properties: cannot open `/etc/ovirt-engine/aaa/internal.properties' (No such file or directory)
[root@R650xs-13-211 ~]#
[root@R650xs-13-211 ~]# ls -l /etc/ovirt-engine/aaa/internal.properties
ls: cannot access '/etc/ovirt-engine/aaa/internal.properties': No such file or directory
[root@R650xs-13-211 ~]#
[root@R650xs-13-211 ~]# yum provides "/etc/ovirt-engine/aaa/internal.properties"
Last metadata expiration check: 2:24:30 ago on Fri 17 May 2024 08:34:46 PM IST.
Error: No Matches found
[root@R650xs-13-211 ~]#
Additional context
[root@R650xs-13-211 ~]# cat /var/lib/ovirt-engine/setup/answers/20240517205443-setup.conf
OTOPI answer file, generated by human dialog
[environment:default]
QUESTION/1/GRAFANA_USE_ENGINE_ADMIN_PASSWORD=str:yes
QUESTION/1/KEYCLOAK_USE_ENGINE_ADMIN_PASSWORD=str:yes
QUESTION/1/OVESETUP_APACHE_CONFIG_ROOT_REDIRECTION=str:yes
QUESTION/1/OVESETUP_APACHE_CONFIG_SSL=str:automatic
QUESTION/1/OVESETUP_CONFIG_ADMIN_SETUP=str:netapp@1
QUESTION/1/OVESETUP_CONFIG_APPLICATION_MODE=str:both
QUESTION/1/OVESETUP_CONFIG_SAN_WIPE_AFTER_DELETE=str:no
QUESTION/1/OVESETUP_CONFIG_VMCONSOLE_PROXY=str:yes
QUESTION/1/OVESETUP_CONFIG_WEBSOCKET_PROXY=str:yes
QUESTION/1/OVESETUP_DIALOG_CONFIRM_SETTINGS=str:ok
QUESTION/1/OVESETUP_DWH_ENABLE=str:yes
QUESTION/1/OVESETUP_DWH_PROVISIONING_POSTGRES_ENABLED=str:automatic
QUESTION/1/OVESETUP_DWH_PROVISIONING_POSTGRES_LOCATION=str:local
QUESTION/1/OVESETUP_DWH_SCALE=str:1
QUESTION/1/OVESETUP_ENGINE_ENABLE=str:yes
QUESTION/1/OVESETUP_GRAFANA_ENABLE=str:yes
QUESTION/1/OVESETUP_KEYCLOAK_ENABLE=str:yes
QUESTION/1/OVESETUP_KEYCLOAK_PROVISIONING_POSTGRES_ENABLED=str:automatic
QUESTION/1/OVESETUP_KEYCLOAK_PROVISIONING_POSTGRES_LOCATION=str:local
QUESTION/1/OVESETUP_NETWORK_FQDN_this=str:R650xs-13-211.lab.eng.btc.netapp.in
QUESTION/1/OVESETUP_PKI_ORG=str:lab.eng.btc.netapp.in
QUESTION/1/OVESETUP_PKI_VERIFY_MISSING_CA_PEM=str:yes
QUESTION/1/OVESETUP_PROVISIONING_POSTGRES_ENABLED=str:automatic
QUESTION/1/OVESETUP_PROVISIONING_POSTGRES_LOCATION=str:local
QUESTION/1/OVESETUP_UPDATE_FIREWALL=str:yes
QUESTION/1/ovirt-cinderlib-enable=str:no
QUESTION/1/ovirt-provider-ovn=str:yes
QUESTION/2/OVESETUP_CONFIG_ADMIN_SETUP=str:netapp@1
[root@R650xs-13-211 ~]#
The text was updated successfully, but these errors were encountered: