The static provider avoids accepting requests for a label when all the nodes of that label are busy. In other words, it only accepts requests when it expects to be able to fulfill them. However, it also checks whether a node is reachable before fulfilling a request. And if the reachability of a node changes before a request is fulfilled, then Nodepool will pause the handler until the request is fulfilled. If the node never comes back online, no other nodes in the provider will be handled. In general, we should never pause the static provider since pausing is designed to allow for the accumulation of sufficient free resources to fulfill the next request. Static provider resources are not fungible, so pausing until label A is available doesn't make label B any less available. To correct the problem, we no longer pause the static provider when there is insufficient quota; instead we simply release the current node request without declining it, and then allow the provider to either defer it (if the node continues to be unreachable) or accept it (if the node later becomes available again). In other words, the handling of a request for a node with connection problems will now be the same regardless of whether it is detected on startup or while running. Change-Id: I61565e9864efcfc81a205318d30972c25d4ea880
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.