Comment 14 for bug 1267326

Revision history for this message
Ken'ichi Ohmichi (oomichi) wrote :

test_create_backup checks the delete of a server backup by getting an image detail through glance v1 API, that waits for HTTP 404(Not Found) response.
After that, the test gets an image list through glance v1 "get an image list" API.
The API returns a response including the deleting image like the following,

 {"images": [
      {"status": "deleted", "name": "backup-1-tempest-438772029", "deleted": false, ..},
      {"status": "active", "name": "backup-2-tempest-2111479443", "deleted": false, ..},
      ...
 }

This behavior seems inconsistent from the API viewpoint.
If an image is deleting, the "get an image detail" API returns "Not Found" response.
but the "get an image list" API returns a response including it.

Can we fix this behavior?

http://logs.openstack.org/36/69236/2/check/check-tempest-dsvm-postgres-full/0b4120d/logs/tempest.txt.gz