It seems the fix for bug #1052537 was incomplete, as I have found
glance-scrubber is still not completing it's work when run against a
swift backend.
With more investigation it seems the proper way to execute a
starmap/imap is to consume it within a loop. This can be replicated by
taking the simple web crawler example from http://eventlet.net/doc/ and
removing the for loop from around the imap call.
Also:
* Add new test to check this failure against Swift (respects the
GLANCE_TEST_SWIFT_CONF environment variable).
Reviewed: https:/ /review. openstack. org/13627 github. com/openstack/ glance/ commit/ d032ad5d412d4bb 77f9bfb7c7fca42 4399f80c42
Committed: http://
Submitter: Jenkins
Branch: master
commit d032ad5d412d4bb 77f9bfb7c7fca42 4399f80c42
Author: Paul Bourke <email address hidden>
Date: Tue Sep 25 12:43:35 2012 +0100
Fix scrubber not scrubbing with swift backend
It seems the fix for bug #1052537 was incomplete, as I have found
glance-scrubber is still not completing it's work when run against a
swift backend.
With more investigation it seems the proper way to execute a eventlet. net/doc/ and
starmap/imap is to consume it within a loop. This can be replicated by
taking the simple web crawler example from http://
removing the for loop from around the imap call.
Also: TEST_SWIFT_ CONF environment variable).
* Add new test to check this failure against Swift (respects the
GLANCE_
Fixes bug 1056127
Change-Id: I2d289666b99f32 16a6d424dbbacbd 2d10899263d