Sample-Create accepts invalid counter_types.
Bug #1221007 reported by
Nisha Kadakia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Low
|
gordon chung |
Bug Description
sample-create subcommand works perfectly fine with meter_type as gauge, cumulative, or delta, however it doesn't complain if argument values other than these are passed. Example:- I misspelled gauge as guage and the command execution worked fine with no errors reported. Checked the mongo DB and the type was captured as guage.
After execution of above command with invalid argument, other sub commands fail to execute. Example:- meter-list stopped working because it expects only valid values.
Ideally sample-create command execution should throw errors when invalid argument values are passed. This probably will automatically take care of other subsequent errors
description: | updated |
Changed in ceilometer: | |
milestone: | none → havana-rc1 |
importance: | Undecided → Low |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | havana-rc1 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/45344
Review: https:/