Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CRITICAL keystone [-] NoSuchOptError: no such option in group cache: memcache_servers

Hi,

I am trying to deploy Juno with puppet modules I used for Havana. I am stumped and do not know how to debug this ... When I try and start the openstack-keystone service I get this error message in the /var/log/keystone/keystone.log file:

CRITICAL keystone [-] NoSuchOptError: no such option in group cache: memcache_servers

I looked in my /etc/keystone/keystone.conf file and I do not even have a cache group nor do I have a memcache_servers option anywhere either.

Here's my keystone.conf:

[DEFAULT]
admin_token = my_keystone
bind_host = 10.29.103.51
debug = true
verbose = True

[sql]
connection = mysql://keystone:1234@ost-el7.example.com:3306/keystone
max_retries = 10
retry_interval = 10
max_pool_size = 75
idle_timeout = 120
max_overflow = 150

[identity]
driver = keystone.identity.backends.hybrid.Identity

[catalog]
driver = keystone.catalog.backends.sql.Catalog

[token]
driver = keystone.token.backends.memcache.Token
expiration = 10800

[assignment]
driver = keystone.assignment.backends.sql.Assignment

[signing]
token_format = UUID

[ldap]
url = ldap://ds.example.com:389
password = XXXXXXX
user = xxxx-xxxx.gen
suffix = OU=Example Users,DC=my,DC=com
user_suffix = @example.com
user_tree_dn = ou=Employees,ou=Example Users,dc=example,dc=com
generic_tree_dn = ou=Generics,ou=Example Users,dc=example,dc=com
use_dumb_member = False
allow_subtree_delete = False
user_objectclass = person
user_enabled_attribute = userAccountControl
user_enabled_mask = 2
user_enabled_default = 512
page_size = 500
query_scope = one
user_id_attribute = cn
user_name_attribute = cn

[auth]
methods = password,token
password = keystone.auth.plugins.password.Password
token = keystone.auth.plugins.token.Token
oauth1 = keystone.auth.plugins.oauth1.OAuth

[memcache]
servers = 10.0.0.51:11211,10.0.0.52:11211,10.0.0.53:11211
expiration = 7200

CRITICAL keystone [-] NoSuchOptError: no such option in group cache: memcache_servers

Hi,

I am trying to deploy Juno with puppet modules I used for Havana. I am stumped and do not know how to debug this ... When I try and start the openstack-keystone service I get this error message in the /var/log/keystone/keystone.log file:

CRITICAL keystone [-] NoSuchOptError: no such option in group cache: memcache_servers

I looked in my /etc/keystone/keystone.conf file and I do not even have a cache group nor do I have a memcache_servers option anywhere either.

Here's my keystone.conf:

[DEFAULT]
admin_token = my_keystone
bind_host = 10.29.103.51
debug = true
verbose = True

[sql]
connection = mysql://keystone:1234@ost-el7.example.com:3306/keystone
max_retries = 10
retry_interval = 10
max_pool_size = 75
idle_timeout = 120
max_overflow = 150

[identity]
driver = keystone.identity.backends.hybrid.Identity

[catalog]
driver = keystone.catalog.backends.sql.Catalog

[token]
driver = keystone.token.backends.memcache.Token
expiration = 10800

[assignment]
driver = keystone.assignment.backends.sql.Assignment

[signing]
token_format = UUID

[ldap]
url = ldap://ds.example.com:389
password = XXXXXXX
user = xxxx-xxxx.gen
suffix = OU=Example Users,DC=my,DC=com
user_suffix = @example.com
user_tree_dn = ou=Employees,ou=Example Users,dc=example,dc=com
generic_tree_dn = ou=Generics,ou=Example Users,dc=example,dc=com
use_dumb_member = False
allow_subtree_delete = False
user_objectclass = person
user_enabled_attribute = userAccountControl
user_enabled_mask = 2
user_enabled_default = 512
page_size = 500
query_scope = one
user_id_attribute = cn
user_name_attribute = cn

