While creating user in keystone i got the error __init__() got an unexpected keyword argument 'print_empty' in openstack icehouse
I am trying to create user in keystone openstack icehouse, i got the followiing error .
keystone user-create --name='admin' --pass=******** --email=saravana.kumar@gmail.com
__init__() got an unexpected keyword argument 'print_empty'
need more information on this issue, could you paste the output of debug info by issue the following cmd?
Please find the below output of the command
keystone --debug user-create --name='admin' --pass=*--email=saravana.kumar@gmail.com DEBUG:keystoneclient.session:REQ: curl -i -X POST http://saravana-pc:35357/v2.0/users -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: 1f5b4fb5e01463881ad0" -d '{"user": {"email": "saravana.kumar@gmail.com" , "password": " * ", "enabled": true, "name": "admin", "tenantId": null}}' INFO:urllib3.connectionpool:Starting new HTTP connection (1): saravana-pc DEBUG:urllib3.connectionpool:Setting read timeout to 600.0 DEBUG:urllib3.connectionpool:"POST /v2.0/users HTTP/1.1" 200 148 DEBUG:keystoneclient.session:RESP: [200] CaseInsensitiveDict({'date': 'Wed, 23 Apr 2014 14:17:43 GMT', 'vary': 'X-Auth-Token', 'content-length': '148', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'}) RESP BODY: {"user": {"username": "admin", "name": "admin", "enabled": true, "email": "saravana.kumar@gmail.com" , "id": "c135ed83de6d43808191d457a61aed85"}}
__init__() got an unexpected keyword argument 'print_empty'
ok, it seemed still not enough, could you paste the keystone.conf and the keystone.log as well for debugging? The keystone.conf is in the /etc/keystone while the keysonte.log is in /var/log/keystone.
Please find pastebin link, which has keystone.conf and keystone-all.log http://paste.ubuntu.com/7315239/
Is your keystone DB correctly initialized? Which guide are you using? If not, try reading http://docs.openstack.org/icehouse/in... step 5.
If you already initialized the DB, do you have the same error with other users, let's say using: