lack of the "display_name" when using gnocchi client to create resource

Bug #1523751 reported by heha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnocchi
Fix Released
Medium
Unassigned

Bug Description

When gnocchi create resource with the volume type, we need to provide the "display_name".But when using cinder to create volume, we mustn't provide the display_name. We can just use the cli of "cinder create <size>".

The error log is as follow:

2015-12-07 22:49:17.427 24449 ERROR ceilometer.dispatcher.gnocchi [-] Resource a439066b-da5f-4604-bb68-e7ad7f68f6c0 creation failed with status: 400: <html>
 <head>
  <title>400 Bad Request</title>
 </head>
 <body>
  <h1>400 Bad Request</h1>
  The server could not comply with the request since it is either malformed or otherwise incorrect.<br /><br />
Invalid input: required key not provided @ data['display_name']

 </body>
</html>

heha (zhanghanqun)
Changed in ceilometer:
assignee: nobody → heha (zhanghanqun)
status: New → In Progress
heha (zhanghanqun)
description: updated
heha (zhanghanqun)
description: updated
heha (zhanghanqun)
affects: ceilometer → gnocchi
heha (zhanghanqun)
affects: gnocchi → ceilometer
gordon chung (chungg)
Changed in ceilometer:
importance: Undecided → Medium
Revision history for this message
gordon chung (chungg) wrote :
affects: ceilometer → gnocchi
Changed in gnocchi:
status: In Progress → Fix Committed
heha (zhanghanqun)
Changed in gnocchi:
assignee: heha (zhanghanqun) → nobody
Julien Danjou (jdanjou)
Changed in gnocchi:
milestone: none → 2.0.0
status: Fix Committed → Fix Released
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.