Add suport to neutron-agents and ovs runs in storage node
The generic driver for manila need the neutron agents and OVS / Linuxbridge running on the same node as manila_share. This is necessary when the DHSS (Driver Handles Share Servers) is the value "True", so that the manila_share can talk with NFS manager. Change-Id: I21904659b1789fa71118401bfb6ac2227ae564da Partially-Implements: blueprint enable-manila-containers
This commit is contained in:
parent
287e4faf99
commit
d7850df6dd
@ -93,6 +93,9 @@ control
|
||||
[mistral:children]
|
||||
control
|
||||
|
||||
[manila:children]
|
||||
control
|
||||
|
||||
# Additional control implemented here. These groups allow you to control which
|
||||
# services run on which hosts at a per-service level.
|
||||
#
|
||||
@ -155,6 +158,16 @@ cinder
|
||||
[cinder-volume:children]
|
||||
storage
|
||||
|
||||
# Manila
|
||||
[manila-api:children]
|
||||
manila
|
||||
|
||||
[manila-scheduler:children]
|
||||
manila
|
||||
|
||||
[manila-share:children]
|
||||
storage
|
||||
|
||||
# Swift
|
||||
[swift-proxy-server:children]
|
||||
swift
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
- include: config.yml
|
||||
when: inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent']
|
||||
@ -22,6 +23,7 @@
|
||||
|
||||
- include: start.yml
|
||||
when: inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent']
|
||||
|
@ -20,6 +20,7 @@
|
||||
image: "{{ neutron_linuxbridge_agent_image_full }}"
|
||||
when:
|
||||
- (inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
@ -39,6 +40,7 @@
|
||||
image: "{{ neutron_openvswitch_agent_image_full }}"
|
||||
when:
|
||||
- (inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
@ -58,6 +60,7 @@
|
||||
image: "{{ openvswitch_db_image_full }}"
|
||||
when:
|
||||
- (inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
@ -70,6 +73,7 @@
|
||||
image: "{{ openvswitch_vswitchd_image_full }}"
|
||||
when:
|
||||
- (inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
|
@ -11,6 +11,7 @@
|
||||
- "openvswitch_db:/var/lib/openvswitch/"
|
||||
when:
|
||||
- (inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
@ -25,6 +26,7 @@
|
||||
delay: 2
|
||||
when:
|
||||
- (inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
@ -36,6 +38,7 @@
|
||||
changed_when: status.stdout.find('changed') != -1
|
||||
when:
|
||||
- (inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
@ -54,6 +57,7 @@
|
||||
- "/run:/run"
|
||||
when:
|
||||
- (inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
@ -85,6 +89,7 @@
|
||||
when:
|
||||
- (
|
||||
( inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent']
|
||||
@ -134,6 +139,7 @@
|
||||
- "kolla_logs:/var/log/kolla/"
|
||||
when:
|
||||
- (inventory_hostname in groups['compute']
|
||||
inventory_hostname in groups['manila-share']
|
||||
or inventory_hostname in groups['neutron-dhcp-agent']
|
||||
or inventory_hostname in groups['neutron-l3-agent']
|
||||
or inventory_hostname in groups['neutron-metadata-agent'])
|
||||
|
@ -100,6 +100,7 @@
|
||||
|
||||
- hosts:
|
||||
- compute
|
||||
- manila-share
|
||||
- neutron-dhcp-agent
|
||||
- neutron-l3-agent
|
||||
- neutron-metadata-agent
|
||||
|
Loading…
Reference in New Issue
Block a user