From 68209af58a0b1bcd110b2c12fcfc9687ed970da4 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Wed, 13 Sep 2017 14:39:22 +0400 Subject: [baremetal] Setup glusterfs for nova instances Live-migration feature requires shared storage on compute nodes, so configure glusterfs volume for nova instances. Change-Id: Id6b9b5aad89f5b4aefbef71e4ba7247a441873b0 Signed-off-by: Michael Polenchuk --- .../cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml') diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml index e11e35e54..93a26b19e 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml @@ -3,6 +3,7 @@ classes: - system.linux.system.repo.mcp.extra - system.linux.system.repo.saltstack.xenial - system.linux.storage.loopback +- system.glusterfs.client.cluster - system.nova.compute.cluster - system.nova.compute.nfv.hugepages - system.nova.compute.nfv.cpu_pinning @@ -30,6 +31,15 @@ parameters: keepalived_vip_interface: br-ctl keepalived_vip_virtual_router_id: 69 loopback_device_size: 20 + glusterfs: + client: + volumes: + nova_instances: + path: /var/lib/nova/instances + server: ${_param:glusterfs_service_host} + user: nova + group: nova + opts: "defaults,backup-volfile-servers=${_param:cluster_node01_address}:${_param:cluster_node02_address}:${_param:cluster_node03_address}" linux: network: bridge: openvswitch -- cgit 1.2.3-korg