nodepool/nodepool/driver/openstack
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
..
__init__.py Remove unused use_taskmanager flag 2019-04-02 12:11:07 +00:00
config.py Support optional post upload hooks 2019-11-25 13:37:28 +01:00
handler.py Remove duplicate log info from OpenStack driver 2020-01-27 13:13:30 -05:00
provider.py Filter active images for OpenStack provider 2020-03-17 16:26:50 +01:00