Error: Adding new Host to ovirt-engine

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!? Thanks -- Ahmad Khiet Red Hat <https://www.redhat.com/> akhiet@redhat.com M: +972-54-6225629 <https://red.ht/sig>

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/DHM2YHUDKY2HZI...
-- Didi

Thanks Yedidyah, python-netaddr is already installed. tried on master, ovirt-engine-4.3, ovirt-engine--4.3.4.2 and I'm facing the same problem what do you think? On Thu, Jun 13, 2019 at 12:09 PM Yedidyah Bar David <didi@redhat.com> wrote:
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
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':
: Set facts] ************************************* 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/DHM2YHUDKY2HZI...
-- Didi
-- Ahmad Khiet Red Hat <https://www.redhat.com/> akhiet@redhat.com M: +972-54-6225629 <https://red.ht/sig>

Ahmad, are you using development environment or RPM installation? What distribution? Ondro/Dominik, any ideas what could be wrong? On Fri, Jun 14, 2019 at 12:58 AM Ahmad Khiet <akhiet@redhat.com> wrote:
Thanks Yedidyah,
python-netaddr is already installed. tried on master, ovirt-engine-4.3, ovirt-engine--4.3.4.2 and I'm facing the same problem
what do you think?
On Thu, Jun 13, 2019 at 12:09 PM Yedidyah Bar David <didi@redhat.com> wrote:
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
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':
[ovirt-host-deploy-facts : Set facts] ************************************* 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/DHM2YHUDKY2HZI...
-- Didi
--
Ahmad Khiet
Red Hat <https://www.redhat.com/>
akhiet@redhat.com M: +972-54-6225629 <https://red.ht/sig> _______________________________________________ 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/S733WJWMSH4GYV...
-- Martin Perina Manager, Software Engineering Red Hat Czech s.r.o.

What distribution are you using? On Fedora 28+ default python version is python3. So just double check that for your system (where engine runs) you have installed python3-netaddr if it's using python3 or python2- netaddr if you are using python2 as default python interpreter for Ansible. On 14/06/2019 14:12, Martin Perina wrote:
Ahmad, are you using development environment or RPM installation? What distribution? Ondro/Dominik, any ideas what could be wrong?
On Fri, Jun 14, 2019 at 12:58 AM Ahmad Khiet <akhiet@redhat.com <mailto:akhiet@redhat.com>> wrote:
Thanks Yedidyah,
python-netaddr is already installed. tried on master, ovirt-engine-4.3, ovirt-engine--4.3.4.2 and I'm facing the same problem
what do you think?
On Thu, Jun 13, 2019 at 12:09 PM Yedidyah Bar David <didi@redhat.com <mailto:didi@redhat.com>> wrote:
On Wed, Jun 12, 2019 at 2:32 PM Ahmad Khiet <akhiet@redhat.com <mailto: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 <mailto:akhiet@redhat.com> > M: +972-54-6225629 > > _______________________________________________ > Devel mailing list -- devel@ovirt.org <mailto:devel@ovirt.org> > To unsubscribe send an email to devel-leave@ovirt.org <mailto: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/DHM2YHUDKY2HZI...
-- Didi
--
Ahmad Khiet
Red Hat<https://www.redhat.com/>
akhiet@redhat.com <mailto:akhiet@redhat.com> M: +972-54-6225629 <tel:+972-54-6225629>
_______________________________________________ Devel mailing list -- devel@ovirt.org <mailto:devel@ovirt.org> To unsubscribe send an email to devel-leave@ovirt.org <mailto: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/S733WJWMSH4GYV...
-- Martin Perina Manager, Software Engineering Red Hat Czech s.r.o.

same problem can't install hostengine or reinstall host "stdout" : "fatal: [10.11.41.23]: 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- b lock:\\n - name: Install ovs\\n ^ here\\n\"}",

I have the same error in logfile: /var/log/ovirt-hosted-engine-setup/engine-logs-2022-10-04T12\:40\:28Z/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20221004150708-host-01.ovirt.management.xxxxx-92192810-b1c0-4e6d-b2c6-c21d58daa012.log 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\"}", But I have a standard out-of-the-box clean install of a oVirt Node host, using the CentOS Stream 8 based ISO of oVirt version 4.5.2. Once I run hosted-engine --deploy --4, everything is fine, until it comes to Wait for the host to be up where the install stops with error Host is not up, please check logs, perhaps also on the engine machine. No custom configuration of any kind, just following the documentation to get a new cluster up and running. So how do I fix this?

