diff options
| author | liyingjun <yingjun.li@kylin-cloud.com> | 2016-10-10 10:53:26 +0800 |
|---|---|---|
| committer | liyingjun <yingjun.li@kylin-cloud.com> | 2016-10-10 10:53:26 +0800 |
| commit | d1b95be49a5be704233ac61e0db3a3c1f6d245c8 (patch) | |
| tree | 12c670c7f3e9c3fb9fc893fe2b6227310a38ff2d | |
| parent | b13b0aad0506d443677b138db33b442b33dc1fc7 (diff) | |
| download | kolla-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.j2 | 1 |
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 }} |
