Project

General

Profile

Actions

Bug #52985

closed

mgr/dashboard/api: set a UTF-8 locale when running pip

Added by Ernesto Puerta over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
Build, CI, Dependencies & Tools
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ansible-core started to include files whose filenames are encoded in
non-ascii characters, so we have to use a more capable encoding for the
locale in order to install this package. otherwise we'd have following
error:

Collecting ansible-core<2.12,>=2.11.3
Using cached ansible-core-2.11.4.tar.gz (6.8 MB)
ERROR: Exception:

Traceback (most recent call last):
File "/tmp/tmp.fX76ASIrch/venv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
status = self.run(options, args)
...
File "/tmp/tmp.fX76ASIrch/venv/lib/python3.8/site-packages/pip/_internal/utils/unpacking.py", line 226, in untar_file
with open(path, "wb") as destfp:
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 137-140: ordinal not in range(256)


Related issues 3 (0 open3 closed)

Has duplicate CI - Bug #52972: ceph-api-nightly-{octopus,nautilus}-backend: UnicodeEncodeError: 'latin-1' codec can't encode characters in position 104-107: ordinal not in range(256)Closed

Actions
Copied to Dashboard - Backport #52986: octopus: mgr/dashboard/api: set a UTF-8 locale when running pipResolvedErnesto PuertaActions
Copied to Dashboard - Backport #52987: nautilus: mgr/dashboard/api: set a UTF-8 locale when running pipResolvedErnesto PuertaActions
Actions #1

Updated by Ernesto Puerta over 2 years ago

  • Status changed from New to Pending Backport
Actions #2

Updated by Ernesto Puerta over 2 years ago

  • Copied to Backport #52986: octopus: mgr/dashboard/api: set a UTF-8 locale when running pip added
Actions #3

Updated by Ernesto Puerta over 2 years ago

  • Copied to Backport #52987: nautilus: mgr/dashboard/api: set a UTF-8 locale when running pip added
Actions #4

Updated by Ernesto Puerta over 2 years ago

  • Has duplicate Bug #52972: ceph-api-nightly-{octopus,nautilus}-backend: UnicodeEncodeError: 'latin-1' codec can't encode characters in position 104-107: ordinal not in range(256) added
Actions #5

Updated by Ernesto Puerta over 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF