Created attachment 1723577 [details] logs 4.4.3-10 Description of problem: Fail to deploy stand-alone Engine. (NOTE: hosted-engine setup works well) 2020-10-22 17:10:59,201+0300 DEBUG otopi.plugins.otopi.system.command command.get:54 command exportfs not detected yet, searching 2020-10-22 17:10:59,202+0300 DEBUG otopi.context context._executeMethod:145 method exception Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in _executeMethod method['method']() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/system/nfs.py", line 137, in _late_setup self.command.get('exportfs'), File "/usr/share/otopi/plugins/otopi/system/command.py", line 57, in get res = super(Plugin, self).get(command, optional) File "/usr/lib/python3.6/site-packages/otopi/command.py", line 74, in get command=command RuntimeError: Command 'exportfs' is required but missing 2020-10-22 17:10:59,204+0300 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Environment setup (late)': Command 'exportfs' is required but missing Version-Release number of selected component (if applicable): 4.4.3-10 How reproducible: 100% Steps to Reproduce: 1. Deploy Engine on clean rhel-8.3 2. 3. Actual results: Deploy Fails Expected results: Success Additional info: See attached logs
The nfs-utils dependency was removed in the latest version of ovirt-engine-setup-plugin-ovirt-engine-common [root@storage-ge-04 ~]# yum deplist ovirt-engine-setup-plugin-ovirt-engine-common Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Last metadata expiration check: 2:10:01 ago on Thu 22 Oct 2020 05:18:33 PM IDT. package: ovirt-engine-setup-plugin-ovirt-engine-common-4.4.1.8-0.7.el8ev.noarch dependency: /bin/sh provider: bash-4.4.19-12.el8.x86_64 dependency: java-11-openjdk-headless >= 11.0.4 provider: java-11-openjdk-headless-1:11.0.8.10-6.el8.x86_64 dependency: nfs-utils provider: nfs-utils-1:2.3.3-35.el8.x86_64 dependency: ovirt-engine-setup-base = 4.4.1.8-0.7.el8ev provider: ovirt-engine-setup-base-4.4.1.8-0.7.el8ev.noarch dependency: policycoreutils-python-utils provider: policycoreutils-python-utils-2.9-9.el8.noarch dependency: python3-dnf provider: python3-dnf-4.2.23-4.el8.noarch dependency: python3-libselinux provider: python3-libselinux-2.9-4.el8_3.x86_64 dependency: python3-m2crypto >= 0.28 provider: python3-m2crypto-0.35.2-5.el8ev.x86_64 dependency: python3-psycopg2 provider: python3-psycopg2-2.7.5-7.el8.x86_64 dependency: python3-pwquality provider: python3-pwquality-1.4.0-9.el8.x86_64 dependency: shadow-utils provider: shadow-utils-2:4.6-11.el8.x86_64 package: ovirt-engine-setup-plugin-ovirt-engine-common-4.4.1.10-0.1.el8ev.noarch dependency: /bin/sh provider: bash-4.4.19-12.el8.x86_64 dependency: java-11-openjdk-headless >= 11.0.4 provider: java-11-openjdk-headless-1:11.0.8.10-6.el8.x86_64 dependency: nfs-utils provider: nfs-utils-1:2.3.3-35.el8.x86_64 dependency: ovirt-engine-setup-base = 4.4.1.10-0.1.el8ev provider: ovirt-engine-setup-base-4.4.1.10-0.1.el8ev.noarch dependency: policycoreutils-python-utils provider: policycoreutils-python-utils-2.9-9.el8.noarch dependency: python3-dnf provider: python3-dnf-4.2.23-4.el8.noarch dependency: python3-libselinux provider: python3-libselinux-2.9-4.el8_3.x86_64 dependency: python3-m2crypto >= 0.28 provider: python3-m2crypto-0.35.2-5.el8ev.x86_64 dependency: python3-psycopg2 provider: python3-psycopg2-2.7.5-7.el8.x86_64 dependency: python3-pwquality provider: python3-pwquality-1.4.0-9.el8.x86_64 dependency: shadow-utils provider: shadow-utils-2:4.6-11.el8.x86_64 package: ovirt-engine-setup-plugin-ovirt-engine-common-4.4.2.3-0.6.el8ev.noarch dependency: /bin/sh provider: bash-4.4.19-12.el8.x86_64 dependency: java-11-openjdk-headless >= 11.0.4 provider: java-11-openjdk-headless-1:11.0.8.10-6.el8.x86_64 dependency: nfs-utils provider: nfs-utils-1:2.3.3-35.el8.x86_64 dependency: ovirt-engine-setup-base = 4.4.2.3-0.6.el8ev provider: ovirt-engine-setup-base-4.4.2.3-0.6.el8ev.noarch dependency: policycoreutils-python-utils provider: policycoreutils-python-utils-2.9-9.el8.noarch dependency: python3-dnf provider: python3-dnf-4.2.23-4.el8.noarch dependency: python3-libselinux provider: python3-libselinux-2.9-4.el8_3.x86_64 dependency: python3-m2crypto >= 0.28 provider: python3-m2crypto-0.35.2-5.el8ev.x86_64 dependency: python3-psycopg2 provider: python3-psycopg2-2.7.5-7.el8.x86_64 dependency: python3-pwquality provider: python3-pwquality-1.4.0-9.el8.x86_64 dependency: shadow-utils provider: shadow-utils-2:4.6-11.el8.x86_64 package: ovirt-engine-setup-plugin-ovirt-engine-common-4.4.2.6-0.2.el8ev.noarch dependency: /bin/sh provider: bash-4.4.19-12.el8.x86_64 dependency: java-11-openjdk-headless >= 11.0.4 provider: java-11-openjdk-headless-1:11.0.8.10-6.el8.x86_64 dependency: nfs-utils provider: nfs-utils-1:2.3.3-35.el8.x86_64 dependency: ovirt-engine-setup-base = 4.4.2.6-0.2.el8ev provider: ovirt-engine-setup-base-4.4.2.6-0.2.el8ev.noarch dependency: policycoreutils-python-utils provider: policycoreutils-python-utils-2.9-9.el8.noarch dependency: python3-dnf provider: python3-dnf-4.2.23-4.el8.noarch dependency: python3-libselinux provider: python3-libselinux-2.9-4.el8_3.x86_64 dependency: python3-m2crypto >= 0.28 provider: python3-m2crypto-0.35.2-5.el8ev.x86_64 dependency: python3-psycopg2 provider: python3-psycopg2-2.7.5-7.el8.x86_64 dependency: python3-pwquality provider: python3-pwquality-1.4.0-9.el8.x86_64 dependency: shadow-utils provider: shadow-utils-2:4.6-11.el8.x86_64 package: ovirt-engine-setup-plugin-ovirt-engine-common-4.4.3.8-0.1.el8ev.noarch dependency: /bin/sh provider: bash-4.4.19-12.el8.x86_64 dependency: java-11-openjdk-headless >= 11.0.4 provider: java-11-openjdk-headless-1:11.0.8.10-6.el8.x86_64 dependency: ovirt-engine-setup-base = 4.4.3.8-0.1.el8ev provider: ovirt-engine-setup-base-4.4.3.8-0.1.el8ev.noarch dependency: policycoreutils-python-utils provider: policycoreutils-python-utils-2.9-9.el8.noarch dependency: python3-dnf provider: python3-dnf-4.2.23-4.el8.noarch dependency: python3-libselinux provider: python3-libselinux-2.9-4.el8_3.x86_64 dependency: python3-m2crypto >= 0.28 provider: python3-m2crypto-0.35.2-5.el8ev.x86_64 dependency: python3-psycopg2 provider: python3-psycopg2-2.7.5-7.el8.x86_64 dependency: python3-pwquality provider: python3-pwquality-1.4.0-9.el8.x86_64 dependency: shadow-utils provider: shadow-utils-2:4.6-11.el8.x86_64 Probably because the appliance for installing the Hosted engine still has installed the older version it also has installed the nfs-utils and we don't see this issue there.
IIUC this is all obsolete, can we just drop it all? (decreasing Sev, it's easy to just install nfs-utils before running setup)
(In reply to Michal Skrivanek from comment #2) > IIUC this is all obsolete, can we just drop it all? You mean, "drop all the code"? We can, but it's a rather large change. From a project/product POV, we declared it deprecated at 4.0.4 (bug 1332813) and removed the question in 4.2.0 [1]. At the time, I didn't remove the code, so as to not break setups when the answer is provided in an answer file.
(In reply to Yedidyah Bar David from comment #3) > (In reply to Michal Skrivanek from comment #2) > > IIUC this is all obsolete, can we just drop it all? > > You mean, "drop all the code"? We can, but it's a rather large change. yes. but indeed not necessarily in this bug > From a project/product POV, we declared it deprecated at 4.0.4 (bug 1332813) > and removed > the question in 4.2.0 [1]. At the time, I didn't remove the code, so as to > not break setups when the answer is provided in an answer file. yeah, so it should be safe to remove
Verified on build version: 4.4.3-13, (4.4.3.10-0.1.el8ev) Verified using automation on a standalone environment
This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.3 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.