Above is comment valid if we get image through nova or glance V1 API. for Glance V2 API, I think glance does not provide the deleted images in SHOW API. Images has been fetched from image repo with 'force_show_deleted' param as false (default value) - https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L111
** Changed in: tempest Status: New => Invalid ** Also affects: glance Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1373073 Title: Image v1 json client timeout while checking that image was deleted Status in OpenStack Image Registry and Delivery Service (Glance): New Status in Tempest: Invalid Bug description: Description: - Icehouse Openstack cloud - Tempest commit 4b1b8cfd4526203e5706ec387cf6362ecaa5ed5b I'm getting tearDown class error after executing image tests <testcase classname="" name="tearDownClass (tempest.api.image.v1.test_images.CreateRegisterImagesTest)" time="0.000"> <failure type="testtools.testresult.real._StringException">_StringException: Traceback (most recent call last): File "/home/user/WF_tempest/tempest-icehouse/tempest/api/image/base.py", line 58, in tearDownClass cls.client.wait_for_resource_deletion(image_id) File "/home/user/WF_tempest/tempest-icehouse/tempest/common/rest_client.py", line 551, in wait_for_resource_deletion raise exceptions.TimeoutException TimeoutException: Request timed out After some investiogation, i've found that client tried to check deleted VM by def is_resource_deleted(self, id): try: self.get_image_meta(id) except exceptions.NotFound: return True return False But get_image_meta able to get metadata of deleted image, it just has status = deleted. My quick fix was: def is_resource_deleted(self, id): try: _, meta = self.get_image_meta(id) if meta['status'] == 'deleted': return True except exceptions.NotFound: return True return False To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1373073/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp