← Back to team overview

openstack-poc team mailing list archive

[Bug 947718] Re: [DEFAULT] group name in config file must be uppercase

 

I'm not sure that falling back on a python module's default behaviour
necessarily makes this an invalid bug.  When everything else on the file
is lower case, and apparently case-sensitive too, the expectation that
the section header is also lower case seems reasonable.  Not many
implemetors/deployers are going to know to expect that ConfigParser's
behaviour is the controlling factor.  And yes, that is why we provide
sample files, and things like DevStack.

I suppose consistiency doesn't matter, after all --config-file has a '-'
rather than an '_' in it and it is in the vast minority in the OpenStack
client options (even though I prefer '-', my GNU is showing).

-- 
You received this bug notification because you are a member of OpenStack
Common Drivers, which is the registrant for openstack-common.
https://bugs.launchpad.net/bugs/947718

Title:
  [DEFAULT] group name in config file must be uppercase

Status in openstack-common:
  Invalid

Bug description:
  As handled by openstack.common.cfg the default group header
  ([DEFAULT]) is only recognized in uppercase.  [default] is not
  recognized as a valid group header for global config options.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-common/+bug/947718/+subscriptions


References