Glance doesn't replace blob property correctly in artifacts

Bug #1493826 reported by Kairat Kushaev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Kairat Kushaev

Bug Description

Version: glance liberty master (latest 04.09.15)
Steps to reproduce:
1. Create an artifact(type=MyArtifact) with blob property (image_file)
2. Update blob property image_file with some value:
curl -H "X-Auth-Token: 6b2e3dccf35642b89099465e7492a42a" -H "Content-Type:application/octet-stream" -X POST -d '{"data": "someupdates_datawithtretrtrt"}' http://127.0.0.1:9292/v3/artifacts/myartifact/v2.0/e4e58687-dbb9-4fa2-af53-b4addc15bc99/image_file -i
3. Request blob property replace:
curl -H "X-Auth-Token: 6b2e3dccf35642b89099465e7492a42a" -H "Content-Type:application/octet-stream" -X PUT -d '{"data": "someupdates_datawithtretrtrt"}' http://127.0.0.1:9292/v3/artifacts/myartifact/v2.0/e4e58687-dbb9-4fa2-af53-b4addc15bc99/image_file -i
AR: 405 Method not allowed
ER: 200 OK

Tags: artifacts
description: updated
Changed in glance:
assignee: nobody → Kairat Kushaev (kkushaev)
Changed in glance:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (master)

Change abandoned by Glance Bot (<email address hidden>) on branch: master
Review: https://review.openstack.org/220988

Changed in glance:
status: In Progress → Invalid
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.