Last active
March 16, 2017 05:46
-
-
Save stevei101/594e0c068260664beb4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I installed ubuntu 15.04 | |
# update + upgrade trusty repos | |
sudo apt-get update; sudo apt-get upgrade | |
# dist-upgrade | |
sudo apt-get dist-upgrade | |
# it is not necessary to reboot, but if it makes you feel better.. | |
sudo reboot (optional) | |
# install project development requirements | |
sudo apt-get install python-dev python-setuptools git gcc vagrant | |
# install pip using setuptools | |
sudo easy_install pip | |
# install ansible using pip | |
sudo -H pip install ansible | |
# note: things written in round braces meant to be optional) | |
(mkdir -p tmp) | |
(cd tmp) | |
wget http://download.virtualbox.org/virtualbox/4.3.30/virtualbox-4.3_4.3.30-101610~Ubuntu~raring_amd64.deb | |
sudo dpkg -i virtualbox-4.3_4.3.30-101610~Ubuntu~raring_amd64.deb | |
[if errors need to: sudo apt-get -f install] | |
# delete virtualbox.deb | |
rm -f virtualbox-4.3_4.3.30-101610~Ubuntu~raring_amd64.deb | |
# clone monasca-vagrant (pull only) | |
(mkdir -p gits) | |
(cd gits) | |
git clone https://github.com/stackforge/monasca-vagrant.git | |
cd monasca-vagrant | |
ansible-galaxy install -r requirements.yml -p ./roles | |
vagrant up | |
You may see the following error: | |
### | |
VirtualBox is complaining that the kernel module is not loaded. Please | |
run `VBoxManage --version` or open the VirtualBox GUI to see the error | |
message which should contain instructions on how to fix this error. | |
riclin@riclin-ThinkPad-W541:~/gits/monasca-vagrant$ VBoxManage --version | |
WARNING: The vboxdrv kernel module is not loaded. Either there is no module | |
available for the current kernel (3.19.0-25-generic) or it failed to | |
load. Please recompile the kernel module and install it by | |
sudo /etc/init.d/vboxdrv setup | |
You will not be able to start VMs until this problem is fixed. | |
### | |
If so run the command: | |
sudo /etc/init.d/vboxdrv setup | |
then | |
vagrant up | |
NOTE: If you see timeouts you can edit the ansible roles tasks install file to add timeout=240 to the end of tasks with get_url ... | |
Paulene also list the work arounds here: | |
https://confluence.sco.cisco.com/pages/viewpage.action?title=Devstack+Monasca+Manual+Setup&spaceKey=CCS#Startup Monasca | |
also: follow instructions here to add ssh key and add it to your github so you can git clone with read / write: | |
https://help.github.com/articles/generating-ssh-keys/ | |
then.. | |
git clone git@github.com:stevenirvin/ansible-ceilosca.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I saw the same error with vagrant 1.8.7 on CentOS 7.3 with kernel version 3.10.0-514.10.2.el7.x86_64.
The following steps resolved the error for me:
yum -y install kernel-headers kernel-devel
sudo /sbin/rcvboxdrv setup
VBoxManage --version