aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliyingjun <yingjun.li@kylin-cloud.com>2016-10-10 10:53:26 +0800
committerliyingjun <yingjun.li@kylin-cloud.com>2016-10-10 10:53:26 +0800
commitd1b95be49a5be704233ac61e0db3a3c1f6d245c8 (patch)
tree12c670c7f3e9c3fb9fc893fe2b6227310a38ff2d
parentb13b0aad0506d443677b138db33b442b33dc1fc7 (diff)
downloadkolla-d1b95be49a5be704233ac61e0db3a3c1f6d245c8.tar.gz
kolla-d1b95be49a5be704233ac61e0db3a3c1f6d245c8.zip
Use rootwrap in sahara config
In cases where a proxy command is being used to access cluster instances, rootwrap is needed for sahara user in docker container. http://docs.openstack.org/developer/sahara/userdoc/advanced.configuration.guide.html#non-root-users TrivialFix Change-Id: Ic2b7deb6bd0e5f740944c32d89390fb56b88f4fa
-rw-r--r--ansible/roles/sahara/templates/sahara.conf.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/sahara/templates/sahara.conf.j2 b/ansible/roles/sahara/templates/sahara.conf.j2
index 9cf162dae..806689b9d 100644
--- a/ansible/roles/sahara/templates/sahara.conf.j2
+++ b/ansible/roles/sahara/templates/sahara.conf.j2
@@ -9,6 +9,7 @@ use_neutron = True
api_workers = 2
use_floating_ips = False
use_namespaces = True
+use_rootwrap = True
[database]
connection = mysql+pymysql://{{ sahara_database_user }}:{{ sahara_database_password }}@{{ sahara_database_address }}/{{ sahara_database_name }}