On Mon, Oct 24, 2022 at 12:29 PM <c.vongeldern@eazis.com> wrote:
I have the same error in logfile: /var/log/ovirt-hosted-engine-setup/engine-logs-2022-10-04T12\:40\:28Z/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20221004150708-host-01.ovirt.management.xxxxx-92192810-b1c0-4e6d-b2c6-c21d58daa012.log
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\"}",
But I have a standard out-of-the-box clean install of a oVirt Node host, using the CentOS Stream 8 based ISO of oVirt version 4.5.2. Once I run hosted-engine --deploy --4, everything is fine, until it comes to Wait for the host to be up where the install stops with error Host is not up, please check logs, perhaps also on the engine machine.
What version of ovirt-engine-appliance do you have there?
No custom configuration of any kind, just following the documentation to get a new cluster up and running. So how do I fix this?
I think it's due to having ansible-core-2.13 on the engine. Should not happen with the latest versions. Best regards, -- Didi

Hi Didi, we are exactly in the same situation. We are running ovirt 4.5.4 on all hosts. We did a backup of the ovirt-engine, when we then chose one of our 3 hosts to redeploy the ovirt-engine. On the host for the redeploy we have the ovirt-engine running correctly. However when we try reinstall other two hosts to add them back into the cluster we encounter the same error. 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\"}", We have the hosts running RHEL 8.7. The self hosted engine is runing on Centos Stream 8. Before we redeployed the ovirt-engine, the ovirt was running on RHEL 8.7 which we had previously migrated from Centos 8.4. On the engine we have the following: # ansible --version ansible [core 2.14.2] 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.11/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.11.2 (main, Feb 28 2023, 23:00:48) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] (/usr/bin/python3.11) jinja version = 3.1.2 libyaml = True # pip3 --version pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6) python3.6 -m pip list DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. alembic (1.7.1) amqp (5.0.9) attrs (17.4.0) automaton (2.5.0) Babel (2.5.1) bcrypt (3.1.7) beautifulsoup4 (4.9.3) boto3 (1.6.1) botocore (1.17.52) Bottleneck (1.2.1) cachetools (4.2.0) ceph (1.0.0) cephfs (2.0.0) cffi (1.13.2) chardet (3.0.4) cinder (20.1.0) cinderlib (4.2.0) configobj (5.0.6) configshell-fb (1.1.28) cryptography (3.2.1) cssselect (0.9.2) cycler (0.10.0) dbus-python (1.2.4) debtcollector (2.5.0) decorator (4.4.0) distro (1.4.0) dnspython (1.15.0) docutils (0.14) eventlet (0.33.0) extras (1.0.0) fasteners (0.14.1) file-magic (0.3.0) fixtures (3.0.0) fluidity-sm (0.2.0) futurist (2.4.0) gpg (1.13.1) greenlet (0.4.13) html5lib (0.999999999) httplib2 (0.16.0) idna (2.5) importlib-metadata (1.7.0) importlib-resources (4.1.1) invoke (1.4.0) isc (2.0) iso8601 (0.1.12) Jinja2 (2.10.1) jmespath (0.9.0) jsonpatch (1.21) jsonpointer (1.10) jsonschema (3.2.0) kazoo (2.8.0) kiwisolver (1.1.0) kmod (0.1) kombu (5.0.2) lexicon (1.0.0) libcomps (0.1.18) lockfile (0.12.2) lxml (4.2.3) Mako (1.0.6.dev0) MarkupSafe (0.23) matplotlib (3.1.1) mock (3.0.5) msgpack (1.0.3) netaddr (0.7.19) netifaces (0.10.6) networkx (2.5) nftables (0.1) numexpr (2.7.1) numpy (1.14.3) nvmetcli (0.7) oauthlib (2.1.0) os-brick (5.2.2) os-win (5.6.0) oslo.concurrency (4.5.0) oslo.config (8.8.0) oslo.context (4.1.0) oslo.db (11.2.0) oslo.i18n (5.1.0) oslo.log (4.7.0) oslo.messaging (12.13.0) oslo.metrics (0.4.0) oslo.middleware (4.5.1) oslo.privsep (2.7.0) oslo.rootwrap (6.3.1) oslo.serialization (4.3.0) oslo.service (2.8.0) oslo.utils (4.12.3) oslo.versionedobjects (2.6.0) ovirt-engine-sdk-python (4.6.0) ovirt-imageio (2.4.7) ovs (2.15.8) ovsdbapp (1.15.3) packaging (20.4) pandas (0.25.3) paramiko (2.7.2) passlib (1.7.4) Paste (3.5.0) PasteDeploy (2.1.1) pbr (5.5.1) perf (0.1) pexpect (4.7.0) Pillow (5.1.1) pip (9.0.3) ply (3.9) prettytable (0.7.2) prometheus-client (0.7.1) psutil (5.7.3) psycopg2 (2.8.6) ptyprocess (0.5.2) pwquality (1.4.4) pyasn1 (0.4.6) pyasn1-modules (0.2.6) pycairo (1.16.3) pycparser (2.14) pycurl (7.43.0.2) pydbus (0.6.0) pydot (1.4.1) pygobject (3.28.3) pygraphviz (1.5) pyinotify (0.9.6) PyJWT (1.6.1) PyMySQL (0.10.1) PyNaCl (1.4.0) pyngus (2.3.0) pyOpenSSL (19.0.0) pyparsing (2.4.6) pyrsistent (0.17.3) pyserial (3.1.1) PySocks (1.6.8) python-daemon (2.2.4) python-dateutil (2.6.1) python-ldap (3.3.1) python-linux-procfs (0.7.0) python-qpid-proton (0.35.0) pytz (2017.2) pyudev (0.21.0) PyYAML (5.4.1) rados (2.0.0) rbd (2.0.0) redis (3.5.3) repoze.lru (0.7) requests (2.25.1) rfc3986 (1.4.0) rgw (2.0.0) Routes (2.4.1) rpm (4.14.3) rtslib-fb (2.1.75) s3transfer (0.3.3) scipy (1.0.0) selinux (2.9) sepolicy (1.1) setools (4.3.0) setroubleshoot (1.1) setuptools (50.3.2) six (1.15.0) slip (0.6.4) slip.dbus (0.6.4) sos (4.5.0) soupsieve (2.3.1) SQLAlchemy (1.4.31) sqlalchemy-migrate (0.13.0) sqlparse (0.3.1) statsd (3.2.1) stevedore (3.5.2) syspurpose (1.28.35) systemd-python (234) tables (3.5.2) tabulate (0.8.7) targetcli-fb (2.1.53) taskflow (4.6.4) Tempita (0.5.1) tenacity (6.3.1) testtools (2.5.0) tooz (2.10.1) urllib3 (1.25.10) urwid (1.3.1) vine (5.0.0) voluptuous (0.12.1) wcwidth (0.2.5) webencodings (0.5.1) WebOb (1.8.6) websocket-client (0.57.0) websockify (0.9.0) wrapt (1.13.3) yappi (1.3.0) zake (0.2.2) zipp (3.4.0) zstd (1.4.5.1) python3.8 -m pip list Package Version -------------- ------- ansible-runner 2.1.3 docutils 0.14 jmespath 0.9.0 lockfile 0.12.2 pexpect 4.7.0 pip 19.3.1 ptyprocess 0.5.2 python-daemon 2.2.4 PyYAML 5.4.1 setuptools 41.6.0 six 1.12.0 python3.9 -m pip list Package Version ----------------------- -------- cffi 1.14.3 cryptography 3.3.1 idna 2.10 jmespath 0.9.0 netaddr 0.7.19 ovirt-engine-sdk-python 4.6.0 ovirt-imageio 2.4.7 passlib 1.7.0 pip 20.2.4 ply 3.11 pycparser 2.20 pycurl 7.43.0.2 PyYAML 5.4.1 setuptools 50.3.2 six 1.15.0 python3.11 -m pip list /usr/bin/python3.11: No module named pip rpm -qi ovirt-engine Name : ovirt-engine Version : 4.5.4 Release : 1.el8 Architecture: noarch Install Date: Tue 06 Dec 2022 02:30:43 PM CET Group : Virtualization/Management Size : 39490877 License : ASL 2.0 Signature : RSA/SHA256, Thu 01 Dec 2022 07:03:58 PM CET, Key ID 7aebbe8261e8806c Source RPM : ovirt-engine-4.5.4-1.el8.src.rpm Build Date : Wed 30 Nov 2022 01:40:24 PM CET Build Host : aarch64-03.rdu2.centos.org Relocations : (not relocatable) Packager : CBS <cbs@centos.org> Vendor : CentOS Community Build Service URL : http://www.ovirt.org Summary : Management server for Open Virtualization Description : oVirt Engine is a feature-rich server virtualization management system that provides advanced capabilities for managing the Open virtualization infrastructure for Servers and Desktops. Is there anyway to fix this? Thanks James

