explicated error should be thrown out when creating sample with wrong format resource_metadata

Bug #1465193 reported by Liusheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ceilometerclient
Fix Released
Undecided
Liusheng

Bug Description

when creating a sample with wrong resource_metadata format like this:

ceilometer sample-create -r instance -m instance --meter-type gauge --meter-unit instance --sample-volume 1 --resource-metadata abc=abc

ceilometer CLI will return: "No JSON object could be decoded"
This is not easy to use.

Liusheng (liusheng)
Changed in python-ceilometerclient:
assignee: nobody → Liusheng (liusheng)
Changed in python-ceilometerclient:
status: New → In Progress
Changed in python-ceilometerclient:
status: In Progress → Fix Committed
Changed in python-ceilometerclient:
milestone: none → 1.3.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.