From cd94a9ca03e5ae5384c58583e9ccb1bcac9b66ef Mon Sep 17 00:00:00 2001 From: Adrian Czarnecki Date: Mon, 7 Jan 2019 12:50:15 +0100 Subject: [PATCH] Configure system encoding format This is needed to properly build monasca-common from repository Change-Id: Iacec60495d02b0a2b882044192058da24f484f97 --- devstack/plugin.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 18ab2d87c..14914816a 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -108,6 +108,7 @@ function pre_install_monasca { echo_summary "Pre-Installing Monasca Components" find_nearest_apache_mirror install_gate_config_holder + configure_system_encoding_format install_kafka install_zookeeper install_storm @@ -157,6 +158,14 @@ function configure_monasca { configure_monasca-persister } +function configure_system_encoding_format { + # This is needed to build monasca-common + export LANGUAGE=en_US.UTF-8 + export LC_ALL=en_US.UTF-8 + export LANG=en_US.UTF-8 + export LC_TYPE=en_US.UTF-8 +} + function extra_monasca { echo_summary "Installing additional monasca components"