Check ownerid and visibility on image cleanup 91/65791/5 v0.35.1
authorAnil Belur <abelur@linuxfoundation.org>
Sat, 17 Oct 2020 03:16:50 +0000 (13:16 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 20 Oct 2020 00:07:52 +0000 (10:07 +1000)
commitdf0e01e5dd03d603d434a4314c4d514c6a062b84
tree48f7d94a979aa93191845ff0bc8856ddc48027bd
parenta3610fd2985b37e20ba1dcd97c78604f30fcdf2f
Check ownerid and visibility on image cleanup

Recently update on the cloud provider caused the builder-cron-openstack
job to break, which exposed a bug in our cleanup scripts.

Check the visibility and ownerid of the image before attempting to
remove and image.

Issue: RELENG-3239
Change-Id: I38098c45fe73e872f3ca96960f704f168d9c4596
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
lftools/openstack/image.py
releasenotes/notes/Handle-image-ownership-in-cleanup-e598855680b02a50.yaml [new file with mode: 0644]