Configure Apache services to use correct locale
Closes-Bug: #2076453
Change-Id: I6af9baf09a19a7dbcaf98585870aa44ff79398d3
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
(cherry picked from commit 2caa64df67
)
This commit is contained in:
parent
ad101bc096
commit
09fa1b6d44
@ -39,3 +39,13 @@ EOF
|
|||||||
/usr/libexec/httpd-ssl-gencerts
|
/usr/libexec/httpd-ssl-gencerts
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# The default system locale with unicode support
|
||||||
|
LANG=C.UTF-8
|
||||||
|
|
||||||
|
# Override the default locale if configured
|
||||||
|
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
||||||
|
[ -f /etc/default/locale ] && . /etc/default/locale
|
||||||
|
else
|
||||||
|
[ -f /etc/locale.conf ] && . /etc/locale.conf
|
||||||
|
fi
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Apache services like Keystone now started with correct unicode locale.
|
||||||
|
Keystone under Apache on Ubuntu will fail with a UnicodeEncodeError
|
||||||
|
when LDAP driver and DEBUG are enabled.
|
||||||
|
`LP#2076453 <https://bugs.launchpad.net/kolla/+bug/2076453>`__
|
Loading…
Reference in New Issue
Block a user