RETIRED, Fuel is the control plane for installing and managing OpenStack. It is capable of doing bare metal provisioning of physical nodes, installing OpenStack on them, and much more.
Go to file
Mike Scherbakov e092991513 Added to README: how to load data from fixtures. 2012-06-14 19:24:45 +04:00
bin json generating and downloading for deployment 2012-06-13 14:58:15 +04:00
bootstrap fixed bootstrap image error 2012-06-13 10:52:20 +04:00
ci_with_libvirt some fixes in ci_with_libvirt/domain.xml.template 2012-05-17 18:39:28 +04:00
cookbooks fixed some errors in cobbler cookbook 2012-06-14 17:29:08 +04:00
devops some functionality was added to devops 2012-06-13 21:03:55 +04:00
gnupg Added Make rule to build Nailgun installation iso 2012-06-13 11:44:40 +04:00
iso2 iso2/solo/solo.json and iso2/solo/solo.rb errors were fixed 2012-06-14 16:37:20 +04:00
lib/provision Cleaned up Cobbler provisioner 2012-05-15 15:50:56 +04:00
nailgun Design updates 2012-06-14 16:00:09 +04:00
scripts solo-admin.json solo.cron solo.rc.local were moved into iso2 2012-06-08 18:13:53 +04:00
test some modifications in test (command line options were added to integration.py) 2012-06-14 15:15:11 +04:00
vagrant/cookbooks change cache-way for installation ipaddr 2012-06-01 21:05:10 +04:00
.gitignore Added ip, mac, fqdn attrs to Node. Agent updated. 2012-06-04 18:25:48 +04:00
Makefile Added Make rule to build Nailgun installation iso 2012-06-13 11:44:40 +04:00
README.md Added to README: how to load data from fixtures. 2012-06-14 19:24:45 +04:00
Vagrantfile [vagrant] Converted Vagrantfile to multi-VM 2012-06-13 15:06:27 +04:00
requirements-deb.txt some packages added into requirements-deb.txt 2012-06-05 15:09:03 +04:00
requirements.txt Created recipe to install reqs for CI 2012-05-15 16:55:53 +04:00
rules.mk Cleaned up Makefile; renamed prerequisite target 2012-05-12 20:18:42 +04:00

README.md

NAILGUN

How to run Nailgun app from fixtures

Remove old DB:

cd nailgun rm -f nailgun.sqlite

Sync DB:

./manage.py syncdb --noinput

Load data from fixtures:

./manage.py loaddata sample_environment

Run application:

./manage.py runserver

Access Web UI at http://localhost:8000/

Deploying virtual environment

Using vagrant:

Note: uncomment config.vm.forward_port 8000, 8000 in Vagrantfile for working with django webui.

For VM deployment run: vagrant up

The working directory is /vagrant.

W/O vagrant:

Installing chef (source):

~$ echo "deb http://apt.opscode.com/ `lsb_release -cs`-0.10 main" | sudo tee /etc/apt/sources.list.d/opscode.list

~$ sudo mkdir -p /etc/apt/trusted.gpg.d gpg --keyserver keys.gnupg.net --recv-keys 83EF826A gpg --export packages@opscode.com | sudo tee /etc/apt/trusted.gpg.d/opscode-keyring.gpg > /dev/null

~$ sudo apt-get update && sudo apt-get install opscode-keyring

~$ sudo apt-get install chef chef-solo

Installing dependencies

~$ cd scripts/ci && chef-solo -l debug -c solo.rb -j solo.json

Testing

Nailgun:

Testing script is nailgun/run_tests.sh Test cases:

  • nailgun/nailgun/tests/test_handlers.py
  • nailgun/nailgun/tests/test_models.py