stestr is maintained, while testrepository is not. OpenStack is migrating to stestr, go ahead and follow suit. The --no-subunit-trace flag is added to keep the quiet test run behavior. If we remove it, stestr will by default print the name of each test as it starts it. This uses environment inclusions which need tox 2.8.1 due to a bug fix. So increase the tox minversion. Change-Id: I08cd4bee86b56d9a68644b049497c34e34e5f226
|4 years ago|
|devstack||4 years ago|
|doc||3 years ago|
|etc||3 years ago|
|nodepool||3 years ago|
|playbooks||4 years ago|
|releasenotes/notes||3 years ago|
|roles/nodepool-zuul-functional||4 years ago|
|tools||3 years ago|
|.coveragerc||3 years ago|
|.gitignore||5 years ago|
|.gitreview||4 years ago|
|.stestr.conf||3 years ago|
|.zuul.yaml||4 years ago|
|LICENSE||4 years ago|
|README.rst||5 years ago|
|bindep.txt||4 years ago|
|requirements.txt||4 years ago|
|setup.cfg||4 years ago|
|setup.py||6 years ago|
|test-requirements.txt||3 years ago|
|tox.ini||3 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.
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: