We should check the syntax of config files on startup
Bug #1265390 reported by
Kevin Breit
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.config |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
It would be nice if Nova validated all syntax on startup. This could solve a few problems:
* Problems with misconfiguration due to arguments in the wrong section (ex. [DEFAULT] vs. [database])
* Problems with misconfiguration due to incorrectly typed variable name (ex. rabbit_userid vs. rabbit-userid)
I'm sure there are other issues it would solve, but these are the first which come to mind. When a configuration file isn't right, logs don't always give an obvious response. My hope is any errors would be clearly explained.
affects: | oslo-incubator → oslo.config |
Changed in oslo.config: | |
importance: | Low → Wishlist |
summary: |
- Nova should conduct syntax checking on startup + We check the syntax of config files on startup |
summary: |
- We check the syntax of config files on startup + We should check the syntax of config files on startup |
Changed in oslo.config: | |
assignee: | nobody → John Perkins (john-d-perkins) |
status: | Triaged → Fix Released |
To post a comment you must log in.
We use oslo.config for configuration files, so adding oslo. I think there is already BP/bug open for this somewhere not sure where though.