← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1463713] [NEW] Creating tasks using CURL raises 500 internal server Error

 

Public bug reported:

When trying to create tasks by importing an image using CURL method I
got Internal Server Error . Possible causes might include some unhandled
exception. We could consider changing this behavior to return some kind
of 40x message .

Steps to reproduce
URL:  http://10.0.2.15:9292/v2/tasks
Headers:
  X-Auth-Token: XYZ
  Content-Type: application/json
  Accept-Encoding: gzip, deflate
  Accept: */*
  User-Agent: python-glanceclient
  Connection: keep-alive
Data:
['{"type": "import", "input": {"import_from": "https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img";, "import_from_format": "raw", "image_properties" : {"name": "test-conversion-1", "container_format": "bare"}}}' ]

Result: 500 Internal Server Error

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1463713

Title:
  Creating tasks using CURL raises 500 internal server Error

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  When trying to create tasks by importing an image using CURL method I
  got Internal Server Error . Possible causes might include some
  unhandled exception. We could consider changing this behavior to
  return some kind of 40x message .

  Steps to reproduce
  URL:  http://10.0.2.15:9292/v2/tasks
  Headers:
    X-Auth-Token: XYZ
    Content-Type: application/json
    Accept-Encoding: gzip, deflate
    Accept: */*
    User-Agent: python-glanceclient
    Connection: keep-alive
  Data:
  ['{"type": "import", "input": {"import_from": "https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img";, "import_from_format": "raw", "image_properties" : {"name": "test-conversion-1", "container_format": "bare"}}}' ]

  Result: 500 Internal Server Error

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1463713/+subscriptions


Follow ups

References