summaryrefslogtreecommitdiffstats
path: root/xci/file/mini
diff options
context:
space:
mode:
Diffstat (limited to 'xci/file/mini')
-rw-r--r--xci/file/mini/configure-targethosts.yml4
-rw-r--r--xci/file/mini/openstack_user_config.yml13
2 files changed, 12 insertions, 5 deletions
diff --git a/xci/file/mini/configure-targethosts.yml b/xci/file/mini/configure-targethosts.yml
index 7a20c0f6..50da1f22 100644
--- a/xci/file/mini/configure-targethosts.yml
+++ b/xci/file/mini/configure-targethosts.yml
@@ -28,5 +28,9 @@
- { role: configure-network, src: "../template/compute.interface.j2", dest: "/etc/network/interfaces" }
# we need to force sync time with ntp or the nodes will be out of sync timewise
- role: synchronize-time
+
+- hosts: compute00
+ remote_user: root
# TODO: this role is for configuring NFS on xenial and adjustment needed for other distros
+ roles:
- role: configure-nfs
diff --git a/xci/file/mini/openstack_user_config.yml b/xci/file/mini/openstack_user_config.yml
index 70429cea..f9ccee24 100644
--- a/xci/file/mini/openstack_user_config.yml
+++ b/xci/file/mini/openstack_user_config.yml
@@ -160,8 +160,11 @@ storage_hosts:
container_vars:
cinder_backends:
limit_container_types: cinder_volume
- lvm:
- volume_group: cinder-volumes
- volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
- volume_backend_name: LVM_iSCSI
- iscsi_ip_address: "172.29.244.11"
+ nfs_volume:
+ volume_backend_name: NFS_VOLUME1
+ volume_driver: cinder.volume.drivers.nfs.NfsDriver
+ nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
+ nfs_shares_config: /etc/cinder/nfs_shares
+ shares:
+ - ip: "172.29.244.12"
+ share: "/volumes"