Node pool management for a distributed test infrastructure
Project description
Nodepool
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.
Developer setup
Make sure you have pip installed:
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
Install dependencies:
sudo pip install bindep
sudo apt-get install $(bindep -b nodepool)
mkdir src
cd ~/src
git clone git://git.openstack.org/openstack-infra/system-config
git clone git://git.openstack.org/openstack-infra/nodepool
cd nodepool
sudo pip install -U -r requirements.txt
sudo pip install -e .
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:
git review -x XXXXX
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:
export NODEPOOL_SSH_KEY=`cat ~/.ssh/id_rsa.pub | awk '{print $2}'`
Start nodepool with a demo config file (copy or edit fake.yaml to contain your data):
export STATSD_HOST=127.0.0.1
export STATSD_PORT=8125
nodepool-launcher -d -c tools/fake.yaml
All logging ends up in stdout.
Use the following tool to check on progress:
nodepool image-list
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nodepool-3.1.0.tar.gz
.
File metadata
- Download URL: nodepool-3.1.0.tar.gz
- Upload date:
- Size: 161.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b7768932bdd18b4bd107215c91db15da1b58609c8a4f9dfb8319a8d74c18aba |
|
MD5 | d50cca7ebad655362c970b7c474ed9b1 |
|
BLAKE2b-256 | 7bc5ab2953087025d2a361e85efb21bc77ae28e28f7ef5129db86672fd1c821b |
Provenance
File details
Details for the file nodepool-3.1.0-py3-none-any.whl
.
File metadata
- Download URL: nodepool-3.1.0-py3-none-any.whl
- Upload date:
- Size: 180.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e154a4f1d9c599b986d0d02a44f7af23bf6532c3fd0d6f6ec5e672aef084ed3 |
|
MD5 | 69b5e7019a6353a676a1da6898baab29 |
|
BLAKE2b-256 | 2375fbf071aa65ce06a8de79f3dbc9a09adee1d3843259100fa10291c435ce83 |