[Openstack] Folsom: No handlers could be found for logger "keystoneclient.client"

Krishanu Dhar rony.kris at gmail.com
Sun Nov 17 05:47:22 UTC 2013


Hi,

I was doing a test deployment on openstack following the link "
http://docs.openstack.org/folsom/basic-install/content/basic-install_controller.html"
and ran into a keystone client issue.

The issue is; while trying to create a tenant it's failing with a
keystoneclient.exception. How do i go about fixing this? Unless i get this
working i cannot proceed.


Pasted below is a snippet form the logs with debug option enabled.

test at folsom-controller:~/devstack$ keystone --debug tenant-create
--name=admin
connect: (localhost, 35357)
send: 'POST /v2.0/tenants HTTP/1.1\r\nHost:
localhost:35357\r\nContent-Length: 67\r\nx-auth-token:
test\r\ncontent-type: application/json\r\naccept-encoding: gzip,
deflate\r\nuser-agent: python-keystoneclient\r\n\r\n{"tenant": {"enabled":
true, "name": "admin", "description": null}}'
reply: 'HTTP/1.1 500 Internal Server Error\r\n'
header: Vary: X-Auth-Token
header: Content-Type: application/json
header: Date: Sun, 17 Nov 2013 05:26:47 GMT
header: Transfer-Encoding: chunked
No handlers could be found for logger "keystoneclient.client"
Traceback (most recent call last):
  File "/usr/bin/keystone", line 9, in <module>
    load_entry_point('python-keystoneclient==0.1.3', 'console_scripts',
'keystone')()
  File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line
410, in main
    OpenStackIdentityShell().main(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line
354, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/shell.py",
line 126, in do_tenant_create
    enabled=utils.string_to_bool(args.enabled))
  File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/tenants.py",
line 83, in create
    return self._create('/tenants', params, "tenant")
  File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line 82,
in _create
    resp, body = self.api.post(url, body=body)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line
180, in post
    return self._cs_request(url, 'POST', **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line
161, in _cs_request
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line
141, in request
    raise exceptions.from_response(resp, body)
keystoneclient.exceptions.ClientException: An unexpected error prevented
the server from fulfilling your request. (ProgrammingError) (1146, "Table
'keystone.tenant' doesn't exist") 'INSERT INTO tenant (id, name, extra)
VALUES (%s, %s, %s)' ('42419636238a429992254b3419ffa6e7', 'admin',
'{"enabled": true, "description": null}') (HTTP 500)

krish

-- 
Krishanu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131117/16bff534/attachment.html>


More information about the Openstack mailing list