[RHV] Host installation fails with "Task Install ovs failed to execute" error
Issue
Deploying RHV Hosted Engine host fails with the following message in the host-deploy log
2023-03-23 17:05:08 CET - TASK [ovirt-provider-ovn-driver : Install ovs] *********************************
2023-03-23 17:05:08 CET - {
"uuid" : "75cb18a8-108f-4f21-96a4-552448f2cae1",
"counter" : 391,
"stdout" : "fatal: [test]: 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" : 393,
"end_line" : 394,
"runner_ident" : "f48e391e-f420-4486-98a4-d04310e149ac",
"event" : "runner_on_failed",
"pid" : 17420,
Environment
- Red Hat Virtualization 4.4 SP1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.