← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1108646] Re: ERROR u'tenant-id' when glance index

 

The KeyError here is indicating that your public_url contains something
like %(tenant-id)s which should instead be %(tenant_id)s

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1108646

Title:
  ERROR u'tenant-id' when glance index

Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  Hi all,
      keystone version:
      keystone-2012.1.4-py2.6.egg
      keystone client version:
      python_keystoneclient-0.2.2.18.g2e479cf-py2.6.egg
      glance version:
      glance-2012.1.3-py2.6.egg

      I deploy the openstack at CentOS 6.3.
      after I deploy the keystone ok with sql catalog, and glance-api、glance-registry ok.
     but when:
     [longeek@mon keystone]$ glance index
     Failed to show index. Got error:
     Unexpected response: 500

  ------------------------------------------------------------------------
  I get the Trace info in keystone.log following:
  here is the log:
  (root): 2013-01-29 15:45:53,532 ERROR u'tenant-id'
  Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/keystone-2012.1.4-py2.6.egg/keystone/common/wsgi.py", line 184, in __call__
      result = method(context, **params)
    File "/usr/lib/python2.6/site-packages/keystone-2012.1.4-py2.6.egg/keystone/service.py", line 301, in authenticate
      metadata=metadata_ref)
    File "/usr/lib/python2.6/site-packages/keystone-2012.1.4-py2.6.egg/keystone/common/manager.py", line 48, in _wrapper
      return f(*args, **kw)
    File "/usr/lib/python2.6/site-packages/keystone-2012.1.4-py2.6.egg/keystone/catalog/backends/sql.py", line 171, in get_catalog
      catalog[region][srv_type]['publicURL'] = public_url % d
  KeyError: u'tenant-id'

  I think this is a bug about diff keystone and keystone client.
  because that when i setup with template catalog, it's ok.

  And body can help me..

  Tks,
  Regard,

  -------------------------------------
  Lawrency Meng
  mai: mengql112233@xxxxxxxxx

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