← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1645263] Re: Unable to run stack.sh on fresh new Ubuntu Xenial 16.04 LTS, script fails with "No module named 'memcache' "

 

Marked as invalid. Not a lot we can do about python-memcached, but with
the py3-first testing i think we are beyond this as a bug.

** Changed in: keystone
       Status: Incomplete => Invalid

-- 
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/1645263

Title:
  Unable to run stack.sh on fresh new Ubuntu Xenial 16.04 LTS, script
  fails with "No module named 'memcache' "

Status in devstack:
  Opinion
Status in OpenStack Identity (keystone):
  Invalid
Status in OpenStack Global Requirements:
  Opinion

Bug description:
  Unable to run stack.sh on fresh new Ubuntu Xenial 16.04 LTS, script
  fails with "No module named 'memcache' "

  Traceback:

  +lib/keystone:bootstrap_keystone:630       /usr/local/bin/keystone-manage bootstrap --bootstrap-username admin --bootstrap-password ubuntu --bootstrap-project-name admin --bootstrap-role-name admin --bootstrap-service-name keystone --bootstrap-region-id RegionOne --bootstrap-admin-url http://192.168.0.115/identity_admin --bootstrap-public-url http://192.168.0.115/identity --bootstrap-internal-url http://192.168.0.115/identity
  2016-11-28 11:51:39.723 15663 CRITICAL keystone [-] ImportError: No module named 'memcache'
  2016-11-28 11:51:39.723 15663 TRACE keystone Traceback (most recent call last):
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/usr/local/bin/keystone-manage", line 10, in <module>
  2016-11-28 11:51:39.723 15663 TRACE keystone     sys.exit(main())
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/opt/stack/keystone/keystone/cmd/manage.py", line 45, in main
  2016-11-28 11:51:39.723 15663 TRACE keystone     cli.main(argv=sys.argv, config_files=config_files)
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/opt/stack/keystone/keystone/cmd/cli.py", line 1269, in main
  2016-11-28 11:51:39.723 15663 TRACE keystone     CONF.command.cmd_class.main()
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/opt/stack/keystone/keystone/cmd/cli.py", line 365, in main
  2016-11-28 11:51:39.723 15663 TRACE keystone     klass = cls()
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/opt/stack/keystone/keystone/cmd/cli.py", line 66, in __init__
  2016-11-28 11:51:39.723 15663 TRACE keystone     self.load_backends()
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/opt/stack/keystone/keystone/cmd/cli.py", line 129, in load_backends
  2016-11-28 11:51:39.723 15663 TRACE keystone     drivers = backends.load_backends()
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/opt/stack/keystone/keystone/server/backends.py", line 32, in load_backends
  2016-11-28 11:51:39.723 15663 TRACE keystone     cache.configure_cache()
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/opt/stack/keystone/keystone/common/cache/core.py", line 124, in configure_cache
  2016-11-28 11:51:39.723 15663 TRACE keystone     cache.configure_cache_region(CONF, region)
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/usr/local/lib/python3.5/dist-packages/oslo_cache/core.py", line 201, in configure_cache_region
  2016-11-28 11:51:39.723 15663 TRACE keystone     '%s.' % conf.cache.config_prefix)
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/region.py", line 552, in configure_from_config
  2016-11-28 11:51:39.723 15663 TRACE keystone     "%swrap" % prefix, None),
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/region.py", line 417, in configure
  2016-11-28 11:51:39.723 15663 TRACE keystone     _config_prefix
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/api.py", line 81, in from_config_dict
  2016-11-28 11:51:39.723 15663 TRACE keystone     for key in config_dict
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/backends/memcached.py", line 208, in __init__
  2016-11-28 11:51:39.723 15663 TRACE keystone     super(MemcacheArgs, self).__init__(arguments)
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/backends/memcached.py", line 108, in __init__
  2016-11-28 11:51:39.723 15663 TRACE keystone     self._imports()
  2016-11-28 11:51:39.723 15663 TRACE keystone   File "/usr/local/lib/python3.5/dist-packages/dogpile/cache/backends/memcached.py", line 287, in _imports
  2016-11-28 11:51:39.723 15663 TRACE keystone     import memcache  # noqa
  2016-11-28 11:51:39.723 15663 TRACE keystone ImportError: No module named 'memcache'
  2016-11-28 11:51:39.723 15663 TRACE keystone 

  local.conf

  [[local|localrc]]

  USE_PYTHON3=True
  PYTHON3_VERSION=3.5

  Python: 3.5.2

  Ubuntu version (lsb_release -a):
  Distributor ID:	Ubuntu
  Description:	Ubuntu 16.04 LTS
  Release:	16.04
  Codename:	xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1645263/+subscriptions