From 24882deb0264401dba49b10fd3474d5944674961 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 7 Nov 2023 12:32:45 -0500 Subject: [PATCH] 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 --- src/cephadm/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cephadm/build.py b/src/cephadm/build.py index 87d990e72a356..122767a8ecc85 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: -- 2.39.5