Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash warning just after ssh to coreos machine. #365

Closed
praveenkumar opened this issue Nov 1, 2018 · 7 comments
Closed

bash warning just after ssh to coreos machine. #365

praveenkumar opened this issue Nov 1, 2018 · 7 comments
Labels

Comments

@praveenkumar
Copy link

praveenkumar commented Nov 1, 2018

Is below warning expected (locale one)?

$ ssh -o "UserKnownHostsFile /dev/null" core@$OPENSHIFT_INSTALL_CLUSTER_NAME-bootstrap.$OPENSHIFT_INSTALL_BASE_DOMAIN 
The authenticity of host 'test1-bootstrap.tt.testing (192.168.126.10)' can't be established.
ECDSA key fingerprint is SHA256:y6/kM4tZyX7KwNTg1TSErsmNFbIxdCbtW9MlG2IWe+w.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'test1-bootstrap.tt.testing,192.168.126.10' (ECDSA) to the list of known hosts.
Red Hat CoreOS 4.0
 Information: https://url.corp.redhat.com/redhat-coreos
 Bugs: https://github.com/openshift/os

---
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)

$ cat /etc/os-release 
NAME="Red Hat CoreOS"
VERSION="4.0"
ID="rhcos"
ID_LIKE="rhel fedora"
VERSION_ID="4.0"
PRETTY_NAME="Red Hat CoreOS 4.0"
ANSI_COLOR="0;31"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat 7"
REDHAT_BUGZILLA_PRODUCT_VERSION="4.0"
REDHAT_SUPPORT_PRODUCT="Red Hat"
REDHAT_SUPPORT_PRODUCT_VERSION="4.0"
OSTREE_VERSION=47.42
@ashcrow ashcrow added the triage/support Indicates an issue that is a support question. label Nov 1, 2018
@cgwalters cgwalters added bug and removed triage/support Indicates an issue that is a support question. labels Nov 1, 2018
@cgwalters
Copy link
Member

Yeah, it's a bug. Came about when we switched to rpm-ostree compose tree --unified-core. Has something to do with the glibc locales update. Doesn't reproduce with Fedora.

@ashcrow ashcrow added the jira label Nov 1, 2018
@ashcrow
Copy link
Member

ashcrow commented Nov 1, 2018

Tagging in for someone to pick up as a card.

@cgwalters
Copy link
Member

This may relate to ostreedev/ostree#1470

It might be something that glibc's build-locale-archive is doing differently in el7?

@miabbott
Copy link
Member

On a recent RHCOS system, it looks like the only installed locales are C and POSIX

$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX

@ashcrow
Copy link
Member

ashcrow commented Nov 15, 2018

Hopefully we'll be able to fix this in this coming sprint. I've pulled it up in the backlog.

@cgwalters
Copy link
Member

coreos/rpm-ostree#1678

@cgwalters
Copy link
Member

This is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants