[JIRA] (OVIRT-2621) setlocale warnings in mock logs

[ https://ovirt-jira.atlassian.net/browse/OVIRT-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38533#comment-38533 ] Evgheni Dereveanchin commented on OVIRT-2621: --------------------------------------------- It also may be linked to the behavior of certain applications. Specifically, I've seen this with virsh when working on OVIRT-2575: ssh ovirt-srv18.phx.ovirt.org virsh list X11 forwarding request failed on channel 0 setlocale: No such file or directory Id Name State ---------------------------------------------------- However running other commands, such as "ls" does not produce this error ssh ovirt-srv18.phx.ovirt.org ls -l X11 forwarding request failed on channel 0 total 0 Digging further makes me think that the value of LC_ALL is causing the issue as it is empty in my env and passed via SSH like that. If I set it to C the setlocale warning goes away in virsh. This is confirmed by other lines in the log: 11:23:18 perl: warning: Setting locale failed. 11:23:18 perl: warning: Please check that your locale settings: 11:23:18 LANGUAGE = (unset), 11:23:18 LC_ALL = (unset), 11:23:18 LANG = "C.UTF-8" 11:23:18 are supported and installed on your system. [~bkorren@redhat.com] what's the best way to define env vars in the build to set LANG, LC_ALL and LANGUAGE to C and get rid of these warnings?
setlocale warnings in mock logs -------------------------------
Key: OVIRT-2621 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2621 Project: oVirt - virtualization made easy Issue Type: Improvement Reporter: Evgheni Dereveanchin Assignee: infra
There's a bunch of setlocale warnings in mock logs which didn't exist before: https://jenkins.ovirt.org/job/ovirt-node-ng_ovirt-4.2-pre_build-artifacts-el... We need to verify what happened to get rid of these messages as they are distracting attention from real failure causes
-- This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100095)
participants (1)
-
Evgheni Dereveanchin (oVirt JIRA)