Test 'test_change_image_status_directly' failed with 403 on image_update

Bug #1657075 reported by Dennis Dmitriev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stepler
Fix Committed
Undecided
Alexander Gromov

Bug Description

Test 'test_change_image_status_directly' tries to update glance image using v1 and get 403 error [1]:

------------------------------------
        api_glance_steps_v1.update_images(images,
                                          status=config.STATUS_QUEUED,
                                          check=False)
...
E HTTPError: 403 Client Error: Forbidden for url: http://10.167.4.10:9292/v1/images/007abbf5-fe8c-41c2-b61c-b94c87f47b0a
------------------------------------

----------- on a controller:
 /var/log/upstart/glance-api.log:2017-01-17 09:57:08.514 5110 INFO eventlet.wsgi.server [req-26e4b40f-b573-4614-94cb-b72f8d4c0677 1c84cf8a55e94d37b85162d01f4b9001 90d96206819746c1b4901c21118f0a56 - - -] 10.167.4.11 - - [17/Jan/2017 09:57:08] "PUT /v1/images/007abbf5-fe8c-41c2-b61c-b94c87f47b0a HTTP/1.1" 403 369 0.210993
----------------------------

[1] https://mirantis.testrail.com/index.php?/tests/view/26754927

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Denis, do you really sure it is a bug in stepler? It looks like a bug in the OpenStack configuration for me.

Changed in stepler:
status: New → Incomplete
Revision history for this message
Alexander Gromov (agromov) wrote :

This fix was included to this commit:
https://review.gerrithub.io/#/c/343249/

The problem was that implementation had been changed. And now Exception is raised to tell user that it is forbidden to directly update glance image status.

Changed in stepler:
assignee: nobody → Alexander Gromov (agromov)
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.