I was able to work around this by editing 
/usr/share/ovirt-hosted-engine-setup/he_ansible/callback_plugins/2_ovirt_logger.py
 and changing:
from collections import Callable
to:
from collections.abc import Callable

Thanks again for taking a look,
Devin

> On Oct 11, 2023, at 12:17 PM, Devin A. Bougie <devin.bou...@cornell.edu> 
> wrote:
> 
> Hi Jorge,
> 
> Please see below for a full package listing.  We are running on fully updated 
> RHEL9.2 hosts, and are simply trying to migrate to a new hosted engine 
> storage domain (not trying to replace or upgrade any of the underlying hosts).
> 
> If there's a way to accomplish this without the full "engine-backup" from the 
> hosted engine followed by "hosted-engine --deploy --restore..." from a host, 
> that would work too.
> 
> Many thanks for taking a look,
> Devin
> 
> ------
> [root@lnxvirt01 ~]# rpm -qa | grep -e python -e ovirt
> python3-pip-wheel-21.2.3-6.el9.noarch
> python3-dbus-1.2.18-2.el9.x86_64
> python3-six-1.15.0-9.el9.noarch
> python3-dasbus-1.4-5.el9.noarch
> python3-idna-2.10-7.el9.noarch
> python3-argcomplete-1.12.0-5.el9.noarch
> libpeas-loader-python3-1.30.0-4.el9.x86_64
> python3-distro-1.5.0-7.el9.noarch
> python3-dateutil-2.8.1-6.el9.noarch
> python3-libcomps-0.1.18-1.el9.x86_64
> python3-chardet-4.0.0-5.el9.noarch
> python3-ptyprocess-0.6.0-12.el9.noarch
> python3-pexpect-4.8.0-7.el9.noarch
> python3-pysocks-1.7.1-12.el9.noarch
> python3-urllib3-1.26.5-3.el9.noarch
> python3-pyyaml-5.4.1-6.el9.x86_64
> python3-systemd-234-18.el9.x86_64
> libcap-ng-python3-0.8.2-7.el9.x86_64
> python3-cups-2.0.1-10.el9.x86_64
> python3-enchant-3.2.0-5.el9.noarch
> python3-louis-3.16.1-4.el9.noarch
> python3-ply-3.11-14.el9.noarch
> python3-pycparser-2.20-6.el9.noarch
> python3-cffi-1.14.5-5.el9.x86_64
> python3-pyxdg-0.27-3.el9.noarch
> python3-pyatspi-2.38.1-3.el9.noarch
> python3-gpg-1.15.1-6.el9.x86_64
> python3-libreport-2.15.2-6.el9.alma.x86_64
> python-srpm-macros-3.9-52.el9.noarch
> python3-speechd-0.10.2-4.el9.x86_64
> python3-brlapi-0.8.2-4.el9.x86_64
> ibus-anthy-python-1.5.13-1.el9.noarch
> python3-audit-3.0.7-103.el9.x86_64
> python-rpm-macros-3.9-52.el9.noarch
> python3-rpm-macros-3.9-52.el9.noarch
> python3-pip-21.2.3-6.el9.noarch
> python3-pyparsing-2.4.7-9.el9.noarch
> python3-packaging-20.9-5.el9.noarch
> python3-rpm-generators-12-8.el9.noarch
> python3-lxml-4.6.5-3.el9.x86_64
> python3-gobject-base-3.40.1-6.el9.x86_64
> python3-gobject-base-noarch-3.40.1-6.el9.noarch
> python3-cairo-1.20.1-1.el9.x86_64
> python3-gobject-3.40.1-6.el9.x86_64
> python3-pyudev-0.22.0-6.el9.noarch
> python3-cryptography-36.0.1-2.el9.x86_64
> python3-sanlock-3.8.4-4.el9.x86_64
> python3-docutils-0.16-6.el9.noarch
> python3-decorator-4.4.2-6.el9.noarch
> python3-pyasn1-0.4.8-6.el9.noarch
> python3-pwquality-1.4.4-8.el9.x86_64
> python3-ovirt-setup-lib-1.3.3-1.el9.noarch
> python3-augeas-0.5.0-25.el9.noarch
> ovirt-vmconsole-1.0.9-1.el9.noarch
> python3-otopi-1.10.3-1.el9.noarch
> python3-ioprocess-1.4.2-1.202111071752.git53786ff.el9.x86_64
> python3-lockfile-0.12.2-2.el9s.noarch
> python3-daemon-2.3.0-1.el9s.noarch
> python3-ovirt-engine-lib-4.5.4-1.el9.noarch
> python3-pynacl-1.4.0-2.el9s.x86_64
> python3-sortedcontainers-2.3.0-2.el9s.noarch
> vdsm-python-4.50.3.4-1.el9.noarch
> python3-bcrypt-3.1.7-7.el9s.x86_64
> python3-paramiko-2.7.2-4.el9s.noarch
> ovirt-engine-setup-base-4.5.4-1.el9.noarch
> python3-pbr-5.6.0-1.el9s.noarch
> python3-pytz-2021.1-4.el9.noarch
> python3-greenlet-1.1.2-3.el9.x86_64
> python3-qrcode-core-6.1-12.el9.noarch
> python3-pyusb-1.0.2-13.el9.noarch
> python3-pyasn1-modules-0.4.8-6.el9.noarch
> python3-netifaces-0.10.6-15.el9.x86_64
> python3-gssapi-1.6.9-5.el9.x86_64
> python3-msgpack-1.0.3-2.el9s.x86_64
> python3-extras-1.0.0-15.el9s.noarch
> python3-fixtures-3.0.0-27.el9s.noarch
> python3-testtools-2.5.0-2.el9s.noarch
> ovirt-hosted-engine-ha-2.5.0-1.el9.noarch
> python3-yubico-1.3.3-7.el9.noarch
> python3-babel-2.9.1-2.el9.noarch
> python3-inotify-0.9.6-25.el9.noarch
> python3-ethtool-0.15-2.el9.x86_64
> python3-resolvelib-0.5.4-5.el9.noarch
> python3-prettytable-0.7.2-27.el9.noarch
> python3-jwcrypto-0.8-4.el9.noarch
> ovirt-vmconsole-host-1.0.9-1.el9.noarch
> python3-yappi-1.3.1-2.el9s.x86_64
> python3-wrapt-1.13.3-2.el9s.x86_64
> python3-debtcollector-2.5.0-1.el9s.noarch
> python3-oslo-context-4.1.0-1.el9s.noarch
> python3-tenacity-6.3.1-1.el9s.noarch
> python3-tempita-0.5.2-2.el9s.noarch
> python3-stevedore-3.5.2-1.el9s.noarch
> python3-rfc3986-1.5.0-1.el9s.noarch
> python3-repoze-lru-0.7-10.el9s.noarch
> python3-routes-2.5.1-1.el9s.noarch
> python3-jmespath-0.10.0-1.el9s.noarch
> python3-iso8601-0.1.13-4.el9s.noarch
> python-oslo-utils-lang-4.12.3-1.el9s.noarch
> python-oslo-privsep-lang-2.7.0-1.el9s.noarch
> python-oslo-log-lang-4.7.0-1.el9s.noarch
> python-oslo-i18n-lang-5.1.0-1.el9s.noarch
> python3-oslo-i18n-5.1.0-1.el9s.noarch
> python3-oslo-utils-4.12.3-1.el9s.noarch
> python3-oslo-config-8.8.0-1.el9s.noarch
> python3-oslo-serialization-4.3.0-1.el9s.noarch
> python3-oslo-log-4.7.0-1.el9s.noarch
> python3-oslo-privsep-2.7.0-1.el9s.noarch
> python-oslo-concurrency-lang-4.5.0-1.el9s.noarch
> ovirt-provider-ovn-driver-1.2.36-1.el9.noarch
> python3-webob-1.8.7-1.el9s.noarch
> python3-paste-3.5.0-3.el9s.noarch
> python3-paste-deploy-2.1.1-2.el9s.noarch
> python3-markupsafe-2.0.0-2.el9s.x86_64
> python3-jinja2-3.0.1-2.el9s.noarch
> python3-fasteners-0.14.1-24.el9s.noarch
> python3-oslo-concurrency-4.5.0-1.el9s.noarch
> python3-os-win-5.6.0-1.el9s.noarch
> python3-oslo-service-2.8.0-1.el9s.noarch
> ovirt-host-dependencies-4.5.0-3.el9.x86_64
> ovirt-hosted-engine-setup-2.7.0-1.el9.noarch
> ovirt-host-4.5.0-3.el9.x86_64
> python3-nftables-1.0.4-10.el9_1.x86_64
> python3-setuptools-wheel-53.0.0-12.el9.noarch
> python3-libselinux-3.5-1.el9.x86_64
> python3-dns-2.2.1-2.el9.noarch
> python3-ldap-3.4.3-2.el9.x86_64
> python3-tdb-1.4.7-1.el9.x86_64
> python3-ldb-2.6.1-1.el9.x86_64
> python3-libsemanage-3.5-1.el9.x86_64
> python3-setools-4.4.1-1.el9.x86_64
> python3-firewall-1.2.1-1.el9.noarch
> python3-linux-procfs-0.7.1-1.el9.noarch
> python3-talloc-2.3.4-1.el9.x86_64
> python3-tevent-0.13.0-1.el9.x86_64
> nbdkit-python-plugin-1.32.5-4.el9.x86_64
> python3-policycoreutils-3.5-1.el9.noarch
> policycoreutils-python-utils-3.5-1.el9.noarch
> openwsman-python3-2.6.8-23.el9.x86_64
> python3-libdnf-0.69.0-3.el9_2.alma.x86_64
> python3-hawkey-0.69.0-3.el9_2.alma.x86_64
> python3-libstoragemgmt-1.9.5-1.el9.x86_64
> python3-libvirt-9.0.0-1.el9.x86_64
> python3-rpm-4.16.1.3-22.el9.x86_64
> python3-dnf-4.14.0-5.el9_2.alma.noarch
> python3.11-setuptools-wheel-65.5.1-2.el9.noarch
> python3.11-pip-wheel-22.3.1-2.el9.noarch
> python3.11-ply-3.11-1.el9.noarch
> python3.11-pycparser-2.20-1.el9.noarch
> python3.11-cffi-1.15.1-1.el9.x86_64
> python3.11-cryptography-37.0.2-5.el9.x86_64
> python3.11-pyyaml-6.0-1.el9.x86_64
> python3.11-six-1.16.0-1.el9.noarch
> python3-dmidecode-3.12.3-2.el9.x86_64
> python3-sssdconfig-2.8.2-3.el9_2.alma.noarch
> python3-requests-2.25.1-7.el9_2.noarch
> python3-libipa_hbac-2.8.2-3.el9_2.alma.x86_64
> python3-sss-2.8.2-3.el9_2.alma.x86_64
> python3-sss-murmur-2.8.2-3.el9_2.alma.x86_64
> python3-file-magic-5.39-12.1.el9_2.noarch
> python3-samba-4.17.5-103.el9_2.alma.x86_64
> python3-libxml2-2.9.13-3.el9_2.1.x86_64
> centos-release-ovirt45-9.2-1.el9.noarch
> python3-pyOpenSSL-21.0.0-1.el9.noarch
> python3-ipalib-4.10.1-9.el9_2.alma.1.noarch
> python3-ipaclient-4.10.1-9.el9_2.alma.1.noarch
> python3-perf-5.14.0-284.30.1.el9_2.x86_64
> python3-rados-16.2.13-1.el9s.x86_64
> ovirt-openvswitch-ovn-2.17-1.el9.noarch
> ovirt-imageio-common-2.5.0-1.el9.x86_64
> python3-ceph-argparse-16.2.13-1.el9s.x86_64
> python3-openvswitch2.17-2.17.0-103.el9s.x86_64
> python3-cephfs-16.2.13-1.el9s.x86_64
> python3-rbd-16.2.13-1.el9s.x86_64
> python3-rgw-16.2.13-1.el9s.x86_64
> python3-pycurl-7.45.2-2.1.el9.x86_64
> python3-ovirt-engine-sdk4-4.6.2-1.el9.x86_64
> python3-eventlet-0.33.3-1.el9s.noarch
> python3-setuptools-57.4.0-1.el9s.noarch
> python3-ceph-common-16.2.13-1.el9s.x86_64
> python3.11-pycurl-7.45.2-2.1.el9.x86_64
> python3.11-ovirt-engine-sdk4-4.6.2-1.el9.x86_64
> python3.11-passlib-1.7.4-3.2.el9.noarch
> python3.11-ovirt-imageio-common-2.5.0-1.el9.x86_64
> python3.11-ovirt-imageio-client-2.5.0-1.el9.x86_64
> python3.11-jmespath-0.9.0-11.5.el9.noarch
> ovirt-ansible-collection-3.1.3-1.el9.noarch
> python3-netaddr-0.8.0-12.2.el9.noarch
> python3-os-brick-5.2.3-1.el9s.noarch
> ovirt-imageio-client-2.5.0-1.el9.x86_64
> ovirt-openvswitch-ovn-host-2.17-1.el9.noarch
> ovirt-openvswitch-ipsec-2.17-1.el9.noarch
> ovirt-python-openvswitch-2.17-1.el9.noarch
> ovirt-openvswitch-2.17-1.el9.noarch
> ovirt-imageio-daemon-2.5.0-1.el9.x86_64
> ovirt-openvswitch-ovn-common-2.17-1.el9.noarch
> python3-passlib-1.7.4-3.2.el9.noarch
> python3-libnmstate-2.2.15-2.el9_2.x86_64
> python3.11-libs-3.11.2-2.el9_2.2.x86_64
> python3.11-3.11.2-2.el9_2.2.x86_64
> python3.11-tkinter-3.11.2-2.el9_2.2.x86_64
> python3-tkinter-3.9.16-1.el9_2.2.x86_64
> python3-libs-3.9.16-1.el9_2.2.x86_64
> python3-3.9.16-1.el9_2.2.x86_64
> python-unversioned-command-3.9.16-1.el9_2.2.noarch
> python3-dnf-plugins-core-4.3.0-5.el9_2.alma.1.noarch
> python3-devel-3.9.16-1.el9_2.2.x86_64
> ------
> 
>> On Oct 11, 2023, at 11:58 AM, Jorge Visentini <jorgevisent...@gmail.com> 
>> wrote:
>> 
>> Hi.
>> 
>> It looks like you have different versions of Python or another package.
>> 
>> rpm -qa | grep python
>> rpm -qa | grep ovirt
>> 
>> On both hosts (old and new)
>> 
>> Em qua., 11 de out. de 2023 às 12:08, Devin A. Bougie 
>> <devin.bou...@cornell.edu> escreveu:
>> Hi, All.  We are attempting to migrate to a new storage domain for our oVirt 
>> 4.5.4 self-hosted engine setup, and are failing with "cannot import name 
>> 'Callable' from 'collections'"
>> 
>> Please see below for the errors on the console.
>> 
>> Many thanks,
>> Devin
>> 
>> ------
>> hosted-engine --deploy --restore-from-file=backup.bck --4
>> ...
>> [ INFO  ] Checking available network interfaces:
>> [ ERROR ] b'[WARNING]: Skipping plugin (/usr/share/ovirt-hosted-engine-\n'
>> [ ERROR ] b'setup/he_ansible/callback_plugins/2_ovirt_logger.py), cannot 
>> load: cannot\n'
>> [ ERROR ] b"import name 'Callable' from 'collections'\n"
>> [ ERROR ] b'(/usr/lib64/python3.11/collections/__init__.py)\n'
>> [ ERROR ] b"ERROR! Unexpected Exception, this is probably a bug: cannot 
>> import name 'Callable' from 'collections' 
>> (/usr/lib64/python3.11/collections/__init__.py)\n"
>> [ ERROR ] Failed to execute stage 'Environment customization': Failed 
>> executing ansible-playbook
>> [ INFO  ] Stage: Clean up
>> [ INFO  ] Cleaning temporary resources
>> [ ERROR ] b'[WARNING]: Skipping plugin (/usr/share/ovirt-hosted-engine-\n'
>> [ ERROR ] b'setup/he_ansible/callback_plugins/2_ovirt_logger.py), cannot 
>> load: cannot\n'
>> [ ERROR ] b"import name 'Callable' from 'collections'\n"
>> [ ERROR ] b'(/usr/lib64/python3.11/collections/__init__.py)\n'
>> [ ERROR ] b"ERROR! Unexpected Exception, this is probably a bug: cannot 
>> import name 'Callable' from 'collections' 
>> (/usr/lib64/python3.11/collections/__init__.py)\n"
>> [ ERROR ] Failed to execute stage 'Clean up': Failed executing 
>> ansible-playbook
>> [ INFO  ] Generating answer file 
>> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20231011110358.conf'
>> [ INFO  ] Stage: Pre-termination
>> [ INFO  ] Stage: Termination
>> [ ERROR ] Hosted Engine deployment failed
>>          Log file is located at
>>          
>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20231011110352-raupj9.log
>> _______________________________________________
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-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/users@ovirt.org/message/A7DPYZ4DG5EXB2YTYDERHVN5A2ZVKUPR/
>> 
>> 
>> -- 
>> Att,
>> Jorge Visentini
>> +55 55 98432-9868
> 
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-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/users@ovirt.org/message/7PX6MN635VHPLMM3J65ALF56KLAT3KWS/

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-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/users@ovirt.org/message/C7OMRZT73FCQAHO6S6ODF5SLYI5T7IN6/

Reply via email to