4. 4
Running OpenStack on VirtualBox
• Several constraints for running OpenStack on VirtualBox
• Lack of physical available resources
• Most users use VirtualBox with rather insufficient physical resources (e.g., slow CPU,
small RAM size, …)
• Nested virtualization is not supported
• Running KVM on VirtualBox is not supported.
• Instead, we can run QEMU virtualized virtual machines on OpenStack compute
nodes.
• Virtual network design
• VirtualBox supports the following network types
: NAT, NAT Network (from 4.3), Bridged, Internal, and Host-only.
• To run OpenStack, we should correctly configure this network.
5. 5
Demonstration environment – (1)
• Using 2 VirtualBox VMs
• Mainly inspired from DH Cha’s blog (thank you very much! )
: http://codingopenstack.blogspot.kr/2015/03/manually-install-openstack-
juno-on.html
• VM #1: Controller node
• Message queue, keystone, glance, nova controller-related services, neutron server-
related services, cinder controller-related services
• VM #2: Compute node
• Nova compute-related service, neutron agent-related service, cinder volume service
6. 6
Demonstration environment – (2)
• 4 network adapters for each VirtualBox VM
(ubjuno-contnet)
VM VM VM
(ubjuno-compute)
(NAT) (no IP)
192.168.
22.11
192.168.
33.11
(NAT) X
192.168.
22.12
(Internet access
for installation)
(인터
넷)
(Internet access
for installation)
192.168.
33.12
7. 7
Demonstration environment – (3)
• Requirements
• VirtualBox 4.3
• Two ova images
• One (controller+network): http://goo.gl/iEpvsp
• The other (compute): http://goo.gl/vKxGnj
• A (simple) shell script
• http://goo.gl/A8J8WI