[auth]
methods = password,token
password = keystone.auth.plugins.password.Password
token = keystone.auth.plugins.token.Token
oauth1 = keystone.auth.plugins.oauth1.OAuth

[memcache]
servers = 10.0.0.51:11211,10.0.0.52:11211,10.0.0.53:11211
expiration = 7200

Update:

Here's what's in my /var/log/keystone/keystone.log file:

2015-02-24 02:09:54.119 6013 DEBUG keystone.common.environment [-] Environment configured as: eventlet wrapper /usr/lib/python2.7/site-packages/keystone/common/environment/__init__.py:49
2015-02-24 02:09:54.127 6013 CRITICAL keystone [-] NoSuchOptError: no such option in group cache: memcache_servers
2015-02-24 02:09:54.127 6013 TRACE keystone Traceback (most recent call last):
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/bin/keystone-all", line 146, in <module>
2015-02-24 02:09:54.127 6013 TRACE keystone     backends.load_backends()
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/backends.py", line 29, in load_backends
2015-02-24 02:09:54.127 6013 TRACE keystone     cache.configure_cache_region(cache.REGION)
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/common/cache/core.py", line 140, in configure_cache_region
2015-02-24 02:09:54.127 6013 TRACE keystone     config_dict = build_cache_config()
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/common/cache/core.py", line 114, in build_cache_config
2015-02-24 02:09:54.127 6013 TRACE keystone     CONF.cache.memcache_servers)
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2313, in __getattr__
2015-02-24 02:09:54.127 6013 TRACE keystone     return self._conf._get(name, self._group)
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2047, in _get
2015-02-24 02:09:54.127 6013 TRACE keystone     value = self._do_get(name, group, namespace)
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2065, in _do_get
2015-02-24 02:09:54.127 6013 TRACE keystone     info = self._get_opt_info(name, group)
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2193, in _get_opt_info
2015-02-24 02:09:54.127 6013 TRACE keystone     raise NoSuchOptError(opt_name, group)
2015-02-24 02:09:54.127 6013 TRACE keystone NoSuchOptError: no such option in group cache: memcache_servers
2015-02-24 02:09:54.127 6013 TRACE keystone

and I do not seem to have a etc/keystone/keystone-paste.ini file

# ls -l /etc/keystone/
total 20
-rw-r--r--. 1 keystone keystone 1365 Feb 24 02:08 default_catalog.templates
-rw-r--r--. 1 keystone keystone 1357 Feb 24 02:08 keystone.conf
-rw-r--r--. 1 keystone keystone  962 Feb 24 02:08 logging.conf
-rw-r--r--. 1 keystone keystone 5186 Feb 24 02:08 policy.json

CRITICAL keystone [-] NoSuchOptError: no such option in group cache: memcache_servers

Hi,

I am trying to deploy Juno with puppet modules I used for Havana. I am stumped and do not know how to debug this ... When I try and start the openstack-keystone service I get this error message in the /var/log/keystone/keystone.log file:

CRITICAL keystone [-] NoSuchOptError: no such option in group cache: memcache_servers

I looked in my /etc/keystone/keystone.conf file and I do not even have a cache group nor do I have a memcache_servers option anywhere either.

Here's my keystone.conf:

[DEFAULT]
admin_token = my_keystone
bind_host = 10.29.103.51
debug = true
verbose = True

[sql]
connection = mysql://keystone:1234@ost-el7.example.com:3306/keystone
max_retries = 10
retry_interval = 10
max_pool_size = 75
idle_timeout = 120
max_overflow = 150

[identity]
driver = keystone.identity.backends.hybrid.Identity

[catalog]
driver = keystone.catalog.backends.sql.Catalog

[token]
driver = keystone.token.backends.memcache.Token
expiration = 10800

[assignment]
driver = keystone.assignment.backends.sql.Assignment

[signing]
token_format = UUID

