|Jenkins cef683bd01 Merge "Reduce min-ram for ubuntu images for devstack"||2 years ago|
|devstack||2 years ago|
|doc||2 years ago|
|nodepool||2 years ago|
|tools||2 years ago|
|.gitignore||5 years ago|
|.gitreview||5 years ago|
|.testr.conf||5 years ago|
|LICENSE||3 years ago|
|README.rst||2 years ago|
|bindep.txt||2 years ago|
|requirements.txt||2 years ago|
|setup.cfg||3 years ago|
|setup.py||3 years ago|
|test-requirements.txt||2 years ago|
|tox.ini||2 years ago|
Nodepool is a service used by the OpenStack CI team to deploy and manage a pool of devstack images on a cloud server for use in OpenStack project testing.
Make sure you have pip installed:
If you're testing a specific patch that is already in gerrit, you will also want to install git-review and apply that patch while in the nodepool directory, ie:
Create or adapt a nodepool yaml file. You can adapt an infra/system-config one, or fake.yaml as desired. Note that fake.yaml's settings won't Just Work - consult ./modules/openstack_project/templates/nodepool/nodepool.yaml.erb in the infra/system-config tree to see a production config.
If the cloud being used has no default_floating_pool defined in nova.conf, you will need to define a pool name using the nodepool yaml file to use floating ips.
Set up database for interactive testing:
Set up database for unit tests:
Note that the script tools/test-setup.sh can be used for the step above.
Export variable for your ssh key so you can log into the created instances:
Start nodepool with a demo config file (copy or edit fake.yaml to contain your data):
All logging ends up in stdout.
Use the following tool to check on progress:
After each run (the fake nova provider is only in-memory):