2017-07-12 21:02:32 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
# DEPLOY CONTAINERIZED DAEMONS
|
|
|
|
docker: True
|
|
|
|
|
|
|
|
# DEFINE THE NUMBER OF VMS TO RUN
|
|
|
|
mon_vms: 1
|
|
|
|
osd_vms: 1
|
|
|
|
mds_vms: 0
|
|
|
|
rgw_vms: 0
|
|
|
|
nfs_vms: 0
|
|
|
|
rbd_mirror_vms: 0
|
|
|
|
client_vms: 0
|
|
|
|
iscsi_gw_vms: 0
|
|
|
|
mgr_vms: 0
|
|
|
|
|
|
|
|
# Deploy RESTAPI on each of the Monitors
|
|
|
|
restapi: true
|
|
|
|
|
|
|
|
# SUBNETS TO USE FOR THE VMS
|
2017-09-28 20:14:38 +08:00
|
|
|
public_subnet: 192.168.27
|
|
|
|
cluster_subnet: 192.168.28
|
2017-07-12 21:02:32 +08:00
|
|
|
|
|
|
|
# MEMORY
|
|
|
|
# set 1024 for CentOS
|
|
|
|
memory: 1024
|
|
|
|
|
|
|
|
# Disks
|
|
|
|
# For libvirt use disks: "[ '/dev/vdb', '/dev/vdc' ]"
|
|
|
|
# For CentOS7 use disks: "[ '/dev/sda', '/dev/sdb' ]"
|
|
|
|
disks: "[ '/dev/sda', '/dev/sdb' ]"
|
|
|
|
|
|
|
|
# VAGRANT BOX
|
|
|
|
# Ceph boxes are *strongly* suggested. They are under better control and will
|
|
|
|
# not get updated frequently unless required for build systems. These are (for
|
|
|
|
# now):
|
|
|
|
#
|
|
|
|
# * ceph/ubuntu-xenial
|
|
|
|
#
|
|
|
|
# NOTE(leseb): we use centos for this scenario since we at least need Docker version 1.12.5
|
|
|
|
# which is not available in Atomic Host.
|
|
|
|
# There are bug like this one: https://github.com/docker/docker/issues/12694
|
|
|
|
vagrant_box: centos/7
|
|
|
|
|
|
|
|
#ssh_private_key_path: "~/.ssh/id_rsa"
|
|
|
|
# The sync directory changes based on vagrant box
|
|
|
|
# Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant
|
|
|
|
#vagrant_sync_dir: /home/vagrant/sync
|
|
|
|
#vagrant_sync_dir: /
|
|
|
|
# Disables synced folder creation. Not needed for testing, will skip mounting
|
|
|
|
# the vagrant directory on the remote box regardless of the provider.
|
|
|
|
vagrant_disable_synced_folder: true
|