Vagrant Ceph environment that can be used to bolt onto vagrant-openstack
Contributors:
- Kevin Jackson (@itarchitectkev)
- Vagrant (recommended 1.8+)
- VirtualBox 4.3+ (Tested on VirtualBox 5.1)
- Git (to check out this environment)
- NFSD enabled on Mac and Linux environments to allow guest /vagrant access
git clone https://github.com/OpenStackCookbook/vagrant-ceph.git
cd vagrant-ceph
vagrant up --provider=virtualbox
Time to deploy: 5 mins
vagrant ssh cephaio
sudo -i
ceph -s
ceph df
Deploys 1 server
cephaio (1vCPU, 4Gb Ram)
eth0 - nat (used by VMware/VirtualBox)
eth1 - br-mgmt (Container) 172.29.236.0/24
eth2 - br-vlan (Neutron VLAN network) 0.0.0.0/0
eth3 - host / Ceph 192.168.100.0/24
eth4 - br-vxlan (Neutron VXLAN Tunnel network) 172.29.240.0/24
Note: check your VirtualBox/Fusion/Workstation networking and remove any conflicts.
Any amendments are done in the file called Vagrantfile:
box.vm.network :private_network, ip: "172.29.236.#{ip_start+i}", :netmask => "255.255.255.0"
box.vm.network :private_network, ip: "10.10.0.#{ip_start+i}", :netmask => "255.255.255.0"
box.vm.network :private_network, ip: "192.168.100.#{ip_start+i}", :netmask => "255.255.255.0"
box.vm.network :private_network, ip: "172.29.240.#{ip_start+i}", :netmask => "255.255.255.0