Comment 7 for bug 1555662

Revision history for this message
Anseela M M (anseela-m00) wrote :

I have created test cases for verifying the bug. Please execute these test cases once the fix is done.

Test case id: OPNST_ glance Bug:1555662 Excess update tags_1

Metric: 30 minutes

Test purpose: Verify that patch request should not send excess update tags while updating the glance image

Configuration: An OpenStack environment with at least one controller (with keystone, glance), one compute node and one network node installed.

Test tool: tempest

References: Bug_ 1555662 _ Excess update tags

Applicability: If the user trying the update any property of image, the issue exists

Pre-test conditions: Openstack should be installed and all the services up and running

Step Description:
1. create an image
2. list the images glance image-show
3. Add the tag
4. Update any property (glance image-update)
5. Check the patch request by giving –debug command
Result:
1. User should be able to create the image
2. User should be able to list the created image
3. User should be able to add the tag
4. User should be able to update the properly.
5. PATCH request should have replace property field
6. Should not contains excess tags

Test verdict: TC pass only if user can update the image and patch request contains only the replace property