← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1495519] [NEW] import flow doesn't raise error on forbidden location

 

Public bug reported:

The following command correctly raises an exception server side but it
doesn't report the error back to the user. This ends up in the user
"thinking" the task was created correctly:

$ glance --os-image-api-version 2  --os-image-url
http://localhost:9292/v2 --os-tenant-id a1875f8a27f74708b6fb9281e7430a98
task-create --type import --input '{"import_from_format": "qcow2",
"import_from": "swift://127.0.0.1:8000/test.qcow2", "image_properties":
{"disk_format": "qcow2", "container_format": "bare"}}'

** Affects: glance
     Importance: High
         Status: New

** Changed in: glance
   Importance: Undecided => High

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

Title:
  import flow doesn't raise error on forbidden location

Status in Glance:
  New

Bug description:
  The following command correctly raises an exception server side but it
  doesn't report the error back to the user. This ends up in the user
  "thinking" the task was created correctly:

  $ glance --os-image-api-version 2  --os-image-url
  http://localhost:9292/v2 --os-tenant-id
  a1875f8a27f74708b6fb9281e7430a98 task-create --type import --input
  '{"import_from_format": "qcow2", "import_from":
  "swift://127.0.0.1:8000/test.qcow2", "image_properties":
  {"disk_format": "qcow2", "container_format": "bare"}}'

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


Follow ups