nodepool/nodepool
Benjamin Schanzel 1a73a7a33e
Avoid runtime errors in zk node iterator
While iterating over zk nodes with node IDs from the from the node
cache, there can be runtime errors when the cache was updated during the
iteration process.
(``RuntimeError: dictionary changed size during iteration``)

Avoid this by iterating over a copy of the node IDs, rather than the
dict_keys directly.

Change-Id: Iecd88b4484cf48ea2127348bfb2905443eaaf49f
2022-01-28 13:32:10 +01:00
..
cmd Merge "Add commands to export/import image data from ZK" 2021-09-15 22:01:46 +00:00
driver Merge "Add QuotaSupport to drivers that don't have it" 2022-01-27 20:01:45 +00:00
releasenotes/notes Filter active images for OpenStack provider 2020-03-17 16:26:50 +01:00
tests Merge "Add tests for exporting tenant limit stats" 2022-01-27 23:06:09 +00:00
__init__.py Initial commit 2013-08-15 09:47:23 -07:00
builder.py Add shell-type config 2021-03-05 15:14:29 +01:00
config.py Add Tenant-Scoped Resource Quota 2021-09-01 09:07:43 +02:00
exceptions.py Remove uneeded shebang and exec bit on some files 2019-12-13 19:30:03 +01:00
launcher.py Export current tenant limit stats 2022-01-07 09:27:31 +01:00
logconfig.py Format multi-line log entries 2021-03-05 13:34:19 -08:00
nodeutils.py First ensure ssh connection is valid before scanning keys 2021-07-19 08:58:56 -04:00
provider_manager.py Remove uneeded shebang and exec bit on some files 2019-12-13 19:30:03 +01:00
stats.py Export current tenant limit stats 2022-01-07 09:27:31 +01:00
status.py Ignore unparsable/empty image build ZNode data 2020-10-06 12:44:18 +02:00
version.py Switch docs theme to versioned RTD 2021-12-16 11:23:30 -08:00
webapp.py Add ready endpoint to webapp 2019-12-21 10:06:55 +00:00
zk.py Avoid runtime errors in zk node iterator 2022-01-28 13:32:10 +01:00