Hi, Alin.
Thanks for the help...
So... I've checked both the HostedEngineLocal and the host
to try to understand and I still can't find where the problem
is...
It seems to me that the engine after the initial deployment
of the engine, it cannot connect to the host, but it stays
active until it timeout
Deploy:
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Ensure that the target
cluster is present in the target datacenter]
[ INFO ] ok: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Check actual cluster
location]
[ INFO ] skipping: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Enable GlusterFS at
cluster level]
[ INFO ] skipping: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Set VLAN ID at
datacenter level]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Get active list of
active firewalld zones]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Configure libvirt
firewalld zone]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Reload firewall-cmd]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Add host]
[ INFO ] changed: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Include after_add_host
tasks files]
[ INFO ] skipping: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] skipping: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Always revoke the SSO
token]
[ INFO ] ok: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Obtain SSO token using
username/password credentials]
[ INFO ] ok: [localhost]
[ INFO ] TASK
[ovirt.ovirt.hosted_engine_setup : Wait for the host to be
up]
journalctl -f in the host:
Jul 05 20:15:35
ksmmi1r02ovirt36.kosmo.cloud
ansible-async_wrapper.py[747899]: 747900 still running
(85395)
Jul 05 20:15:40
ksmmi1r02ovirt36.kosmo.cloud
ansible-async_wrapper.py[747899]: 747900 still running
(85390)
Jul 05 20:15:41
ksmmi1r02ovirt36.kosmo.cloud libvirtd[756173]: Domain id=1
name='HostedEngineLocal'
uuid=7bda1023-6bdd-49b7-a41d-ed0b7354901b is tainted:
custom-ga-command
Jul 05 20:15:45
ksmmi1r02ovirt36.kosmo.cloud platform-python[797213]:
ansible-ovirt_host_info Invoked with
pattern=name=ksmmi1r02ovirt36.kosmo.cloud auth={'token':
'eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICIyb0RGNi1hSE9fSms0RTJfdnZTSTRaemNJbDRmaUY2LVBLY1VDOXliVDRBIn0.eyJleHAiOjE2ODg2MTUyNzgsImlhdCI6MTY4ODU5Nzk5OCwianRpIjoiYTk1NmQ5Y2MtZTBiNy00NTAwLTkwODktNDRmNzlkYmYwMGU4IiwiaXNzIjoiaHR0cHM6Ly9rc21lbmdpbmUwMS5rb3Ntby5jbG91ZC9vdmlydC1lbmdpbmUtYXV0aC9yZWFsbXMvb3ZpcnQtaW50ZXJuYWwiLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiYmVlNTZjNTktYTJmZC00ZDhkLTk2ZjktYzNhZDg1NDMyYjk2IiwidHlwIjoiQmVhcmVyIiwiYXpwIjoib3ZpcnQtZW5naW5lLWludGVybmFsIiwic2Vzc2lvbl9zdGF0ZSI6IjkwNTNiZTU4LWU3MDAtNDk2ZC04NGU2LTQ2NDgzNmIyNmY4ZCIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cHM6Ly9rc21lbmdpbmUwMS5rb3Ntby5jbG91ZCJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZGVmYXVsdC1yb2xlcy1vdmlydC1pbnRlcm5hbCIsIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6ImVtYWlsIG92aXJ0LWV4dD10b2tlbi1pbmZvOnZhbGlkYXRlIG92aXJ0LWV4dD10b2tlbi1pbmZvOnB1YmxpYy1hdXRoei1zZWFyY2ggb3ZpcnQtZXh0PXRva2VuOnBhc3N3b3JkLWFjY2VzcyBwcm9maWxlIG92aXJ0LWFwcC1hcGkgb3ZpcnQtZXh0PXRva2VuLWluZm86YXV0aHotc2VhcmNoIiwic2lkIjoiOTA1M2JlNTgtZTcwMC00OTZkLTg0ZTYtNDY0ODM2YjI2ZjhkIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJncm91cHMiOlsiL292aXJ0LWFkbWluaXN0cmF0b3IiXSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW5Ab3ZpcnQiLCJlbWFpbCI6ImFkbWluQGxvY2FsaG9zdCJ9.dNKDgdhfllUC7IqH5cm2E-YwETmiy-ET4i0K9p49dXwcZOTTUql_w-_r59m2dYdEh3czBF9KYCp7SEHSJQ9ZbMKtGnLsP5B7mEvfQSDrlYCV_VaLZr4PuLIom-sJZAA8cWShOsqvbMb3Qju3b3vIwdwhgHEhyMKOpRTSYSSOOUR0KheUEa0bdyXXHWHyB186Smsi9HCV30gXTzKRkQWh8tT9LliSknU4HJu36Cx5H3gtIkhMujnJMqQB9aWzu_Zv6L3SkbdW4ovDyML6ekw1T1PSpoTUGctOAwFxG-B2GNkEubHBrV101wOg1Mpofxu-hsx0Gw0y-SA2KH1KqxZWsw',
'url': 'https://ksmengine01.kosmo.cloud/ovirt-engine/api',
'ca_file': None, 'insecure': True, 'timeout': 0,
'compress': True, 'kerberos': False, 'headers': None,
'hostname': None, 'username': None, 'password': None}
fetch_nested=False nested_attributes=[] follow=[]
all_content=False cluster_version=None
Jul 05 20:15:45
ksmmi1r02ovirt36.kosmo.cloud
ansible-async_wrapper.py[747899]: 747900 still running
(85385)
Jul 05 20:15:50
ksmmi1r02ovirt36.kosmo.cloud
ansible-async_wrapper.py[747899]: 747900 still running
(85380)
cat
/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20230705195937-ksmmi1r02ovirt36.kosmo.cloud-547a5131-0afc-4c35-a2f4-6fca84257d43.log
2023-07-05 20:00:56 BRT - {
"uuid" :
"16db3973-922d-4ab0-b3e9-cf66bb58ee0b",
"counter" : 402,
"stdout" : "fatal:
[ksmmi1r02ovirt36.kosmo.cloud]: FAILED! => {\"msg\":
\"The conditional check 'cluster_switch == \\\"ovs\\\" or
(ovn_central is defined and ovn_central | ipaddr)' failed.
The error was: The ipaddr filter requires python's netaddr
be installed on the ansible controller\\n\\nThe error
appears to be in
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
line 3, column 5, but may\\nbe elsewhere in the file
depending on the exact syntax problem.\\n\\nThe offending
line appears to be:\\n\\n- block:\\n - name: Install
ovs\\n ^ here\\n\"}",
"start_line" : 397,
"end_line" : 398,
"runner_ident" :
"174e7b14-caab-4dd1-aa36-b91c12d773fc",
"event" : "runner_on_failed",
"pid" : 104844,
"created" :
"2023-07-05T23:00:53.742009",
"parent_uuid" :
"00163e60-1422-b24b-659e-00000000003a",
"event_data" : {
"playbook" :
"ovirt-host-deploy.yml",
"playbook_uuid" :
"049661a3-1dab-4e52-8fc5-fcb1f8728080",
"play" : "all",
"play_uuid" :
"00163e60-1422-b24b-659e-000000000002",
"play_pattern" : "all",
"task" : "Install ovs",
"task_uuid" :
"00163e60-1422-b24b-659e-00000000003a",
"task_action" :
"ansible.builtin.package",
"task_args" : "",
"task_path" :
"/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml:3",
"role" :
"ovirt-provider-ovn-driver",
"host" :
"ksmmi1r02ovirt36.kosmo.cloud",
"remote_addr" :
"ksmmi1r02ovirt36.kosmo.cloud",
"res" : {
"msg" : "The conditional
check 'cluster_switch == \"ovs\" or (ovn_central is
defined and ovn_central | ipaddr)' failed. The error was:
The ipaddr filter requires python's netaddr be installed
on the ansible controller\n\nThe error appears to be in
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
line 3, column 5, but may\nbe elsewhere in the file
depending on the exact syntax problem.\n\nThe offending
line appears to be:\n\n- block:\n - name: Install ovs\n
^ here\n",
"_ansible_no_log" : false
},
"start" :
"2023-07-05T23:00:53.674718",
"end" :
"2023-07-05T23:00:53.741867",
"duration" : 0.067149,
"ignore_errors" : null,
"event_loop" : null,
"uuid" :
"16db3973-922d-4ab0-b3e9-cf66bb58ee0b"
}
Now I'm testing with the EL8, and it still doesn't work.
The ISO I'm using is ovirt-node-ng-installer-4.5.4-2022120615.el8.iso
BR.