Hi Ricardo,
When searching for SHE deployment errors, grep for error and failed:
grep -i -e error -e failed
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20240415201836-r0gt54.log
If you have the logs available, try again, will be easier to find the cause.
Marcos
-----Original Message-----
From: Ricardo OT <[email protected]>
Sent: Monday, April 15, 2024 4:21 PM
To: [email protected]
Subject: [External] : [ovirt-users] Re: Ovirt Hyperconverged
Hi,
I have recently tried to install the hosted engine on a node recently installed
with Rocky Linux 8.9 with glusterfs and with the nightly oVirt master snapshot
repository, and I have also tried to do the same with the Oracle distribution
and I have not been able to get the installation of the hosted engine to work.
Before this worked. Now I have only managed to install the engine as
standalone. Does anyone know what could be the reason?
:(
greep -i error
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20240415201836-r0gt54.log
-bash: greep: no se encontró la orden
[root@host-01 ~]# grep -i error
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20240415201836-r0gt54.log
2024-04-15 20:18:36,751+0200 DEBUG otopi.context context.dumpEnvironment:775
ENV BASE/error=bool:'False'
2024-04-15 20:18:37,219+0200 DEBUG otopi.context context.dumpEnvironment:775
ENV BASE/error=bool:'False'
errorlevel = 3
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54291
socket.gaierror: [Errno -2] Nombre o servicio desconocido
2024-04-15 20:21:25,754+0200 DEBUG otopi.context context.dumpEnvironment:775
ENV BASE/error=bool:'False'
2024-04-15 20:24:45,966+0200 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109
{'changed': False, 'stdout': '', 'stderr': "error: Falló al obtener la red
'default'\nerror: No se ha encontrado la red: No existe una red que coincida
con el nombre 'default'", 'rc': 1, 'cmd': ['virsh', 'net-undefine', 'default'],
'start': '2024-04-15 20:24:45.653112', 'end': '2024-04-15 20:24:45.737169',
'delta': '0:00:00.084057', 'msg': 'non-zero return code', 'invocation':
{'module_args': {'_raw_params': 'virsh net-undefine default', '_uses_shell':
False, 'warn': False, 'stdin_add_newline': True, 'strip_empty_ends': True,
'argv': None, 'chdir': None, 'executable': None, 'creates': None, 'removes':
None, 'stdin': None}}, 'stdout_lines': [], 'stderr_lines': ["error: Falló al
obtener la red 'default'", "error: No se ha encontrado la red: No existe una
red que coincida con el nombre 'default'"], '_ansible_no_log': None}
2024-04-15 20:24:46,067+0200 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109
ignored: [localhost]: FAILED! => {"changed": false, "cmd": ["virsh",
"net-undefine", "default"], "delta": "0:00:00.084057", "end": "2024-04-15
20:24:45.737169", "msg": "non-zero return code", "rc": 1, "start": "2024-04-15
20:24:45.653112", "stderr": "error: Falló al obtener la red 'default'\nerror:
No se ha encontrado la red: No existe una red que coincida con el nombre
'default'", "stderr_lines": ["error: Falló al obtener la red 'default'",
"error: No se ha encontrado la red: No existe una red que coincida con el
nombre 'default'"], "stdout": "", "stdout_lines": []}
2024-04-15 20:24:50,986+0200 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109
{'changed': False, 'stdout': '', 'stderr': "error: Falló al identificarse la
red default como autoiniciable\nerror: Falló al crear enlace simbólico
'/etc/libvirt/qemu/networks/autostart/default.xml' en
'/etc/libvirt/qemu/networks/default.xml': El fichero ya existe", 'rc': 1,
'cmd': ['virsh', 'net-autostart', 'default'], 'start': '2024-04-15
20:24:49.654500', 'end': '2024-04-15 20:24:50.741081', 'delta':
'0:00:01.086581', 'msg': 'non-zero return code', 'invocation': {'module_args':
{'_raw_params': 'virsh net-autostart default', '_uses_shell': False, 'warn':
False, 'stdin_add_newline': True, 'strip_empty_ends': True, 'argv': None,
'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin':
None}}, 'stdout_lines': [], 'stderr_lines': ['error: Falló al identificarse la
red default como autoiniciable', "error: Falló al crear enlace simbólico
'/etc/libvirt/qemu/networks/autostart/default.xml' en
'/etc/libvirt/qemu/networks/default.xml': El fichero ya existe"],
'_ansible_no_log': None}
2024-04-15 20:24:51,087+0200 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109
ignored: [localhost]: FAILED! => {"changed": false, "cmd": ["virsh",
"net-autostart", "default"], "delta": "0:00:01.086581", "end": "2024-04-15
20:24:50.741081", "msg": "non-zero return code", "rc": 1, "start": "2024-04-15
20:24:49.654500", "stderr": "error: Falló al identificarse la red default como
autoiniciable\nerror: Falló al crear enlace simbólico
'/etc/libvirt/qemu/networks/autostart/default.xml' en
'/etc/libvirt/qemu/networks/default.xml': El fichero ya existe",
"stderr_lines": ["error: Falló al identificarse la red default como
autoiniciable", "error: Falló al crear enlace simbólico
'/etc/libvirt/qemu/networks/autostart/default.xml' en
'/etc/libvirt/qemu/networks/default.xml': El fichero ya existe"], "stdout": "",
"stdout_lines": []}
2024-04-15 20:53:01,873+0200 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109
{'changed': True, 'stdout': "[ INFO ] Stage: Initializing\n[ INFO ] Stage:
Environment setup\n Configuration files:\n
/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf,\n
/etc/ovirt-engine-setup.conf.d/10-packaging.conf,\n
/root/ovirt-engine-answers\n Log file:\n
/var/log/ovirt-engine/setup/ovirt-engine-setup-20240415205205-1hefqa.log\n
Version: otopi-1.10.3 (otopi-1.10.3-1.el8)\n[ INFO ] Stage: Environment
packages setup\n[ INFO ] Stage: Programs detection\n[ INFO ] Stage:
Environment setup (late)\n[ INFO ] Stage: Environment customization\n
\n --== PRODUCT OPTIONS ==--\n \n Configure Cinderlib
integration (Currently in tech preview)\n (Yes, No) [No]:\n
Configure Grafana on this host (Yes, No) [Yes]:\n \n --==
PACKAGES ==--\n \n[ INFO ] Checking for product updates...\n[ INFO ]
DNF El paquete grafana-postgres está disponible, pero no instalado.\n[ INFO ]
No product updates found\n \n --== NETWORK CONFIGURATION
==--\n \n Host fully qualified DNS name of this server\n
[ovirt.domain.local]:\n[ INFO ] firewalld will be configured as firewall
manager.\n \n --== DATABASE CONFIGURATION ==--\n \n
Where is the Keycloak database located? (Local, Remote) [Local]:\n
\n Setup can configure the local postgresql server automatically\n
for the Keycloak to run. This may conflict with existing\n
applications.\n Would you like Setup to automatically configure
postgresql and\n create Keycloak database, or prefer to perform that
manually?\n (Automatic, Manual) [Automatic]:\n \n
--== OVIRT ENGINE CONFIGURATION ==--\n \n Use Engine admin
password as initial keycloak admin password\n (Yes, No) [Yes]:\n
\n --== STORAGE CONFIGURATION ==--\n \n \n
--== PKI CONFIGURATION ==--\n \n Organization name for
certificate [domain.local]:\n \n --== APACHE CONFIGURATION
==--\n \n \n --== SYSTEM CONFIGURATION ==--\n
\n \n --== MISC CONFIGURATION ==--\n \n
Please choose Data Warehouse sampling scale:\n (1) Basic\n
(2) Full\n (1, 2)[1]:\n Use Engine admin password as initial
Grafana admin password\n (Yes, No) [Yes]:\n \n --==
END OF CONFIGURATION ==--\n \n[ INFO ] Stage: Setup
validation\n[WARNING] Less than 16384MB of memory is available\n \n
--== CONFIGURATION PREVIEW ==--\n \n Application mode
: both\n Default SAN wipe after delete :
False\n Host FQDN : ovirt.domain.local\n
Firewall manager : firewalld\n Update
Firewall : True\n Set up Cinderlib integration
: False\n Configure local Engine database : True\n
Set application as default page : True\n Configure
Apache SSL : True\n Keycloak installation
: True\n Engine database host : localhost\n
Engine database port : 5432\n Engine
database secured connection : False\n Engine database host name
validation : False\n Engine database name :
engine\n Engine database user name : engine\n
Engine installation : True\n PKI organization
: domain.local\n Set up ovirt-provider-ovn
: False\n DWH installation : True\n
DWH database host : localhost\n DWH database
port : 5432\n DWH database secured connection
: False\n DWH database host name validation : False\n
DWH database name : ovirt_engine_history\n
Configure local DWH database : True\n Grafana integration
: True\n Grafana database user name :\n
ovirt_engine_history_grafana\n Keycloak database host
: localhost\n Keycloak database port :
5432\n Keycloak database secured connection : False\n
Keycloak database host name validation : False\n Keycloak database
name : ovirt_engine_keycloak\n Keycloak database user
name : ovirt_engine_keycloak\n Configure local Keycloak
database : True\n Configure VMConsole Proxy :
True\n Configure WebSocket Proxy : True\n[ INFO ]
Stage: Transaction setup\n[ INFO ] Stopping engine service\n[ INFO ] Stopping
ovirt-fence-kdump-listener service\n[ INFO ] Stopping dwh service\n[ INFO ]
Stopping vmconsole-proxy service\n[ INFO ] Stopping websocket-proxy service\n[
INFO ] Stage: Misc configuration (early)\n[ INFO ] Stage: Package
installation\n[ INFO ] Stage: Misc configuration\n[ INFO ] Upgrading CA\n[
INFO ] Initializing PostgreSQL\n[ INFO ] Creating PostgreSQL 'engine'
database\n[ INFO ] Configuring PostgreSQL\n[ INFO ] Creating PostgreSQL
'ovirt_engine_history' database\n[ INFO ] Configuring PostgreSQL\n[ INFO ]
Creating PostgreSQL 'ovirt_engine_keycloak' database\n[ INFO ] Configuring
PostgreSQL\n[ INFO ] Creating CA: /etc/pki/ovirt-engine/ca.pem\n[ ERROR ]
Failed to execute stage 'Misc configuration': Command
'/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute\n[ INFO ]
DNF Performing DNF transaction rollback\n[ INFO ] Stage: Clean up\n
Log file is located at\n
/var/log/ovirt-engine/setup/ovirt-engine-setup-20240415205205-1hefqa.log\n[
INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20240415205301-setup.conf'\n[ INFO ]
Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ] Execution of
setup failed", 'stderr': '', 'rc': 1, 'cmd': ['engine-setup',
'--accept-defaults', '--config-append=/root/ovirt-engine-answers'], 'start':
'2024-04-15 20:52:04.186797', 'end': '2024-04-15 20:53:01.523163', 'delta':
'0:00:57.336366', 'msg': 'non-zero return code', 'invocation': {'module_args':
{'_raw_params': 'engine-setup --accept-defaults
--config-append=/root/ovirt-engine-answers ', '_uses_shell': False, 'warn':
False, 'stdin_add_newline': True, 'strip_empty_ends': True, 'argv': None,
'chdir': None, 'executable': None, 'creates': None, 'removes': None, 'stdin':
None}}, 'stdout_lines': ['[ 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,', '
/root/ovirt-engine-answers', ' Log file:', '
/var/log/ovirt-engine/setup/ovirt-engine-setup-20240415205205-1hefqa.log', '
Version: otopi-1.10.3 (otopi-1.10.3-1.el8)', '[ INFO ] Stage:
Environment packages setup', '[ INFO ] Stage: Programs detection', '[ INFO ]
Stage: Environment setup (late)', '[ INFO ] Stage: Environment customization',
' ', ' --== PRODUCT OPTIONS ==--', ' ', '
Configure Cinderlib integration (Currently in tech preview)', ' (Yes,
No) [No]:', ' Configure Grafana on this host (Yes, No) [Yes]:', '
', ' --== PACKAGES ==--', ' ', '[ INFO ] Checking for
product updates...', '[ INFO ] DNF El paquete grafana-postgres está
disponible, pero no instalado.', '[ INFO ] No product updates found', '
', ' --== NETWORK CONFIGURATION ==--', ' ', ' Host
fully qualified DNS name of this server', ' [ovirt.domain.local]:', '[
INFO ] firewalld will be configured as firewall manager.', ' ', '
--== DATABASE CONFIGURATION ==--', ' ', ' Where is the
Keycloak database located? (Local, Remote) [Local]:', ' ', '
Setup can configure the local postgresql server automatically', ' for
the Keycloak to run. This may conflict with existing', '
applications.', ' Would you like Setup to automatically configure
postgresql and', ' create Keycloak database, or prefer to perform that
manually?', ' (Automatic, Manual) [Automatic]:', ' ', '
--== OVIRT ENGINE CONFIGURATION ==--', ' ', ' Use Engine
admin password as initial keycloak admin password', ' (Yes, No)
[Yes]:', ' ', ' --== STORAGE CONFIGURATION ==--', ' ',
' ', ' --== PKI CONFIGURATION ==--', ' ', '
Organization name for certificate [domain.local]:', ' ', '
--== APACHE CONFIGURATION ==--', ' ', ' ', ' --==
SYSTEM CONFIGURATION ==--', ' ', ' ', ' --== MISC
CONFIGURATION ==--', ' ', ' Please choose Data Warehouse
sampling scale:', ' (1) Basic', ' (2) Full', ' (1,
2)[1]:', ' Use Engine admin password as initial Grafana admin
password', ' (Yes, No) [Yes]:', ' ', ' --== END OF
CONFIGURATION ==--', ' ', '[ INFO ] Stage: Setup validation',
'[WARNING] Less than 16384MB of memory is available', ' ', '
--== CONFIGURATION PREVIEW ==--', ' ', ' Application mode
: both', ' Default SAN wipe after delete :
False', ' Host FQDN :
ovirt.domain.local', ' Firewall manager :
firewalld', ' Update Firewall : True', '
Set up Cinderlib integration : False', ' Configure local
Engine database : True', ' Set application as default page
: True', ' Configure Apache SSL : True', '
Keycloak installation : True', ' Engine database
host : localhost', ' Engine database port
: 5432', ' Engine database secured connection : False',
' Engine database host name validation : False', ' Engine
database name : engine', ' Engine database user
name : engine', ' Engine installation
: True', ' PKI organization : domain.local', '
Set up ovirt-provider-ovn : False', ' DWH
installation : True', ' DWH database host
: localhost', ' DWH database port
: 5432', ' DWH database secured connection : False', '
DWH database host name validation : False', ' DWH database
name : ovirt_engine_history', ' Configure local
DWH database : True', ' Grafana integration
: True', ' Grafana database user name :', '
ovirt_engine_history_grafana', ' Keycloak database host
: localhost', ' Keycloak database port : 5432', '
Keycloak database secured connection : False', ' Keycloak
database host name validation : False', ' Keycloak database name
: ovirt_engine_keycloak', ' Keycloak database user name
: ovirt_engine_keycloak', ' Configure local Keycloak database
: True', ' Configure VMConsole Proxy : True', '
Configure WebSocket Proxy : True', '[ 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 ] Initializing PostgreSQL', "[ 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', "[ ERROR ] Failed to execute stage 'Misc
configuration': Command '/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh'
failed to execute", '[ INFO ] DNF Performing DNF transaction rollback', '[
INFO ] Stage: Clean up', ' Log file is located at', '
/var/log/ovirt-engine/setup/ovirt-engine-setup-20240415205205-1hefqa.log', "[
INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20240415205301-setup.conf'", '[ INFO ]
Stage: Pre-termination', '[ INFO ] Stage: Termination', '[ ERROR ] Execution
of setup failed'], 'stderr_lines': [], 'warnings': ['Platform linux on host
localhost is using the discovered Python interpreter at /usr/bin/python3.9, but
future installation of another Python interpreter could change the meaning of
that path. See
https://urldefense.com/v3/__https://docs.ansible.com/ansible-core/2.13/reference_appendices/interpreter_discovery.html__;!!ACWV5N9M2RV99hQ!J0eAP2Jy1dPj7rJKGOqgnMSAIphwiOiu35rKBDwR6Wn-X-l0YMMAZ9qBUC610TfjcqQZNkZ2aZnJlU8hUcmcGw$
for more information.'], '_ansible_no_log': None, '_ansible_delegated_vars':
{'ansible_host': '192.168.1.154', 'ansible_port': None, 'ansible_user': 'root',
'ansible_connection': 'smart'}}
2024-04-15 20:53:01,974+0200 ERROR
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:113
fatal: [localhost -> 192.168.1.154]: FAILED! => {"changed": true, "cmd":
["engine-setup", "--accept-defaults",
"--config-append=/root/ovirt-engine-answers"], "delta": "0:00:57.336366",
"end": "2024-04-15 20:53:01.523163", "msg": "non-zero return code", "rc": 1,
"start": "2024-04-15 20:52:04.186797", "stderr": "", "stderr_lines": [],
"stdout": "[ INFO ] Stage: Initializing\n[ INFO ] Stage: Environment setup\n
Configuration files:\n
/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf,\n
/etc/ovirt-engine-setup.conf.d/10-packaging.conf,\n
/root/ovirt-engine-answers\n Log file:\n
/var/log/ovirt-engine/setup/ovirt-engine-setup-20240415205205-1hefqa.log\n
Version: otopi-1.10.3 (otopi-1.10.3-1.el8)\n[ INFO ] Stage: Environment
packages setup\n[ INFO ] Stage: Programs detection\n[ INFO ] Stage:
Environment setup (late)\n[ INFO ] Stage: Environment customization\n
\n --== PRODUCT OPTIONS ==--\n \n Configure Cinderlib
integration (Currently in tech preview)\n (Yes, No) [No]:\n
Configure Grafana on this host (Yes, No) [Yes]:\n \n --==
PACKAGES ==--\n \n[ INFO ] Checking for product updates...\n[ INFO ]
DNF El paquete grafana-postgres está disponible, pero no instalado.\n[ INFO ]
No product updates found\n \n --== NETWORK CONFIGURATION
==--\n \n Host fully qualified DNS name of this server\n
[ovirt.domain.local]:\n[ INFO ] firewalld will be configured as firewall
manager.\n \n --== DATABASE CONFIGURATION ==--\n \n
Where is the Keycloak database located? (Local, Remote) [Local]:\n
\n Setup can configure the local postgresql server automatically\n
for the Keycloak to run. This may conflict with existing\n
applications.\n Would you like Setup to automatically configure
postgresql and\n create Keycloak database, or prefer to perform that
manually?\n (Automatic, Manual) [Automatic]:\n \n
--== OVIRT ENGINE CONFIGURATION ==--\n \n Use Engine admin
password as initial keycloak admin password\n (Yes, No) [Yes]:\n
\n --== STORAGE CONFIGURATION ==--\n \n \n
--== PKI CONFIGURATION ==--\n \n Organization name for
certificate [domain.local]:\n \n --== APACHE CONFIGURATION
==--\n \n \n --== SYSTEM CONFIGURATION ==--\n
\n \n --== MISC CONFIGURATION ==--\n \n
Please choose Data Warehouse sampling scale:\n (1) Basic\n
(2) Full\n (1, 2)[1]:\n Use Engine admin password as initial
Grafana admin password\n (Yes, No) [Yes]:\n \n --==
END OF CONFIGURATION ==--\n \n[ INFO ] Stage: Setup
validation\n[WARNING] Less than 16384MB of memory is available\n \n
--== CONFIGURATION PREVIEW ==--\n \n Application mode
: both\n Default SAN wipe after delete :
False\n Host FQDN : ovirt.domain.local\n
Firewall manager : firewalld\n Update
Firewall : True\n Set up Cinderlib integration
: False\n Configure local Engine database : True\n
Set application as default page : True\n Configure
Apache SSL : True\n Keycloak installation
: True\n Engine database host : localhost\n
Engine database port : 5432\n Engine
database secured connection : False\n Engine database host name
validation : False\n Engine database name :
engine\n Engine database user name : engine\n
Engine installation : True\n PKI organization
: domain.local\n Set up ovirt-provider-ovn
: False\n DWH installation : True\n
DWH database host : localhost\n DWH database
port : 5432\n DWH database secured connection
: False\n DWH database host name validation : False\n
DWH database name : ovirt_engine_history\n
Configure local DWH database : True\n Grafana integration
: True\n Grafana database user name :\n
ovirt_engine_history_grafana\n Keycloak database host
: localhost\n Keycloak database port :
5432\n Keycloak database secured connection : False\n
Keycloak database host name validation : False\n Keycloak database
name : ovirt_engine_keycloak\n Keycloak database user
name : ovirt_engine_keycloak\n Configure local Keycloak
database : True\n Configure VMConsole Proxy :
True\n Configure WebSocket Proxy : True\n[ INFO ]
Stage: Transaction setup\n[ INFO ] Stopping engine service\n[ INFO ] Stopping
ovirt-fence-kdump-listener service\n[ INFO ] Stopping dwh service\n[ INFO ]
Stopping vmconsole-proxy service\n[ INFO ] Stopping websocket-proxy service\n[
INFO ] Stage: Misc configuration (early)\n[ INFO ] Stage: Package
installation\n[ INFO ] Stage: Misc configuration\n[ INFO ] Upgrading CA\n[
INFO ] Initializing PostgreSQL\n[ INFO ] Creating PostgreSQL 'engine'
database\n[ INFO ] Configuring PostgreSQL\n[ INFO ] Creating PostgreSQL
'ovirt_engine_history' database\n[ INFO ] Configuring PostgreSQL\n[ INFO ]
Creating PostgreSQL 'ovirt_engine_keycloak' database\n[ INFO ] Configuring
PostgreSQL\n[ INFO ] Creating CA: /etc/pki/ovirt-engine/ca.pem\n[ ERROR ]
Failed to execute stage 'Misc configuration': Command
'/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute\n[ INFO ]
DNF Performing DNF transaction rollback\n[ INFO ] Stage: Clean up\n
Log file is located at\n
/var/log/ovirt-engine/setup/ovirt-engine-setup-20240415205205-1hefqa.log\n[
INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20240415205301-setup.conf'\n[ INFO ]
Stage: Pre-termination\n[ INFO ] Stage: Termination\n[ ERROR ] Execution of
setup failed", "stdout_lines": ["[ 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,", "
/root/ovirt-engine-answers", " Log file:", "
/var/log/ovirt-engine/setup/ovirt-engine-setup-20240415205205-1hefqa.log", "
Version: otopi-1.10.3 (otopi-1.10.3-1.el8)", "[ INFO ] Stage:
Environment packages setup", "[ INFO ] Stage: Programs detection", "[ INFO ]
Stage: Environment setup (late)", "[ INFO ] Stage: Environment customization",
" ", " --== PRODUCT OPTIONS ==--", " ", "
Configure Cinderlib integration (Currently in tech preview)", " (Yes,
No) [No]:", " Configure Grafana on this host (Yes, No) [Yes]:", "
", " --== PACKAGES ==--", " ", "[ INFO ] Checking for
product updates...", "[ INFO ] DNF El paquete grafana-postgres está
disponible, pero no instalado.", "[ INFO ] No product updates found", "
", " --== NETWORK CONFIGURATION ==--", " ", " Host
fully qualified DNS name of this server", " [ovirt.domain.local]:", "[
INFO ] firewalld will be configured as firewall manager.", " ", "
--== DATABASE CONFIGURATION ==--", " ", " Where is the
Keycloak database located? (Local, Remote) [Local]:", " ", "
Setup can configure the local postgresql server automatically", " for
the Keycloak to run. This may conflict with existing", "
applications.", " Would you like Setup to automatically configure
postgresql and", " create Keycloak database, or prefer to perform that
manually?", " (Automatic, Manual) [Automatic]:", " ", "
--== OVIRT ENGINE CONFIGURATION ==--", " ", " Use Engine
admin password as initial keycloak admin password", " (Yes, No)
[Yes]:", " ", " --== STORAGE CONFIGURATION ==--", " ",
" ", " --== PKI CONFIGURATION ==--", " ", "
Organization name for certificate [domain.local]:", " ", "
--== APACHE CONFIGURATION ==--", " ", " ", " --==
SYSTEM CONFIGURATION ==--", " ", " ", " --== MISC
CONFIGURATION ==--", " ", " Please choose Data Warehouse
sampling scale:", " (1) Basic", " (2) Full", " (1,
2)[1]:", " Use Engine admin password as initial Grafana admin
password", " (Yes, No) [Yes]:", " ", " --== END OF
CONFIGURATION ==--", " ", "[ INFO ] Stage: Setup validation",
"[WARNING] Less than 16384MB of memory is available", " ", "
--== CONFIGURATION PREVIEW ==--", " ", " Application mode
: both", " Default SAN wipe after delete :
False", " Host FQDN :
ovirt.domain.local", " Firewall manager :
firewalld", " Update Firewall : True", "
Set up Cinderlib integration : False", " Configure local
Engine database : True", " Set application as default page
: True", " Configure Apache SSL : True", "
Keycloak installation : True", " Engine database
host : localhost", " Engine database port
: 5432", " Engine database secured connection : False",
" Engine database host name validation : False", " Engine
database name : engine", " Engine database user
name : engine", " Engine installation
: True", " PKI organization : domain.local", "
Set up ovirt-provider-ovn : False", " DWH
installation : True", " DWH database host
: localhost", " DWH database port
: 5432", " DWH database secured connection : False", "
DWH database host name validation : False", " DWH database
name : ovirt_engine_history", " Configure local
DWH database : True", " Grafana integration
: True", " Grafana database user name :", "
ovirt_engine_history_grafana", " Keycloak database host
: localhost", " Keycloak database port : 5432", "
Keycloak database secured connection : False", " Keycloak
database host name validation : False", " Keycloak database name
: ovirt_engine_keycloak", " Keycloak database user name
: ovirt_engine_keycloak", " Configure local Keycloak database
: True", " Configure VMConsole Proxy : True", "
Configure WebSocket Proxy : True", "[ 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 ] Initializing PostgreSQL", "[ 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", "[ ERROR ] Failed to execute stage 'Misc
configuration': Command '/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh'
failed to execute", "[ INFO ] DNF Performing DNF transaction rollback", "[
INFO ] Stage: Clean up", " Log file is located at", "
/var/log/ovirt-engine/setup/ovirt-engine-setup-20240415205205-1hefqa.log", "[
INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20240415205301-setup.conf'", "[ INFO ]
Stage: Pre-termination", "[ INFO ] Stage: Termination", "[ ERROR ] Execution
of setup failed"], "warnings": ["Platform linux on host localhost is using the
discovered Python interpreter at /usr/bin/python3.9, but future installation of
another Python interpreter could change the meaning of that path. See
https://urldefense.com/v3/__https://docs.ansible.com/ansible-core/2.13/reference_appendices/interpreter_discovery.html__;!!ACWV5N9M2RV99hQ!J0eAP2Jy1dPj7rJKGOqgnMSAIphwiOiu35rKBDwR6Wn-X-l0YMMAZ9qBUC610TfjcqQZNkZ2aZnJlU8hUcmcGw$
for more information."]}
2024-04-15 20:53:42,391+0200 ERROR
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:113
fatal: [localhost]: FAILED! => {"changed": false, "msg": "There was a failure
deploying the engine on the local engine VM. The system may not be provisioned
according to the playbook results: please check the logs for the issue, fix
accordingly or re-deploy from scratch.\n"}
raise RuntimeError(_('Failed executing ansible-playbook'))
RuntimeError: Failed executing ansible-playbook
2024-04-15 20:53:43,101+0200 ERROR otopi.context context._executeMethod:154
Failed to execute stage 'Closing up': Failed executing ansible-playbook
2024-04-15 20:53:43,102+0200 DEBUG otopi.context context.dumpEnvironment:775
ENV BASE/error=bool:'True'
2024-04-15 20:53:43,102+0200 DEBUG otopi.context context.dumpEnvironment:775
ENV BASE/exceptionInfo=list:'[(<class 'RuntimeError'>, RuntimeError('Failed
executing ansible-playbook',), <traceback object at 0x7feae6ff5088>)]'
2024-04-15 20:53:47,744+0200 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109
{'msg': "The task includes an option with an undefined variable. The error was:
'local_vm_ip' is undefined\n\nThe error appears to be in
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/sync_on_engine_machine.yml':
line 2, column 3, but may\nbe elsewhere in the file depending on the exact
syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Set the
name for add_host\n ^ here\n", '_ansible_no_log': False}
2024-04-15 20:53:47,845+0200 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109
ignored: [localhost]: FAILED! => {"msg": "The task includes an option with an
undefined variable. The error was: 'local_vm_ip' is undefined\n\nThe error
appears to be in
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/sync_on_engine_machine.yml':
line 2, column 3, but may\nbe elsewhere in the file depending on the exact
syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Set the
name for add_host\n ^ here\n"}
2024-04-15 20:53:49,554+0200 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109
{'msg': "The field 'delegate_to' has an invalid value, which includes an
undefined variable. The error was: 'dict object' has no attribute
'engine'\n\nThe error appears to be in
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/sync_on_engine_machine.yml':
line 7, column 3, but may\nbe elsewhere in the file depending on the exact
syntax problem.\n\nThe offending line appears to be:\n\n import_tasks:
add_engine_as_ansible_host.yml\n- name: Sync on engine machine\n ^ here\n",
'_ansible_no_log': None}
2024-04-15 20:53:49,655+0200 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109
ignored: [localhost]: FAILED! => {"msg": "The field 'delegate_to' has an
invalid value, which includes an undefined variable. The error was: 'dict
object' has no attribute 'engine'\n\nThe error appears to be in
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/sync_on_engine_machine.yml':
line 7, column 3, but may\nbe elsewhere in the file depending on the exact
syntax problem.\n\nThe offending line appears to be:\n\n import_tasks:
add_engine_as_ansible_host.yml\n- name: Sync on engine machine\n ^ here\n"}
2024-04-15 20:54:18,873+0200 DEBUG otopi.context context.dumpEnvironment:775
ENV BASE/error=bool:'True'
2024-04-15 20:54:18,873+0200 DEBUG otopi.context context.dumpEnvironment:775
ENV BASE/exceptionInfo=list:'[(<class 'RuntimeError'>, RuntimeError('Failed
executing ansible-playbook',), <traceback object at 0x7feae6ff5088>)]'
2024-04-15 20:54:18,907+0200 ERROR otopi.plugins.gr_he_common.core.misc
misc._terminate:167 Hosted Engine deployment failed: please check the logs for
the issue, fix accordingly or re-deploy from scratch.
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected] Privacy Statement:
https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!ACWV5N9M2RV99hQ!J0eAP2Jy1dPj7rJKGOqgnMSAIphwiOiu35rKBDwR6Wn-X-l0YMMAZ9qBUC610TfjcqQZNkZ2aZnJlU-4FGlGcQ$
oVirt Code of Conduct:
https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-guidelines/__;!!ACWV5N9M2RV99hQ!J0eAP2Jy1dPj7rJKGOqgnMSAIphwiOiu35rKBDwR6Wn-X-l0YMMAZ9qBUC610TfjcqQZNkZ2aZnJlU9dSXX9Og$
List Archives:
https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/[email protected]/message/FXBHQV5JWP5AVP6DILISO3FC45W5BAM4/__;!!ACWV5N9M2RV99hQ!J0eAP2Jy1dPj7rJKGOqgnMSAIphwiOiu35rKBDwR6Wn-X-l0YMMAZ9qBUC610TfjcqQZNkZ2aZnJlU8gzLHTkw$
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/6CFPJGF6BAIUU6RILDSVNXRMP3NTAKQX/