[docs] Building fails on Ubuntu 12.04 following developer documentation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Christopher Aedo |
Bug Description
I am trying to set up a dev enviroment for Fuel/nailgun.
I have have been follwing the documentation at (http://
sudo apt-get update && \
sudo apt-get upgrade -y && \
sudo apt-get install -y git && \
sudo reboot # to load new kernel if required
#following reboot
git clone https:/
git clone https:/
git clone https:/
git clone https:/
git clone https:/
git clone https:/
sudo apt-get install -y postgresql postgresql-
sudo -u postgres createuser -SDRP nailgun # enter password 'nailgun'
sudo -u postgres createdb nailgun && \
sudo apt-get install -y python-dev python-pip python-yaml && \
sudo pip install virtualenv virtualenvwrapper && \
source /usr/local/
cd fuel-web && \
mkvirtualenv fuel && \
workon fuel && \
pip install ./shotgun && \
pip install --allow-
sudo mkdir /var/log/nailgun && \
sudo chown -R `whoami`.`whoami` /var/log/nailgun && \
./run_tests.sh --no-jslint --no-webui && \
./run_tests.sh --flake8 && \
sudo apt-get remove -y nodejs nodejs-legacy && \
sudo apt-get install -y software-
sudo add-apt-repository ppa:chris-
sudo apt-get update && \
sudo apt-get install -y nodejs && \
sudo npm install -g grunt-cli && \
cd nailgun && \
sudo npm install
sudo npm install -g phantomjs && \
cd ~ && \
git clone git://github.
cd casperjs && \
git checkout tags/1.0.0-RC4 && \
sudo ln -sf `pwd`/bin/casperjs /usr/local/
cd ../fuel-web && \
./run_tests.sh --jslint && \
sudo apt-get install -y fontconfig && \
./run_tests.sh --webui
cd nailgun && \
sudo npm install && \
grunt bower
./manage.py syncdb && \
./manage.py loaddefault && \
./manage.py loaddata nailgun/
grunt build --static-
cd ../../fuel-main && \
make test-integration
This initially failed until I installed yum, createrepo & multistrap
There are some failures during the nailgun unit tests - though these appear to be to do with removing nodes: so I'm assuming with an empty database this is to be expected.
The build fails reporting:
mkdir -p /home/user/
sudo sh -c "${SANDBOX_UP}"
Starting SANDBOX up
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
rpm: no packages given for install
centos-release already installed
Rebuilding RPM DB
Installing packages for Sandbox
warning: Generating 12 missing index(es), please wait...
Config time: 1.580
Yum Version: 3.4.3
Setting up Package Sacks
mirror | 1.1 kB 00:00 ...
mirror/primary | 208 B 00:00 ...
rpmdb time: 0.002
Setting up Install Process
Setting up Package Sacks
Checking for virtual provide or file-provide for bash
Setting up Package Sacks
No package bash available.
Setting up Package Sacks
Error: Nothing to do
mount: mount point /home/user/
mount: mount point /home/user/
make: *** [/home/
I presume this must mean there is an issue with the repo? Though I'd appreciate any advice on how to fix this bug - I'm very keen to get involved in this project, and do not want to progress further toward building an iso until i can get this worked out.
Cheers
Pete
description: | updated |
description: | updated |
Changed in fuel: | |
milestone: | none → 5.0 |
Changed in fuel: | |
assignee: | nobody → Fuel Library Team (fuel-library) |
importance: | Undecided → High |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Dmitry Pyzhov (lux-place) |
Changed in fuel: | |
importance: | High → Medium |
summary: |
- Building fails on Ubuntu 12.04 following developer documentation + [docs] Create section for system tests |
Changed in fuel: | |
assignee: | Dmitry Pyzhov (lux-place) → nobody |
summary: |
- [docs] Create section for system tests + [docs] Create section for system tests in development documentation |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | nobody → Fuel QA Team (fuel-qa) |
milestone: | 5.0 → 5.1 |
Changed in fuel: | |
assignee: | Fuel QA Team (fuel-qa) → Nikolay Markov (nmarkov) |
Changed in fuel: | |
assignee: | Nikolay Markov (nmarkov) → Nastya Urlapova (aurlapova) |
summary: |
- Building fails on Ubuntu 12.04 following developer documentation + [docs] Building fails on Ubuntu 12.04 following developer documentation |
Changed in fuel: | |
assignee: | Nastya Urlapova (aurlapova) → Fuel DevOps (fuel-devops) |
Changed in fuel: | |
assignee: | Fuel DevOps (fuel-devops) → Christopher Aedo (docaedo) |
Hi, Pete, which environment do you actually want to setup?
The one for nailgun or the one for full ISO building? There is a difference because nailgun requires only python-related stuff and ISO building requires a lot more.
If you want to build ISO, then follow the following instructions:
http:// docs.mirantis. com/fuel- dev/develop/ env.html# building- the-fuel- iso
Also, be aware that you need to have kernel with version >= 3.8, so I suggest you to install latest Ubuntu 12.04.4 LTS update.
Feel free to ask any questions here, in openstack-dev mailing list with [Fuel] prefix in subject and in our fuel-dev IRC chat on freenode.irc.net