Why I am getting error for keystone during Liberty single node setup?

asked 2016-07-06 15:30:21 -0600

anonymous user

Anonymous

Network config works, mysql works, rabitmq works, but as soon as make changes to keystone.conf and restart keystone service - keystone keeps coming back to stop status - here is the log

root@NYLIBERTY:/usr/bin# ./keystone-all 2016-07-06 16:12:48.931 7301 CRITICAL keystone [-] ImportError: Class memcache cannot be found (['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/importutils.py", line 28, in import_class\n __import__(mod_str)\n', 'ValueError: Empty module name\n']) 2016-07-06 16:12:48.931 7301 TRACE keystone Traceback (most recent call last): 2016-07-06 16:12:48.931 7301 TRACE keystone File "./keystone-all", line 137, in <module> 2016-07-06 16:12:48.931 7301 TRACE keystone service.load_backends() 2016-07-06 16:12:48.931 7301 TRACE keystone File "/usr/lib/python2.7/dist-packages/keystone/service.py", line 58, in load_backends 2016-07-06 16:12:48.931 7301 TRACE keystone token_api=token.Manager(), 2016-07-06 16:12:48.931 7301 TRACE keystone File "/usr/lib/python2.7/dist-packages/keystone/common/dependency.py", line 166, in wrapper 2016-07-06 16:12:48.931 7301 TRACE keystone self.__wrapped_init__(args, *kwargs) 2016-07-06 16:12:48.931 7301 TRACE keystone File "/usr/lib/python2.7/dist-packages/keystone/common/dependency.py", line 106, in __wrapped_init__ 2016-07-06 16:12:48.931 7301 TRACE keystone init(self, args, *kwargs) 2016-07-06 16:12:48.931 7301 TRACE keystone File "/usr/lib/python2.7/dist-packages/keystone/token/core.py", line 113, in __init__ 2016-07-06 16:12:48.931 7301 TRACE keystone super(Manager, self).__init__(CONF.token.driver) 2016-07-06 16:12:48.931 7301 TRACE keystone File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line 70, in __init__ 2016-07-06 16:12:48.931 7301 TRACE keystone self.driver = importutils.import_object(driver_name) 2016-07-06 16:12:48.931 7301 TRACE keystone File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/importutils.py", line 38, in import_object 2016-07-06 16:12:48.931 7301 TRACE keystone return import_class(import_str)(args, *kwargs) 2016-07-06 16:12:48.931 7301 TRACE keystone File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/importutils.py", line 33, in import_class 2016-07-06 16:12:48.931 7301 TRACE keystone traceback.format_exception(*sys.exc_info()))) 2016-07-06 16:12:48.931 7301 TRACE keystone ImportError: Class memcache cannot be found (['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/importutils.py", line 28, in import_class\n __import__(mod_str)\n', 'ValueError: Empty module name\n']) 2016-07-06 16:12:48.931 7301 TRACE keystone root@NYLIBERTY:/usr/bin#

edit retag flag offensive close merge delete

Comments

check did have any extra space in beginning of the line keystone.conf file also past here the keystone.conf file

billy gravatar imagebilly ( 2016-07-07 07:38:17 -0600 )edit

Message 'Class memcache cannot be found'. Make sure memcached and python-memcached are installed and memcached is running (default port 11211).

barry.davis gravatar imagebarry.davis ( 2016-07-10 13:55:45 -0600 )edit