[OpenStack-docs] OpenStack Training labs - VirtualBox vs KVM

Bernd Bausch berndbausch at gmail.com
Thu Nov 26 09:41:43 UTC 2015


Well, here as well. It works with VirtualBox 5. The problems were with 4.3.
Sorry for the wasted time.

One tiny problem: osbash tries to download ubuntu-14.04.2-server-amd64.iso,
a name that is hardcoded in lib/osbash/lib.ubuntu-14.04-server-amd64.
Unfortunately, the ISOs on the Ubuntu download site are now named
ubuntu-14.04.3, not ...2, so that the download fails. This must be a very
recent change.

Does this deserve submitting a bug or is there a process to adapt the ISO
name when it changes in the distro?

Bernd

-----Original Message-----
From: Roger Luethi [mailto:rl at patchworkscience.org] 
Sent: Tuesday, November 24, 2015 5:00 AM
To: Bernd Bausch <berndbausch at gmail.com>
Cc: openstack-docs at lists.openstack.org
Subject: Re: [OpenStack-docs] OpenStack Training labs - VirtualBox vs KVM

I had a chance to take my chances with CentOS today. Here are my notes,
starting from a fresh CentOS minimal install (same release as yours):

As root:
# yum groupinstall "Server with GUI"
# yum groupinstall "Development Tools"
# yum install kernel-devel
# cd /etc/yum.repos.d/
# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
# yum install VirtualBox-5.0

As regular user:
$ git clone git://git.openstack.org/openstack/training-labs
$ cd training-labs/labs/osbash
$ ./osbash -b cluster
$ PROVIDER=virtualbox tools/test-once.sh scripts/test/launch_instance.sh

Tests passed. Looks like you just had some bad luck. It seems to work fine
on CentOS.

Roger

On Sun, 22 Nov 2015 11:35:43 +0900, Bernd Bausch wrote:
> The promise of the training labs is to install an OpenStack cluster at 
> the push of a button. I have finally taken the time to try it out and 
> hit an obstacle very early in the process.
> 
> My OS is Centos 7.1, more precisely "CentOS Linux release 7.1.1503
(Core)".
> The obstacle is VirtualBox, more precisely the installation of the 
> vboxdrv kernel module.
> 
> Details if you are interested: The vboxdrv module build process fails 
> because the version of the required kernel-devel package is not quite 
> identical to the version of the installed kernel (3.10.0-229.20.1 
> versus 3.10.0-229). This confuses the build script.
> 
> yum upgrade didn't change this.
> 
> No doubt the problem can be resolved easily. My point is that 
> VirtualBox may be installed easily on Ubuntu (there is a 
> Ubuntu-maintained package), but not necessarily on other systems. A 
> push-button installation of the training labs on my Centos system is not
possible.
> 
> Would it be useful to port the training labs to KVM? Is anybody 
> working on this? If the answers are yes and no, respectively, I will give
it a try.





More information about the OpenStack-docs mailing list