nodepool/nodepool
Tobias Urdin e4ce77466a Filter active images for OpenStack provider
The OpenStack provider doesn't filter on status
so when we uploaded a new image and deactivated
the old one it throws a SDKException because it
finds multiple images with the same name.

This adds a filter to only lookup Glance images
with a `active` status with the openstacksdk
which is the only valid state where we can
use the image [1].

[1] https://docs.openstack.org/glance/latest/user/statuses.html

Change-Id: I480b4e222232da1f1aa86b1a08117e605ef08eb4
2020-03-17 16:26:50 +01:00
..
cmd Fix resource warnings when running tests 2019-12-21 11:52:58 +01:00
driver Filter active images for OpenStack provider 2020-03-17 16:26:50 +01:00
releasenotes/notes Filter active images for OpenStack provider 2020-03-17 16:26:50 +01:00
tests add ebs-optimized support for aws provider 2020-02-04 18:59:24 +01:00
__init__.py Initial commit 2013-08-15 09:47:23 -07:00
builder.py Stop comparing hostnames to determine ownership 2020-03-13 16:13:38 -04:00
config.py Fix resource warnings when running tests 2019-12-21 11:52:58 +01:00
exceptions.py Remove uneeded shebang and exec bit on some files 2019-12-13 19:30:03 +01:00
launcher.py Annotate logs in launcher 2020-01-27 15:27:58 +01:00
logconfig.py Centralize logging adapters 2020-01-22 09:13:21 +01:00
nodeutils.py Use iterate_timeout in test waits 2020-01-14 08:25:09 -08:00
provider_manager.py Remove uneeded shebang and exec bit on some files 2019-12-13 19:30:03 +01:00
stats.py Remove uneeded shebang and exec bit on some files 2019-12-13 19:30:03 +01:00
status.py Include event id in node request listings 2020-01-27 15:27:58 +01:00
version.py Fix nodepool --version 2015-02-06 12:09:52 -08:00
webapp.py Add ready endpoint to webapp 2019-12-21 10:06:55 +00:00
zk.py Annotate logs in zk module 2020-01-27 15:27:58 +01:00