Hi, Sorry, but I do not follow oVirt development closely anymore. I guess it's due to a newer ansible (-core) using a newer python which is missing some of our dependencies - see also e.g.: https://github.com/oVirt/ovirt-engine/pull/826 Not sure about current status. You might try to work around this by downgrading ansible-core on the engine machine, until this is fixed. Best regards, On Tue, Apr 4, 2023 at 1:05 PM James Wadsworth <james@deanimaconsulting.com> wrote:
Hi Didi, we are exactly in the same situation. We are running ovirt 4.5.4 on all hosts. We did a backup of the ovirt-engine, when we then chose one of our 3 hosts to redeploy the ovirt-engine. On the host for the redeploy we have the ovirt-engine running correctly. However when we try reinstall other two hosts to add them back into the cluster we encounter the same error.
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\"}",
We have the hosts running RHEL 8.7. The self hosted engine is runing on Centos Stream 8. Before we redeployed the ovirt-engine, the ovirt was running on RHEL 8.7 which we had previously migrated from Centos 8.4.
On the engine we have the following: # ansible --version ansible [core 2.14.2] 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.11/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.11.2 (main, Feb 28 2023, 23:00:48) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] (/usr/bin/python3.11) jinja version = 3.1.2 libyaml = True
# pip3 --version pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)
python3.6 -m pip list DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning. alembic (1.7.1) amqp (5.0.9) attrs (17.4.0) automaton (2.5.0) Babel (2.5.1) bcrypt (3.1.7) beautifulsoup4 (4.9.3) boto3 (1.6.1) botocore (1.17.52) Bottleneck (1.2.1) cachetools (4.2.0) ceph (1.0.0) cephfs (2.0.0) cffi (1.13.2) chardet (3.0.4) cinder (20.1.0) cinderlib (4.2.0) configobj (5.0.6) configshell-fb (1.1.28) cryptography (3.2.1) cssselect (0.9.2) cycler (0.10.0) dbus-python (1.2.4) debtcollector (2.5.0) decorator (4.4.0) distro (1.4.0) dnspython (1.15.0) docutils (0.14) eventlet (0.33.0) extras (1.0.0) fasteners (0.14.1) file-magic (0.3.0) fixtures (3.0.0) fluidity-sm (0.2.0) futurist (2.4.0) gpg (1.13.1) greenlet (0.4.13) html5lib (0.999999999) httplib2 (0.16.0) idna (2.5) importlib-metadata (1.7.0) importlib-resources (4.1.1) invoke (1.4.0) isc (2.0) iso8601 (0.1.12) Jinja2 (2.10.1) jmespath (0.9.0) jsonpatch (1.21) jsonpointer (1.10) jsonschema (3.2.0) kazoo (2.8.0) kiwisolver (1.1.0) kmod (0.1) kombu (5.0.2) lexicon (1.0.0) libcomps (0.1.18) lockfile (0.12.2) lxml (4.2.3) Mako (1.0.6.dev0) MarkupSafe (0.23) matplotlib (3.1.1) mock (3.0.5) msgpack (1.0.3) netaddr (0.7.19) netifaces (0.10.6) networkx (2.5) nftables (0.1) numexpr (2.7.1) numpy (1.14.3) nvmetcli (0.7) oauthlib (2.1.0) os-brick (5.2.2) os-win (5.6.0) oslo.concurrency (4.5.0) oslo.config (8.8.0) oslo.context (4.1.0) oslo.db (11.2.0) oslo.i18n (5.1.0) oslo.log (4.7.0) oslo.messaging (12.13.0) oslo.metrics (0.4.0) oslo.middleware (4.5.1) oslo.privsep (2.7.0) oslo.rootwrap (6.3.1) oslo.serialization (4.3.0) oslo.service (2.8.0) oslo.utils (4.12.3) oslo.versionedobjects (2.6.0) ovirt-engine-sdk-python (4.6.0) ovirt-imageio (2.4.7) ovs (2.15.8) ovsdbapp (1.15.3) packaging (20.4) pandas (0.25.3) paramiko (2.7.2) passlib (1.7.4) Paste (3.5.0) PasteDeploy (2.1.1) pbr (5.5.1) perf (0.1) pexpect (4.7.0) Pillow (5.1.1) pip (9.0.3) ply (3.9) prettytable (0.7.2) prometheus-client (0.7.1) psutil (5.7.3) psycopg2 (2.8.6) ptyprocess (0.5.2) pwquality (1.4.4) pyasn1 (0.4.6) pyasn1-modules (0.2.6) pycairo (1.16.3) pycparser (2.14) pycurl (7.43.0.2) pydbus (0.6.0) pydot (1.4.1) pygobject (3.28.3) pygraphviz (1.5) pyinotify (0.9.6) PyJWT (1.6.1) PyMySQL (0.10.1) PyNaCl (1.4.0) pyngus (2.3.0) pyOpenSSL (19.0.0) pyparsing (2.4.6) pyrsistent (0.17.3) pyserial (3.1.1) PySocks (1.6.8) python-daemon (2.2.4) python-dateutil (2.6.1) python-ldap (3.3.1) python-linux-procfs (0.7.0) python-qpid-proton (0.35.0) pytz (2017.2) pyudev (0.21.0) PyYAML (5.4.1) rados (2.0.0) rbd (2.0.0) redis (3.5.3) repoze.lru (0.7) requests (2.25.1) rfc3986 (1.4.0) rgw (2.0.0) Routes (2.4.1) rpm (4.14.3) rtslib-fb (2.1.75) s3transfer (0.3.3) scipy (1.0.0) selinux (2.9) sepolicy (1.1) setools (4.3.0) setroubleshoot (1.1) setuptools (50.3.2) six (1.15.0) slip (0.6.4) slip.dbus (0.6.4) sos (4.5.0) soupsieve (2.3.1) SQLAlchemy (1.4.31) sqlalchemy-migrate (0.13.0) sqlparse (0.3.1) statsd (3.2.1) stevedore (3.5.2) syspurpose (1.28.35) systemd-python (234) tables (3.5.2) tabulate (0.8.7) targetcli-fb (2.1.53) taskflow (4.6.4) Tempita (0.5.1) tenacity (6.3.1) testtools (2.5.0) tooz (2.10.1) urllib3 (1.25.10) urwid (1.3.1) vine (5.0.0) voluptuous (0.12.1) wcwidth (0.2.5) webencodings (0.5.1) WebOb (1.8.6) websocket-client (0.57.0) websockify (0.9.0) wrapt (1.13.3) yappi (1.3.0) zake (0.2.2) zipp (3.4.0) zstd (1.4.5.1)
python3.8 -m pip list Package Version -------------- ------- ansible-runner 2.1.3 docutils 0.14 jmespath 0.9.0 lockfile 0.12.2 pexpect 4.7.0 pip 19.3.1 ptyprocess 0.5.2 python-daemon 2.2.4 PyYAML 5.4.1 setuptools 41.6.0 six 1.12.0
python3.9 -m pip list Package Version ----------------------- -------- cffi 1.14.3 cryptography 3.3.1 idna 2.10 jmespath 0.9.0 netaddr 0.7.19 ovirt-engine-sdk-python 4.6.0 ovirt-imageio 2.4.7 passlib 1.7.0 pip 20.2.4 ply 3.11 pycparser 2.20 pycurl 7.43.0.2 PyYAML 5.4.1 setuptools 50.3.2 six 1.15.0
python3.11 -m pip list /usr/bin/python3.11: No module named pip
rpm -qi ovirt-engine Name : ovirt-engine Version : 4.5.4 Release : 1.el8 Architecture: noarch Install Date: Tue 06 Dec 2022 02:30:43 PM CET Group : Virtualization/Management Size : 39490877 License : ASL 2.0 Signature : RSA/SHA256, Thu 01 Dec 2022 07:03:58 PM CET, Key ID 7aebbe8261e8806c Source RPM : ovirt-engine-4.5.4-1.el8.src.rpm Build Date : Wed 30 Nov 2022 01:40:24 PM CET Build Host : aarch64-03.rdu2.centos.org Relocations : (not relocatable) Packager : CBS <cbs@centos.org> Vendor : CentOS Community Build Service URL : http://www.ovirt.org Summary : Management server for Open Virtualization Description : oVirt Engine is a feature-rich server virtualization management system that provides advanced capabilities for managing the Open virtualization infrastructure for Servers and Desktops.
Is there anyway to fix this? Thanks James
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org 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/devel@ovirt.org/message/U7EUKY6IBCO5JH...
-- Didi

rpm -qa ovirt-engine-appliance ovirt-engine-appliance-4.5-20221206133948.1.el8.x86_64
participants (7)
-
Ahmad Khiet
-
c.vongeldern@eazis.com
-
James Wadsworth
-
Martin Perina
-
Ondra Machacek
-
Yedidyah Bar David
-
Николай Кузьмич