From 57af3759f4388365b1fef4c8a6f5dcd8565e7d93 Mon Sep 17 00:00:00 2001 From: MD NADEEM Date: Tue, 15 Mar 2016 10:04:21 +0530 Subject: [PATCH] Fix UnicodeEncodeError for Manila TASK: [manila | Copying over manila.conf] fails while deploying Manila ubuntu binary image with the following error. UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in position 313: ordinal not in range(128) The reason was use of non-ascii character <``> in manila.conf.j2 which is replaced by <''> in this patch to fix the issue. Change-Id: Ic26a5829ed700179997c7c06836fd581a67a6777 --- ansible/roles/manila/templates/manila.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/manila/templates/manila.conf.j2 b/ansible/roles/manila/templates/manila.conf.j2 index 16355c760d..aafb0144d4 100644 --- a/ansible/roles/manila/templates/manila.conf.j2 +++ b/ansible/roles/manila/templates/manila.conf.j2 @@ -10,7 +10,7 @@ my_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['add # Values are conf groupnames that contain per manila-share service opts. enabled_share_backends = generic -# Manila requires ‘share-type’ for share creation. +# Manila requires 'share-type' for share creation. # So, set here name of some share-type that will be used by default. default_share_type = default_share_type