[openstack-dev] Behavior of command line flags and configuration file

Mark McLoughlin markmc at redhat.com
Tue Mar 19 23:04:26 UTC 2013


On Tue, 2013-03-19 at 18:43 -0400, Davanum Srinivas wrote:
> Team,
> 
> Current State: say there's a flag in nova.conf (debug=True), then
> --debug and --nodebug on the command line has no effect by design.
> Config file entry basically wins every time.
> 
> There are 2 bugs, one against glance and one against nova-manage where
> people were surprised at this behavior.
> https://bugs.launchpad.net/oslo/+bug/1155347
> https://bugs.launchpad.net/glance/+bug/1156877
> 
> Does anyone remember how things used to work in Folsom? (I won't ask
> how you would prefer it to work :)

Added some findings to https://review.openstack.org/24851

Summary is there is a difference between how cfg and gflags works in
this case, but we've been using cfg since Essex ... so it really seems
like something else has changed here.

(e.g. do I remember 'nova-manage --debug' previously used to send its
debug output to /var/lib/nova-manage.log ?)

Cheers,
Mark.




More information about the OpenStack-dev mailing list