[Yahoo-eng-team] [Bug 1392270] Re: POST /v2/images succeds without any POST data
This is by design: http://docs.openstack.org/api/openstack-image- service/2.0/content/upload-image-file.html ** Changed in: glance Status: Confirmed = Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1392270 Title: POST /v2/images succeds without any POST data Status in OpenStack Image Registry and Delivery Service (Glance): Won't Fix Bug description: The exact request is: curl -i -X POST -H 'User-Agent: python-glanceclient' -H 'Content-Type: application/json' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'X-Auth-Token: {SHA1}2d5b305e1ea690482d697a6971130f1efd04fbc2' -d '{}' http://127.0.0.1:9292/v2/images To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1392270/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1392270] Re: POST /v2/images succeds without any POST data
Ajaya, could you confirm that performing the curl request returns a 204? If so, I believe this is certainly a bug. Glance should reject an empty request body like this. Thanks in advance! ** Changed in: glance Status: Won't Fix = Incomplete ** Changed in: glance Importance: Undecided = Low -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1392270 Title: POST /v2/images succeds without any POST data Status in OpenStack Image Registry and Delivery Service (Glance): Incomplete Bug description: The exact request is: curl -i -X POST -H 'User-Agent: python-glanceclient' -H 'Content-Type: application/json' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'X-Auth-Token: {SHA1}2d5b305e1ea690482d697a6971130f1efd04fbc2' -d '{}' http://127.0.0.1:9292/v2/images To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1392270/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1392270] Re: POST /v2/images succeds without any POST data
Ian, This returns empty image on queued status exactly as designed. Nothing wrong with that. ** Changed in: glance Status: Incomplete = Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1392270 Title: POST /v2/images succeds without any POST data Status in OpenStack Image Registry and Delivery Service (Glance): Won't Fix Bug description: The exact request is: curl -i -X POST -H 'User-Agent: python-glanceclient' -H 'Content-Type: application/json' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'X-Auth-Token: {SHA1}2d5b305e1ea690482d697a6971130f1efd04fbc2' -d '{}' http://127.0.0.1:9292/v2/images To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1392270/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp