yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #68361
[Bug 1680525] Re: keystone-manage fails with "ImportError: No module named 'memcache'"
[Expired for OpenStack Identity (keystone) because there has been no
activity for 60 days.]
** Changed in: keystone
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1680525
Title:
keystone-manage fails with "ImportError: No module named 'memcache'"
Status in OpenStack Identity (keystone):
Expired
Bug description:
http://logs.openstack.org/91/452691/2/check/gate-tempest-dsvm-py35
-ubuntu-
xenial/ef52695/logs/devstacklog.txt.gz#_2017-04-06_10_56_26_001
2017-04-06 10:56:24.491 | + lib/keystone:bootstrap_keystone:657 : /usr/local/bin/keystone-manage bootstrap --bootstrap-username admin --bootstrap-password secretadmin --bootstrap-project-name admin --bootstrap-role-name admin --bootstrap-service-name keystone --bootstrap-region-id RegionOne --bootstrap-admin-url http://198.72.124.56/identity_admin --bootstrap-public-url http://198.72.124.56/identity
2017-04-06 10:56:26.000 | 2017-04-06 10:56:25.998 12948 CRITICAL keystone [-] ImportError: No module named 'memcache'
2017-04-06 10:56:26.000 | 2017-04-06 10:56:25.998 12948 TRACE keystone Traceback (most recent call last):
2017-04-06 10:56:26.000 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/usr/local/bin/keystone-manage", line 10, in <module>
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone sys.exit(main())
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/opt/stack/new/keystone/keystone/cmd/manage.py", line 45, in main
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone cli.main(argv=sys.argv, config_files=config_files)
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/opt/stack/new/keystone/keystone/cmd/cli.py", line 1331, in main
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone CONF.command.cmd_class.main()
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/opt/stack/new/keystone/keystone/cmd/cli.py", line 380, in main
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone klass = cls()
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/opt/stack/new/keystone/keystone/cmd/cli.py", line 67, in __init__
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone self.load_backends()
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/opt/stack/new/keystone/keystone/cmd/cli.py", line 130, in load_backends
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone drivers = backends.load_backends()
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/opt/stack/new/keystone/keystone/server/backends.py", line 32, in load_backends
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone cache.configure_cache()
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/opt/stack/new/keystone/keystone/common/cache/core.py", line 124, in configure_cache
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone cache.configure_cache_region(CONF, region)
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/usr/local/lib/python3.5/dist-packages/oslo_cache/core.py", line 200, in configure_cache_region
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone '%s.' % conf.cache.config_prefix)
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/region.py", line 552, in configure_from_config
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone "%swrap" % prefix, None),
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/region.py", line 417, in configure
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone _config_prefix
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/api.py", line 81, in from_config_dict
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone for key in config_dict
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/backends/memcached.py", line 208, in __init__
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone super(MemcacheArgs, self).__init__(arguments)
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/backends/memcached.py", line 108, in __init__
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone self._imports()
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/backends/memcached.py", line 287, in _imports
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone import memcache # noqa
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone ImportError: No module named 'memcache'
2017-04-06 10:56:26.001 | 2017-04-06 10:56:25.998 12948 TRACE keystone
49 hits in last day:
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22CRITICAL%20ImportError%3A%20No%20module%20named%20'memcache'%5C%22
The job in question is currently broken by some other pypi mirror
issue that @mordred chases, which explains why we don't see the
failure pattern in last hours, because we can't reach that point atm.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1680525/+subscriptions
References