Bug 1810428 - Using LANG=fr_FR.UTF-8 running env -i LC_ALL=C engine-setup fails with missing exportfs
Summary: Using LANG=fr_FR.UTF-8 running env -i LC_ALL=C engine-setup fails with missin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-fast-forward-upgrade
Version: 4.3.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.3.9-1
: 4.3.9-1
Assignee: Lev Veyde
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-05 08:54 UTC by Petr Matyáš
Modified: 2020-04-03 12:43 UTC (History)
6 users (show)

Fixed In Version: ovirt-fast-forward-upgrade-1.0.1-1.el7ev
Doc Type: Bug Fix
Doc Text:
When upgrading Red Hat Virtualization with the ovirt-fast-forward-upgrade tool, the engine-setup failed during the Environment setup step. In this release, upgrade with the ovirt-fast-forward-upgrade tool runs to completion.
Clone Of:
Environment:
Last Closed: 2020-04-02 17:09:06 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
setup log (399.10 KB, text/plain)
2020-03-05 08:54 UTC, Petr Matyáš
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1309 0 None None None 2020-04-02 17:09:11 UTC
oVirt gerrit 107446 0 master MERGED ovirt-ff: Only use env -i for subscription-manager 2020-04-01 13:28:41 UTC
oVirt gerrit 107448 0 ovirt-4.3 MERGED ovirt-ff: Only use env -i for subscription-manager 2020-04-01 13:28:41 UTC

Description Petr Matyáš 2020-03-05 08:54:17 UTC
Created attachment 1667682 [details]
setup log

Description of problem:
I'm using French locale running engine-setup fails with:
[ INFO  ] Stage: Environment setup (late)
[ ERROR ] Failed to execute stage 'Environment setup (late)': Command 'exportfs' is required but missing

when I'm running it like 'env -i LC_ALL=C engine-setup'
it is workarounded by removing '-i' or whole 'env -i LC_ALL=C' but now in fast forward upgrade it is used like that so it might be good idea to have that method fixed.

Version-Release number of selected component (if applicable):
ovirt-engine-setup-4.3.8.2-0.4.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. env -i LC_ALL=C engine-setup
2.
3.

Actual results:
Failed to execute stage 'Environment setup (late)': Command 'exportfs' is required but missing

Expected results:
successful setup

Additional info:
Just for the record:
[root@engine ~]# rpm -qa | grep nfs-utils
nfs-utils-1.3.0-0.65.el7.x86_64

[root@engine ~]# exportfs -h
usage: exportfs [-adfhioruvs] [host:/path]

Comment 2 RHV bug bot 2020-03-06 13:29:59 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[No relevant external trackers attached]

For more info please contact: infra

Comment 5 RHV bug bot 2020-03-13 18:26:08 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[No relevant external trackers attached]

For more info please contact: infra

Comment 6 Petr Matyáš 2020-03-18 12:06:46 UTC
Why is this ON_QA? I don't see any new build in brew and our compose has only the last fast forward upgrade build.

Comment 7 Sandro Bonazzola 2020-03-19 16:11:26 UTC
There's no build including this fix. Moving out to 4.3.9-1, I'll try to build tomorrow.

Comment 10 Petr Matyáš 2020-03-20 13:32:11 UTC
Verified on ovirt-fast-forward-upgrade-1.0.1-1.el7ev.noarch

Reported issue is not actually fixed, however the root cause (fast forward upgrade failing) is "fixed".

Comment 17 errata-xmlrpc 2020-04-02 17:09:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1309


Note You need to log in before you can comment on or make changes to this bug.