From 1bdc541f2da76ca5e319bc30eec03db1fb7b7170 Mon Sep 17 00:00:00 2001 From: "Mark T. Voelker" Date: Fri, 26 Jun 2015 13:07:05 -0400 Subject: [PATCH] Flag test that makes assumption about image creation ...in 2015.05. Original commit message [1]: "The Images v2 API ListImages test creates images to appear in the image list, using the Glance image-create call to do this. There is, however, an alternative route to image creation in the Images v2 API, namely, to use an import task. A cloud provider may wish to restrict the standard image-create to admin use only, for example, and restrict regular end users to use of the import task (which allows an opportunity to perform validation or security scanning on the image data before creating an image in Glance). It is also reasonable for a provider not to allow any upload of external images into a cloud and instead only allow image creation via the Nova image-create server action. The key point is that given that the ListImages test is supposed to test that the image list functionality is present and working correctly, the test should be agnostic as to how the images got into Glance in the first place. The test should be flagged until it can be modified to take into account the various legitimate restrictions that providers may wish to place on how images are introduced into their OpenStack clouds. This is also reported as tempest bug: https://bugs.launchpad.net/tempest/+bug/1453265 " The Tempest folks have rejected the bug, but a larger discussion on the defcore-committee ML [2] has ultimately indicated that there's simply not an interoperable solution today. The discussion will hopefully lead to a more interoperable future, but we're not there yet. Thus, we should carry this flag forward to 2015.05. [1] https://review.openstack.org/#/c/181280/ [2] http://lists.openstack.org/pipermail/defcore-committee/2015-June/000823.html Change-Id: If2c6528af24f19881dd30106437bd4253dcc1a1a --- 2015.05.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/2015.05.json b/2015.05.json index 485f3a7e..03f0d187 100644 --- a/2015.05.json +++ b/2015.05.json @@ -428,7 +428,9 @@ "guidelines": ["2014.07", "2015.03", "2015.04", "2015.05"], "project": "nova", "description": "CRUD image operations in Images API v2", - "flagged": [], + "flagged": [ + "tempest.api.image.v2.test_images.ListImagesTest.test_index_no_params" + ], "name": "images-v2", "tests": [ "tempest.api.image.v2.test_images.ListImagesTest.test_index_no_params"