gnocchi-statsd errors out ugly when lacking config
Bug #1481439 reported by
Chris Dent
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi |
Fix Released
|
Low
|
Mehdi Abaakouk | ||
1.3 |
Fix Released
|
Low
|
Julien Danjou |
Bug Description
If you try to start gnocchi-statsd without config settings it will produce confusions exceptions (for instance since it has no resource id there will be an exception from sqla).
The conf settings that statsd wants are:
None of these have defaults. flush_delay could presumably have a default.
We should probably error out with a nice message when there are no defaults for the rest of them so that the initiator has some idea of what to do to fix the problem.
Changed in gnocchi: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in gnocchi: | |
assignee: | nobody → Pradeep Kilambi (pkilambi) |
Changed in gnocchi: | |
status: | Confirmed → In Progress |
Changed in gnocchi: | |
assignee: | Pradeep Kilambi (pkilambi) → Mehdi Abaakouk (sileht) |
Changed in gnocchi: | |
status: | Fix Released → Fix Committed |
Changed in gnocchi: | |
milestone: | none → 2.0.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
You can set them to mandatory=True with oslo.config. I think I did that but it forced people to configure that even if they were not using statsd.