On Wed, Jun 12, 2019 at 2:32 PM Ahmad Khiet <akhiet@redhat.com> wrote:
>
> Hi,
>
> Can't add new host to ovirt engine, because the following error:
>
> 2019-06-12 12:23:09,664 p=4134 u=engine | TASK [ovirt-host-deploy-facts : Set facts] *************************************
> 2019-06-12 12:23:09,684 p=4134 u=engine | ok: [10.35.1.17] => {
> "ansible_facts": {
> "ansible_python_interpreter": "/usr/bin/python2",
> "host_deploy_vdsm_version": "4.40.0"
> },
> "changed": false
> }
> 2019-06-12 12:23:09,697 p=4134 u=engine | TASK [ovirt-provider-ovn-driver : Install ovs] *********************************
> 2019-06-12 12:23:09,726 p=4134 u=engine | fatal: [10.35.1.17]: FAILED! => {}
>
> MSG:
>
> The conditional check 'cluster_switch == "ovs" or (ovn_central is defined and ovn_central | ipaddr and ovn_engine_cluster_version is version_compare('4.2', '>='))' failed. The error was: The ipaddr filter requires python's netaddr be installed on the ansible controller
>
> The error appears to be in '/home/engine/apps/engine/share/ovirt-engine/playbooks/roles/ovirt-provider-ovn-driver/tasks/configure.yml': line 3, column 5, but may
> be elsewhere in the file depending on the exact syntax problem.
>
> The offending line appears to be:
>
> - block:
> - name: Install ovs
> ^ here
>
>
> 2019-06-12 12:23:09,728 p=4134 u=engine | PLAY RECAP *********************************************************************
> 2019-06-12 12:23:09,728 p=4134 u=engine | 10.35.1.17 : ok=3 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
>
>
> whats missing!?
Most likely python-netaddr (or python2-netaddr). This is already in
the spec file. I assume you use dev env and followed the README. If
this works, please push a patch to update it. Thanks :-)
Best regards,
>
> Thanks
>
> --
>
> Ahmad Khiet
>
> Red Hat
>
> akhiet@redhat.com
> M: +972-54-6225629
>
> _______________________________________________
> Devel mailing list -- devel@ovirt.org
> To unsubscribe send an email to devel-leave@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/DHM2YHUDKY2HZIIQG224AZHIJQZUY5DE/
--
Didi