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 <c...@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-le...@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/U7EUKY6IBCO5JHDP6MRSQQJSKLZLF3V7/

Reply via email to