User is create but can't login

asked 2015-03-31 03:55:24 -0600

Rishi gravatar image

i am run this command it's creating user but that user can't login showing error when i update that user it's show " User Rishi has no role defined for that project." Data in POST request

-d { "user": { "default_project_id": "d23e9c85f1544bb18917bbd16153edbe", "description": "Test Users", "email": "er.rishishrivastava@gmail.come" , "enabled": true, "name": "Rishi", "role":"_member_", "password": "123456" } }

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-01 05:41:25 -0600

Charles Benon gravatar image

Hi Rishi,

It looks like the default role you are using (_member_) doesn't allow you to login (you can check all the details into policy.json).

I would add a different role to your user:

keystone user-role-add --user <rishi> --role <role name=""> --tenant <tenant name="">

In case, you can check the existing roles and tenants:

keystone role-list

keystone tenant-list

The default role and tenant you create when making the installation is admin (The default policy for most services grants administrative access to the admin role):

http://docs.openstack.org/juno/instal...

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-31 03:47:38 -0600

Seen: 311 times

Last updated: Apr 01 '15