[ldap]
url = ldap://ds.example.com:389
password = XXXXXXX
user = xxxx-xxxx.gen
suffix = OU=Example Users,DC=my,DC=com
user_suffix = @example.com
user_tree_dn = ou=Employees,ou=Example Users,dc=example,dc=com
generic_tree_dn = ou=Generics,ou=Example Users,dc=example,dc=com
use_dumb_member = False
allow_subtree_delete = False
user_objectclass = person
user_enabled_attribute = userAccountControl
user_enabled_mask = 2
user_enabled_default = 512
page_size = 500
query_scope = one
user_id_attribute = cn
user_name_attribute = cn

[auth]
methods = password,token
password = keystone.auth.plugins.password.Password
token = keystone.auth.plugins.token.Token
oauth1 = keystone.auth.plugins.oauth1.OAuth

[memcache]
servers = 10.0.0.51:11211,10.0.0.52:11211,10.0.0.53:11211
expiration = 7200

Update:

Here's what's in my /var/log/keystone/keystone.log file:

2015-02-24 02:09:54.119 6013 DEBUG keystone.common.environment [-] Environment configured as: eventlet wrapper /usr/lib/python2.7/site-packages/keystone/common/environment/__init__.py:49
2015-02-24 02:09:54.127 6013 CRITICAL keystone [-] NoSuchOptError: no such option in group cache: memcache_servers
2015-02-24 02:09:54.127 6013 TRACE keystone Traceback (most recent call last):
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/bin/keystone-all", line 146, in <module>
2015-02-24 02:09:54.127 6013 TRACE keystone     backends.load_backends()
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/backends.py", line 29, in load_backends
2015-02-24 02:09:54.127 6013 TRACE keystone     cache.configure_cache_region(cache.REGION)
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/common/cache/core.py", line 140, in configure_cache_region
2015-02-24 02:09:54.127 6013 TRACE keystone     config_dict = build_cache_config()
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/keystone/common/cache/core.py", line 114, in build_cache_config
2015-02-24 02:09:54.127 6013 TRACE keystone     CONF.cache.memcache_servers)
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2313, in __getattr__
2015-02-24 02:09:54.127 6013 TRACE keystone     return self._conf._get(name, self._group)
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2047, in _get
2015-02-24 02:09:54.127 6013 TRACE keystone     value = self._do_get(name, group, namespace)
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2065, in _do_get
2015-02-24 02:09:54.127 6013 TRACE keystone     info = self._get_opt_info(name, group)
2015-02-24 02:09:54.127 6013 TRACE keystone   File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 2193, in _get_opt_info
2015-02-24 02:09:54.127 6013 TRACE keystone     raise NoSuchOptError(opt_name, group)
2015-02-24 02:09:54.127 6013 TRACE keystone NoSuchOptError: no such option in group cache: memcache_servers
2015-02-24 02:09:54.127 6013 TRACE keystone

and I do not seem to have a etc/keystone/keystone-paste.ini file

# ls -l /etc/keystone/
total 20
-rw-r--r--. 1 keystone keystone 1365 Feb 24 02:08 default_catalog.templates
-rw-r--r--. 1 keystone keystone 1357 Feb 24 02:08 keystone.conf
-rw-r--r--. 1 keystone keystone  962 Feb 24 02:08 logging.conf
-rw-r--r--. 1 keystone keystone 5186 Feb 24 02:08 policy.json

Update2:

I suspect there might be a bug in the keystone code. Here is the part I find suspect:

    109         LOG.debug('Keystone Cache Config: %s', conf_dict)
    110     # NOTE(yorik-sar): these arguments will be used for memcache-related
    111     # backends. Use setdefault for url to support old-style setting through
    112     # backend_argument=url:127.0.0.1:11211
    113     conf_dict.setdefault('%s.arguments.url' % prefix,
    114                          CONF.cache.memcache_servers)

This is in the /usr/lib/python2.7/site-packages/keystone/common/cache/core.py file.