diff options
author | John Mulligan <jmulligan@redhat.com> | 2023-11-07 18:32:45 +0100 |
---|---|---|
committer | John Mulligan <jmulligan@redhat.com> | 2023-11-07 19:39:08 +0100 |
commit | 24882deb0264401dba49b10fd3474d5944674961 (patch) | |
tree | bf5b721446e2177d40043d3ecb232792d869a5a8 /src/cephadm/build.py | |
parent | Merge pull request #54178 from leonid-s-usov/balance-after-stop (diff) | |
download | ceph-24882deb0264401dba49b10fd3474d5944674961.tar.xz ceph-24882deb0264401dba49b10fd3474d5944674961.zip |
cephadm: work around pip failure on some envs
Work around an encoding/locale issue when the dashboard tests are run
(ubuntu 20.04).
The build.py changes brought in a9d1c62ca86 were validated for package
builds, teuthology, and other CI jobs but a different error was masking
this failure in the dashboard ci job.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Diffstat (limited to 'src/cephadm/build.py')
-rwxr-xr-x | src/cephadm/build.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cephadm/build.py b/src/cephadm/build.py index 87d990e72a3..122767a8ecc 100755 --- a/src/cephadm/build.py +++ b/src/cephadm/build.py @@ -190,6 +190,7 @@ def _install_deps(tempdir, config): env = os.environ.copy() env['CC'] = '/bin/false' env['CXX'] = '/bin/false' + env['LC_ALL'] = 'C.UTF-8' # work around some env issues with pip if env.get('PYTHONPATH'): env['PYTHONPATH'] = env['PYTHONPATH'] + f':{tempdir}' else: |