← Back to team overview

openstack-poc team mailing list archive

[Bug 983734] Re: Keystone fails badly if you miss one option


I still think it's a bad idea to inject such values in code. Even with
typical distutils install, you have to respect the prefix which was
provided with code, and if you'll have several installations in your
system, this can lead to some problems. For example, you can install
Keystone with packages and then install it with "setup.py develop
--user" to do some hacking. Then when you run your binary from .local,
you'll get no error but wrong template will be used. The same kind of
problem can occur if you run keystone without any installation or for
testing, etc.

'/etc'-based defaults should be nothing more but a recommended defaults
for packagers or a part of sample config file.

You received this bug notification because you are a member of OpenStack
Common Drivers, which is the registrant for openstack-common.

  Keystone fails badly if you miss one option

Status in OpenStack Identity (Keystone):
Status in openstack-common:

Bug description:
  If you misspell or forget one option in keystone.conf (like
  template_file  for TemplatedCatalog backend), Keystone will fail with
  misguiding critical failure (in my case, "TypeError: coercing to
  Unicode: need string or buffer, NoneType found").

To manage notifications about this bug go to: