{"id":2165,"date":"2015-04-09T21:49:07","date_gmt":"2015-04-09T18:49:07","guid":{"rendered":"http:\/\/www.cloudbase.it\/?p=2165"},"modified":"2015-10-17T15:49:51","modified_gmt":"2015-10-17T12:49:51","slug":"virtualbox-openstack-driver","status":"publish","type":"post","link":"https:\/\/cloudbase.it\/virtualbox-openstack-driver\/","title":{"rendered":"VirtualBox driver for OpenStack"},"content":{"rendered":"

More and more people are interested in cloud computing and OpenStack but many of them give it up because they can’t test or interact with this kind of infrastructure. This is mostly a result of either high costs of hardware or the difficulty of the deployment in a particular environment.<\/h4>\n

 
\nIn order to help the community to interact more with cloud computing and learn about it, Cloudbase Solutions has come up with a simple VirtualBox driver\u00a0for OpenStack. VirtualBox\u00a0allows you to set up a cloud environment on your personal laptop, no matter which operating system\u00a0you’re using (Windows, Linux, OS X). It also gets the job done with a free and familiar virtualization environment.<\/p>\n

 <\/p>\n

Nova hypervisor support matrix<\/h3>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Feature<\/th>\nStatus<\/th>\nVirtualBox<\/th>\n<\/tr>\n
Attach block volume to instance<\/td>\noptional<\/td>\nPartially\u00a0supported<\/span><\/td>\n<\/tr>\n
Detach block volume from instance<\/td>\noptional<\/td>\nPartially\u00a0supported<\/span><\/td>\n<\/tr>\n
Evacuate instances from host<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Guest instance status<\/td>\nmandatory<\/strong><\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Guest host status<\/td>\noptional<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Live migrate instance across hosts<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Launch instance<\/td>\nmandatory<\/strong><\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Stop instance CPUs<\/td>\noptional<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Reboot instance<\/td>\noptional<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Rescue instance<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Resize instance<\/td>\noptional<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Restore instance<\/td>\noptional<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Service control<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Set instance admin password<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Save snapshot of instance disk<\/td>\noptional<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Suspend instance<\/td>\noptional<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Swap block volumes<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Shutdown instance<\/td>\nmandatory<\/strong><\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Resume instance CPUs<\/td>\noptional<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Auto configure disk<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Instance disk I\/O limits<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Config drive support<\/td>\nchoice<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Inject files into disk image<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Inject guest networking config<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Remote desktop over RDP<\/td>\nchoice<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
View serial console logs<\/td>\nchoice<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Remote desktop over SPICE<\/td>\nchoice<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Remote desktop over VNC<\/td>\nchoice<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Block storage support<\/td>\noptional<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Block storage over fibre channel<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Block storage over iSCSI<\/td>\ncondition<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
CHAP authentication for iSCSI<\/td>\noptional<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Image storage support<\/td>\nmandatory<\/strong><\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
Network firewall rules<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Network routing<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Network security groups<\/td>\noptional<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n
Flat networking<\/td>\nchoice<\/td>\nSupported<\/span><\/strong><\/td>\n<\/tr>\n
VLAN networking<\/td>\nchoice<\/td>\nNot supported<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

More information regarding this feature can be found on the following pages: Nova Support Matrix<\/a> and Hypervisor Support Matrix<\/a>.<\/p>\n

<\/h3>\n

VirtualBox supported features<\/h3>\n

Guest instance status<\/h4>\n

Provides a quick report on information about the guest instance, including the power state, memory allocation, CPU allocation, number of vCPUs and cumulative CPU execution time.<\/p>\n

\"Virtualbox<\/a><\/p>\n

Guest host status<\/h4>\n

Provides a quick report of available resources on the host machine.<\/p>\n

\"Virtualbox<\/a><\/p>\n

Launch instance<\/h4>\n

Creates a new instance (virtual machine) on the virtualization platform.<\/p>\n

\"Virtualbox<\/a><\/p>\n

Shutdown instance<\/h4>\n

\"Virtualbox<\/a><\/p>\n

<\/h4>\n

Stop instance CPUs<\/h4>\n

Stopping an instance CPUs can be thought of as roughly equivalent to suspend-to-RAM. The instance is still present in memory, but execution has stopped.<\/p>\n

\"Virtualbox<\/a><\/h4>\n

Resume instance CPUs<\/h4>\n

\"Virtualbox<\/a><\/p>\n

Suspend instance<\/h4>\n

Suspending an instance can be thought of as roughly equivalent to suspend-to-disk. The instance no longer consumes any RAM or CPUs, having\u00a0its live running state preserved in a file on disk. It can later be restored, at which point it should continue execution where it left off.<\/p>\n

\"Virtualbox<\/a><\/p>\n

Save snapshot of instance disk<\/h4>\n

The snapshot operation allows the current state of the instance root disk to be saved and uploaded back into the glance image repository. The instance can later be booted again using this saved image.
\n
\"VirtualBox<\/a><\/p>\n

Block storage support<\/h4>\n

Block storage provides instances with direct attached virtual disks that can be used for persistent storage of data. As an alternative to direct attached disks, an instance may choose to use network based persistent storage.<\/p>\n

\"Virtualbox<\/a><\/p>\n

Remote desktop over VNC<\/h4>\n

\"Virtualbox<\/a><\/p>\n

Note: In order to use this feature, the VNC extension pack for VirtualBox must be installed.<\/p>\n

You can list all of the available extension packages running the following command:<\/p>\n

VBoxManage list extpacks<\/pre>\n
 Pack no. 0: Oracle VM VirtualBox Extension Pack\r\n Version: 4.3.20\r\n Revision: 96996\r\n Edition:\r\n Description: USB 2.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM with E1000 support.\r\n VRDE Module: VBoxVRDP\r\n Usable: true\r\n Why unusable:\r\n\r\n Pack no. 1: VNC\r\n Version: 4.3.18\r\n Revision: 96516\r\n Edition:\r\n Description: VNC plugin module\r\n VRDE Module: VBoxVNC\r\n Usable: true\r\n Why unusable:<\/pre>\n

Setting up DevStack environment<\/h3>\n

Create Virtual Machine<\/h4>\n