Ask Your Question
0

Keystone not working: No handlers could be found for logger "keystoneclient.httpclient" [closed]

asked 2014-04-28 09:54:35 -0500

NilsS gravatar image

updated 2014-04-28 10:08:48 -0500

Hello,

I am installing openstack on debian for the first time. I am following Openstack installation - Debian guide. I have set the OS_* enviroment and keystone token-get works except that it also shows 'No handlers could be found for logger "keystoneclient.httpclient"' and is taking a long time (about 40 seconds).

But I can not fetch a userlist, it just don't reply anything:

root@cloudcontrol01:~# keystone user-list

No handlers could be found for logger "keystoneclient.httpclient"

root@cloudcontrol01:~#

But If I select all from table user of keystone database (mysql) I get one entry for admin.

Same behavior for registering services:

root@cloudcontrol01:~# keystone service-create --name=keystone --type=identity --description="OpenStack Identity"

No handlers could be found for logger "keystoneclient.httpclient"

root@cloudcontrol01:~#

No service is created and the command takes very long.

Any help would be very nice. Please tell me if you need any further informations.

Thanks and regards, Nils Schröder

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by NilsS
close date 2014-04-30 07:20:48.557781

Comments

Handler not found is a warning that most probably you can ignore it. Do you know the keystone endpoint? e.g if os-auth-url=http://controller:35357/v2.0, then try curl -k http://controller:35357 . It should output version information.

Most probably your keystone endpoint is wrong

Haneef Ali gravatar imageHaneef Ali ( 2014-04-28 10:58:31 -0500 )edit

I had the same issue I confirmed that is because wrong endpoint!

Robert gravatar imageRobert ( 2014-09-17 11:36:16 -0500 )edit

1 answer

Sort by » oldest newest most voted
2

answered 2014-04-30 07:20:20 -0500

NilsS gravatar image

Thank you for your help, it lead me into the right direction. I do not completly understand what was wrong but this is how I solved it:

situation:
- select * from keystone.service did not show an entry for keystone. Also no entry in keystone.endpoint table.
- all commands except keystone token-get did not work, no error message and no output, just a blank line.

solution:
- unset all OS_*
- export OS_SERVICE_TOKEN=$SERVICE_TOKEN
- export OS_SERVICE_ENDPOINT=$http://controller:35357/v2.0
- recreate the keystone service and endpoint: http://docs.openstack.org/icehouse/install-guide/install/yum/content/keystone-services.html (http://docs.openstack.org/icehouse/in...)

I think my problem may was that the service is created by debian package manager and this may failed without warning. So I followed http://docs.openstack.org/icehouse/install-guide/install/apt-debian/content/keystone-verify.html (http://docs.openstack.org/icehouse/in...) and unset OS_SERVICE_ENDPOINT and keystone did'nt know what to do after that.

So again many thanks for your help,
Nils Schröder

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-04-28 09:54:35 -0500

Seen: 3,883 times

Last updated: Apr 30 '14