[openstack-dev] [oslo] config: deduce related options for config generator?

Markus Zoeller mzoeller at de.ibm.com
Tue May 3 16:26:50 UTC 2016

While working on [1] I came across a config option ("pybasedir")
which gets used as a base for many other options, for example
"state_path". The option "state_path" shows then a default value
"state_path = $pybasedir".
My question here is, is it possible/reasonable to enhance oslo.config
to add an information to "pybasedir" that is used as a base for other
config options?
My concern is, that one could change "pybasedir" and expect that only
this one single value changes, but actually one changes multiple other
config options as well. Making it explicit that "pybasedir" gets used
multiple times as a base could prevent confusion.

[1] https://review.openstack.org/#/c/299236/7/nova/conf/paths.py

Regards, Markus Zoeller (markus_z)

More information about the OpenStack-dev mailing list