Bug 1673806
Summary: | OpenShift 3.10 Binary-Build fails when filename contains an umlaut | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Christian Stark <cstark> |
Component: | Build | Assignee: | Adam Kaplan <adam.kaplan> |
Status: | CLOSED ERRATA | QA Contact: | wewang <wewang> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.10.0 | CC: | aos-bugs, mhayashi, wzheng |
Target Milestone: | --- | Keywords: | NeedsTestCase |
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: openshift-docker-builder did not have locale set via the LANG environment variable
Consequence: binary builds failed because it could not extract files with UTF-8 filenames
Fix: builds default the LANG environment variable to "en_US.utf8". This can be overrode by setting the LANG environment variable in the BuildConfig object.
Result: binary builds succeed if file names contain UTF-8 characters
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-04 10:42:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Christian Stark
2019-02-08 08:07:41 UTC
I wonder if this is also a problem for git repos that contain a file w/ an umlaut, or it's specific to how the binary build tars+streams the content in. We should check. Origin PR: https://github.com/openshift/origin/pull/22388 Builder PR: https://github.com/openshift/builder/pull/55 origin PR has merged. Builder PR adds additional debugging info. Verified in 4.0.0-0.nightly-2019-03-25-180911 payload: image: registry.svc.ci.openshift.org/ocp/release@sha256:2d781cbe28722b6eeb3ff969c5dc68199198fd1f0514a3284eb7215ae0cb4d2f Steps: 1. Create files with include umlaut, like utf8_tést_app.rb 2. Start build from with local source, build complete [wewang@Desktop ruby]$ ls config.ru Dockerfile Gemfile utf8_tést_app.rb $ oc start-build ruby-hello-world --from-dir="." --follow $ oc get builds NAME TYPE FROM STATUS STARTED DURATION ruby-hello-world-1 Docker Git@787f1be Complete 12 minutes ago 1m23s ruby-hello-world-2 Docker Binary Complete 6 minutes ago 1m7s 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-2019:0758 |