diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-09-13 12:18:19 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-09-13 12:18:19 +0400 |
commit | 75ff9b4407cff88c32c079dde5a23383e3cd8f93 (patch) | |
tree | f009551c5f812e77571d13b309fb49203cd0d2be /mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml | |
parent | b30697a84ce41ee20a8b6070acda60f3a5cfac26 (diff) |
[virtual] Setup nfs for nova instances
Configure nfs shared storage for nova instances
to support live migration feature.
Change-Id: I777d5725e45d03325507d3ecc8dd59a28cbc188f
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml')
-rw-r--r-- | mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml index 2485d1ff2..978f468e6 100644 --- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml +++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-common/openstack_compute.yml @@ -3,6 +3,7 @@ classes: - system.linux.system.repo.mcp.extra - system.linux.system.repo.saltstack.xenial - system.linux.storage.loopback +- service.nfs.client - system.nova.compute.single - service.neutron.compute.single - service.cinder.volume.single @@ -44,6 +45,13 @@ parameters: host: ${_param:cluster_local_address} message_queue: host: ${_param:cluster_local_address} + nfs: + client: + mount: + nfs: + path: /var/lib/nova/instances + fstype: nfs + device: ${_param:openstack_control_address}:/srv/nova/instances linux: network: bridge: openvswitch |