Fix manila_share container isn't up after deploy

Change-Id: Ia5ece5f02841aebc1bdb0950b3f827e1cee359e5
Closes-Bug: #1620721
Closes-Bug: #1614033
This commit is contained in:
Mauricio Lima 2016-09-06 12:30:08 -04:00
parent 682025c9e2
commit 3091f94a07
4 changed files with 5 additions and 8 deletions

View File

@ -360,5 +360,4 @@ ceph_cache_rule: "cache host firstn"
#######################################
# Manila - Shared File Systems Options
#######################################
manila_enable_dhss: "yes"
manila_dhss: "{{ 'True' if manila_enable_dhss | bool else 'False' }}"
driver_handles_share_servers: "True"

View File

@ -46,6 +46,7 @@
- "{{ node_custom_config }}/database.conf"
- "{{ node_custom_config }}/messaging.conf"
- "{{ node_custom_config }}/manila.conf"
- "{{ node_custom_config }}/{{ item }}.conf"
- "{{ node_custom_config }}/manila/{{ item }}.conf"
- "{{ node_custom_config }}/manila/{{ inventory_hostname }}/manila.conf"
dest: "{{ node_config_directory }}/{{ item }}/manila.conf"

View File

@ -62,11 +62,7 @@ interface_driver = manila.network.linux.interface.BridgeInterfaceDriver
# Generic driver supports both driver modes - with and without handling
# of share servers. So, we need to define explicitly which one we are
# enabling using this driver.
{% if manila_dhss == "True" %}
driver_handles_share_servers = True
{% elif manila_dhss == "False" %}
driver_handles_share_servers = False
{% endif %}
driver_handles_share_servers = {{ driver_handles_share_servers }}
# Generic driver is the only driver that uses image from Glance for building
# service VMs in Nova. And following are data for some specific image.

View File

@ -187,7 +187,8 @@ nova_backend_ceph: "{{ enable_ceph }}"
#######################################
# Manila - Shared File Systems Options
#######################################
#manila_enable_dhss: "yes"
# Valid options are [ True, False ]
#driver_handles_share_servers: "True"
##################################