Read only or reserved properties could contain better error messages

Bug #1560005 reported by Niall Bunting
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
In Progress
Low
Niall Bunting

Bug Description

Overview:
The task output makes do difference just contains a message about an internal error. However the logs this difference is specified so we should pass this onto the user, to make it easier to debug problems.

How to reproduce:
curl -X POST http://127.0.0.1:9292/v2/tasks -H "X-Auth-Token: $token" -d '{"type": "import","input": {"import_from": "http://google.com","import_from_format": "qcow2","image_properties": {"disk_format": "vhd","id": "ovf","created_at": "1"}}}'

glance task-show *id returned*

Changed in glance:
importance: Undecided → Low
Changed in glance:
status: New → In Progress
Bhargavi (bhargavi-c81)
Changed in glance:
assignee: Niall Bunting (niall-bunting) → Bhargavi (bhargavi-c81)
Revision history for this message
Niall Bunting (niall-bunting) wrote :
Changed in glance:
assignee: Bhargavi (bhargavi-c81) → Niall Bunting (niall-bunting)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (master)

Change abandoned by Niall Bunting (<email address hidden>) on branch: master
Review: https://review.openstack.org/294654
Reason: -2 by core reviewer.

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.