keystone service-create __init__() keywords must be strings", "code": 500, "title": "Internal Server Error"}}

Asked by Damien Seydoux

root@kvm2:~# keystone --token admin --endpoint http://localhost:35357/v2.0/ service-create --name=keystone --type=identity --description="Keystone Identity Service"
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
/usr/lib/python2.6/site-packages/keystoneclient/exceptions.py:42: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message or self.__class__.message
/usr/lib/python2.6/site-packages/keystoneclient/exceptions.py:46: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return "%s (HTTP %s)" % (self.message, self.code)
Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. __init__() keywords must be strings", "code": 500, "title": "Internal Server Error"}}. (HTTP 500)

Have you got an idea ??

Thank you

Question information

Language:
English Edit question
Status:
Expired
For:
OpenStack Identity (keystone) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Lawrnecy Meng (longeek) said :
#1

Unable to communicate with identity service,
and 500 code..

pls confirm the keystone-all is running by
$ps -ef | grep keystone-all

Revision history for this message
Damien Seydoux (damien-seydoux) said :
#2

root@kvm2:~# ps -ef | grep keystone-all
root 11991 11816 0 Jan19 pts/3 00:00:02 /usr/bin/python /usr/bin/keystone-all
root 12225 12213 0 12:01 pts/1 00:00:00 grep --color keystone-all

thanks

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
vijaykumar (vijaykumarkodam) said :
#5

If you are using python 2.6.4 or older version, upgrade to a newer version. That should fix this issue.

There is a known bug in handling of unicodes in python2.6.4 and below versions.
http://www.python.org/download/releases/2.6.5/NEWS.txt
Issue #4978: Passing keyword arguments as unicode strings is now allowed.