summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Gariepy <gariepy.marc@gmail.com>2018-09-28 09:13:36 -0400
committerMarc Gariepy <gariepy.marc@gmail.com>2018-09-28 09:17:43 -0400
commitef3fe9966fff2570ce2b40094921abe17fa3f2a1 (patch)
treefcf773b1f601088828443c2a3c3319fae1561fa7
parente5106ced5ec5bc0bf8e7641a320ef17b13b19715 (diff)
Change locale for openrc
When there is a special char in the name of a server or something else, openstack client cannot print the char and throw this error: 'ascii' codec can't encode character u'\xe8' in position 106729: ordinal not in range(128) Changing the locale to C.UTF-8 fix this small issue. Change-Id: I2607f1617c37181c5de2cd49634e6e487f7a22d9
Notes
Notes (review): Code-Review+2: Mohammed Naser <mnaser@vexxhost.com> Code-Review+2: Jesse Pretorius (odyssey4me) <jesse.pretorius@rackspace.co.uk> Workflow+1: Jesse Pretorius (odyssey4me) <jesse.pretorius@rackspace.co.uk> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 29 Sep 2018 12:30:10 +0000 Reviewed-on: https://review.openstack.org/606069 Project: openstack/openstack-ansible-openstack_openrc Branch: refs/heads/master
-rw-r--r--templates/openrc.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/openrc.j2 b/templates/openrc.j2
index 5932046..3994d36 100644
--- a/templates/openrc.j2
+++ b/templates/openrc.j2
@@ -1,5 +1,5 @@
1# {{ ansible_managed }} 1# {{ ansible_managed }}
2export LC_ALL=C 2export LC_ALL=C.UTF-8
3 3
4# COMMON CINDER ENVS 4# COMMON CINDER ENVS
5export CINDER_ENDPOINT_TYPE={{ openrc_cinder_endpoint_type }} 5export CINDER_ENDPOINT_TYPE={{ openrc_cinder_endpoint_type }}