Manage a pool of nodes for a distributed test infrastructure
Go to file
James E. Blair 7d83166346 Fix exception in cache update
In the ZK cache, we previously would exit the cache update method
if we received a cache add or update with the empty string as data.
This usually represents a component trying to lock something after
it has been deleted, and the path being recreated with empty data,
so it's safe to ignore.

During the recent cache refactor, the short circuit we previously
had (if !data, return) was inadvertently converted to (if !data,
data=None) which would then throw an exception as we tried to
deserialize a None object.  The only reason to proceed with the
method at this point is to trigger the postCacheHook, and the only
postCacheHook implemented updates node stats, which don't need to
be updated in this case.

In other words, the old behavior of simply returning from the cache
listener in this case is acceptable and we should revert to it.

Change-Id: I9567bd387ab65f08a3f05be466760bd8e1c5c149
2023-03-16 11:35:16 -07:00
contrib/statsd_exporter Add statsd_exporter mapping 2019-09-29 09:30:45 +00:00
doc Merge "Add support for specifying pod resource limits" 2023-03-13 08:38:55 +00:00
etc Merge "Add systemd drop-in file for CentOS 7" 2018-05-09 18:09:54 +00:00
nodepool Fix exception in cache update 2023-03-16 11:35:16 -07:00
playbooks Switch to nox 2023-01-10 10:30:14 -08:00
releasenotes/notes Merge "Add support for specifying pod resource limits" 2023-03-13 08:38:55 +00:00
tools Output rate information in load-test.py 2023-02-28 06:51:37 +00:00
.coveragerc Switch to stestr 2018-04-26 11:52:17 -05:00
.dockerignore Build images with Dockerfile instead of pbrx 2019-01-24 16:11:12 +00:00
.gitignore Require TLS 2021-02-19 18:42:33 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:31 +00:00
.stestr.conf Switch to stestr 2018-04-26 11:52:17 -05:00
.zuul.yaml Use zuul-promote-nox-docs 2023-01-18 18:21:16 -08:00
Dockerfile Revert "Update git" 2023-01-30 12:30:45 +11:00
LICENSE license: remove dos line break 2018-01-19 00:30:22 +00:00
README.rst Update devstack settings and docs for opendev 2019-04-23 13:03:21 +00:00
TESTING.rst Update unit test container setup and instructions 2022-08-05 18:27:46 +00:00
bindep.txt Merge "Use libyaml parsing when available" 2022-07-25 09:34:19 +00:00
noxfile.py Switch to nox 2023-01-10 10:30:14 -08:00
requirements.txt Fix openstack image deletion with newer sdk 2022-12-13 15:48:16 -08:00
setup.cfg Switch to nox 2023-01-10 10:30:14 -08:00
setup.py Bump pbr requirements to >=1.3 2015-09-14 16:19:13 -04:00
test-requirements.txt AWS tests: cleanup image deletion checking 2022-04-28 14:16:16 +10:00
tox.ini Switch to nox 2023-01-10 10:30:14 -08:00

README.rst

Nodepool

Nodepool is a system for managing test node resources. It supports launching single-use test nodes from cloud providers as well as managing access to pre-defined pre-existing nodes. Nodepool is part of a suite of tools that form a comprehensive test system, including Zuul.

The latest documentation for Nodepool is published at: https://zuul-ci.org/docs/nodepool/

The latest documentation for Zuul is published at: https://zuul-ci.org/docs/zuul/

Getting Help

There are two Zuul-related mailing lists:

zuul-announce

A low-traffic announcement-only list to which every Zuul operator or power-user should subscribe.

zuul-discuss

General discussion about Zuul, including questions about how to use it, and future development.

You will also find Zuul developers in the #zuul channel on Freenode IRC.

Contributing

To browse the latest code, see: https://opendev.org/zuul/nodepool To clone the latest code, use git clone https://opendev.org/zuul/nodepool

Bugs are handled at: https://storyboard.openstack.org/#!/project/zuul/nodepool

Code reviews are handled by gerrit at https://review.opendev.org

After creating a Gerrit account, use git review to submit patches. Example:

# Do your commits
$ git review
# Enter your username if prompted

Join #zuul on Freenode to discuss development or usage.

License

Nodepool is free software, licensed under the Apache License, version 2.0.

Python Version Support

Nodepool requires Python 3. It does not support Python 2.