yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #51660
[Bug 1493826] Re: Glance doesn't replace blob property correctly in artifacts
** Changed in: glance
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1493826
Title:
Glance doesn't replace blob property correctly in artifacts
Status in Glance:
Invalid
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1493826/+subscriptions
References