Misleading exception when CONF.project

Bug #1542372 reported by Brant Knudson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.config
Triaged
Low
Unassigned

Bug Description

If the application didn't do CONF(), and uses CONF.project, the exception says that the problem is that there's no project option in the DEFAULT section. This is misleading because project isn't supposed to be a config option but is supposed to be passed in to CONF().

Revision history for this message
Brant Knudson (blk-u) wrote :

CfgOpts() should set self.project = None in __init__().

Revision history for this message
ChangBo Guo(gcb) (glongwave) wrote :
Changed in oslo.config:
status: New → Triaged
importance: Undecided → Low
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.