Hello.,

Scenario: Upgrading from 4.3 to 4.4

Situation: When running engine-setup on the new (standalone) engine host I hit

2021-10-28 18:30:47,998+0800 DEBUG otopi.context context._executeMethod:127 Stage boot METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._boot
2021-10-28 18:30:47,999+0800 DEBUG otopi.plugins.otopi.packagers.yumpackager yumpackager._boot:187 Cannot initialize miniyum
Traceback (most recent call last):
  File "/usr/share/otopi/plugins/otopi/packagers/yumpackager.py", line 179, in _boot
    self._refreshMiniyum()
  File "/usr/share/otopi/plugins/otopi/packagers/yumpackager.py", line 134, in _refreshMiniyum
    constants.PackEnv.YUM_ENABLED_PLUGINS
  File "/usr/share/otopi/plugins/otopi/packagers/yumpackager.py", line 61, in _getMiniYum
    from otopi import miniyum
  File "/usr/lib/python3.6/site-packages/otopi/miniyum.py", line 17, in <module>
    import rpmUtils.miscutils
ModuleNotFoundError: No module named 'rpmUtils'


I have
# dnf provides \*/miscutils.py
Last metadata expiration check: 4:02:50 ago on Thu 28 Oct 2021 02:40:56 PM.
python3-dnf-4.4.2-11.el8.noarch : Python 3 interface to DNF
Repo        : @System
Matched from:
Filename    : /usr/lib/python3.6/site-packages/dnf/rpm/miscutils.py

python3-dnf-4.4.2-11.el8.noarch : Python 3 interface to DNF
Repo        : baseos
Matched from:
Filename    : /usr/lib/python3.6/site-packages/dnf/rpm/miscutils.py

On the original EL7 host with python2 I have
# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo        : extras
Matched from:
Filename    : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo        : extras
Matched from:
Filename    : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo        : base
Matched from:
Filename    : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py



yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo        : @base
Matched from:
Filename    : /usr/lib/python2.7/site-packag# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo        : extras
Matched from:
Filename    : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo        : extras
Matched from:
Filename    : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo        : base
Matched from:
Filename    : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py



yum-3.4.3-167.el7.centos.noarch : RPM pa# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo        : extras
Matched from:
Filename    : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo        : extras
Matched from:
Filename    : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo        : base# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo        : extras
Matched from:
Filename    : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo        : extras
Matched from:
Filename    : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo        : base
Matched from:
Filename    : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py



yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo        : @base
Matched from:
Filename    : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py

Matched from:
Filename    : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py



yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo        : @base
Matched from:# yum provides \*/miscutils.py
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * ovirt-4.3: mirror.rackspace.com
python2-dnf-4.0.9.2-1.el7_6.noarch : Python 2 interface to DNF
Repo        : extras
Matched from:
Filename    : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



python2-dnf-4.0.9.2-2.el7_9.noarch : Python 2 interface to DNF
Repo        : extras
Matched from:
Filename    : /usr/lib/python2.7/site-packages/dnf/rpm/miscutils.py



yum-3.4.3-168.el7.centos.noarch : RPM package installer/updater/manager
Repo        : base
Matched from:
Filename    : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py



yum-3.4.3-167.el7.centos.noarch : RPM package installer/updater/manager
Repo        : @base
Matched from:
Filename    : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py

Filename    : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
ckage installer/updater/manager
Repo        : @base
Matched from:
Filename    : /usr/lib/python2.7/site-packages/rpmUtils/miscutils.py
es/rpmUtils/miscutils.py
--
Richard Chan