This change makes the metastatic driver handle cases where it has backing nodes in its in-memory records that do not exist anymore. This can happen when there are two equal metastatic providers running in parallel [1], where one of them removes a backing node (e.g. when it reached its max-grace-time) but the other one not knowing about this because each has their own in-memory records. Until now, this leads to unrecoverable errors, because the metastatic driver keeps trying to load node data from zk for a backing node that is not existing. Instead, when we encounter such a node, delete it from the backing node records and try again (creating a new backing node). [1] This usually happens on rolling restarts, where one launcher instance is kept running until a new one is ready to take over the work. Change-Id: I9a92b1fbe23e4627eca0354080165ab06f19f6d2
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.