
Dear Didi, thanks for the answer. it seems that the problem is again the latest release di ansible-core and python3.9. At the end of the file I /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible* on the engine machine I found 2022-10-17 09:33:58 CEST - TASK [ovirt-provider-ovn-driver : Install ovs] ********************************* 2022-10-17 09:33:58 CEST - { "uuid" : "b6692a46-8e8d-47a7-9911-0c97ec17de25", "counter" : 391, "stdout" : "fatal: [odip2.phys.uniroma1.it]: FAILED! => {\"msg\": \"The conditional check 'cluster_switch == \\\"ovs\\\" or (ovn_central is defined and ovn_central | ipaddr)' faile d. 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-p roject/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 li ne appears to be:\\n\\n- block:\\n - name: Install ovs\\n ^ here\\n\"}", "start_line" : 393, "end_line" : 394, "runner_ident" : "e1c34977-ad90-4072-8f37-ac9634b540f8", "event" : "runner_on_failed", "pid" : 101191, "created" : "2022-10-17T07:33:57.718868", "parent_uuid" : "00163e51-5206-c673-1166-00000000003d", "event_data" : { "playbook" : "ovirt-host-deploy.yml", "playbook_uuid" : "44a98a56-0d38-4b58-8d7d-b875c545c544", "play" : "all", "play_uuid" : "00163e51-5206-c673-1166-000000000006", "play_pattern" : "all", "task" : "Install ovs", "task_uuid" : "00163e51-5206-c673-1166-00000000003d", "task_action" : "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" : "odip2.phys.uniroma1.it", "remote_addr" : "odip2.phys.uniroma1.it", "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.ym l': 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" : "2022-10-17T07:33:57.651853", "end" : "2022-10-17T07:33:57.718602", "duration" : 0.066749, "ignore_errors" : null, "event_loop" : null, "uuid" : "b6692a46-8e8d-47a7-9911-0c97ec17de25" } } It complains about the module netaddr of python. And this is the reason while I downgraded ansible-core on the host machine I use to deploy the engine. On the host machine I have: [root@odip2 ~]# dnf list installed | grep ansible ansible-collection-ansible-netcommon.noarch 2.2.0-3.2.el8 @centos-ovirt45 ansible-collection-ansible-posix.noarch 1.3.0-1.2.el8 @centos-ovirt45 ansible-collection-ansible-utils.noarch 2.3.0-2.2.el8 @centos-ovirt45 ansible-core.x86_64 2.12.7-1.el8 @appstream ovirt-ansible-collection.noarch 2.2.2-1.el8 @centos-ovirt45 [root@odip2 ~]# ansible-playbook --version ansible-playbook [core 2.12.7] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 2.11.3 libyaml = True [root@odip2 ~]# dnf list installed | grep netad python3-netaddr.noarch 0.7.19-8.1.1.el8 @centos-ovirt45 python38-netaddr.noarch 0.7.19-8.1.1.el8 @centos-ovirt45 while on the engine machine [root@ovirt-dip ovirt-engine]# dnf list installed | grep ansible ansible-collection-ansible-netcommon.noarch 2.2.0-3.2.el8 @centos-ovirt45 ansible-collection-ansible-posix.noarch 1.3.0-1.2.el8 @centos-ovirt45 ansible-collection-ansible-utils.noarch 2.3.0-2.2.el8 @centos-ovirt45 ansible-core.x86_64 2.13.3-1.el8 @appstream ansible-runner.noarch 2.1.3-1.el8 @centos-ovirt45 ovirt-ansible-collection.noarch 2.2.2-1.el8 @centos-ovirt45 python38-ansible-runner.noarch 2.1.3-1.el8 @centos-ovirt45 [root@ovirt-dip ovirt-engine]# ansible-playbook --version ansible-playbook [core 2.13.3] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, Jun 24 2022, 15:32:51) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 3.1.2 libyaml = True [root@ovirt-dip ovirt-engine]# dnf list installed | grep netad python3-netaddr.noarch 0.7.19-8.1.1.el8 @centos-ovirt45 python38-netaddr.noarch 0.7.19-8.1.1.el8 @centos-ovirt45 No module netaddr for python3.9 Best regards Andrea