Ask Your Question
0

configuration keystone in Openstack folsom

asked 2013-03-08 14:42:35 -0500

I am getting following errors when I execute "./keystone-data.sh" in Ubuntu 12.04 :///

this error appear:

keystone user-create: error: argument --tenant-id: expected one argument usage: keystone user-role-add --user-id <user-id> --role-id <role-id> [--tenant-id <tenant-id>]

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-11 22:15:38 -0500

zzs gravatar image

Can you modify the ./keystone-data.sh by adding the ' --debug' after the 'keystone' command and try again. I still belive there is something wrong regarding the configuraion values, such as SERVICE_TOKEN or something else.

edit flag offensive delete link more
0

answered 2013-03-08 19:56:34 -0500

zzs gravatar image

Please check if the values which are in the keystone-data.sh are identical with your configured. if it does not work, please post the output of the execution with credential info moved.

edit flag offensive delete link more
0

answered 2013-03-11 11:45:52 -0500

hi ; i check the values and they are identical with my configured and it doesn't work too :/ I followed this guide in my installation https://github.com/obuisson/Guide-Installation-OpenStack-Folsom-Noeud-Unique/blob/master/source/index.rst (https://github.com/obuisson/Guide-Ins...)

the same error appeared again :

No handlers could be found for logger "keystoneclient.client" Unable to authorize user usage: keystone user-role-add --user-id <user-id> --role-id <role-id> [--tenant-id <tenant-id>] keystone user-role-add: error: argument --user-id/--user_id: expected one argument usage: keystone user-role-add --user-id <user-id> --role-id <role-id> [--tenant-id <tenant-id>]

edit flag offensive delete link more
0

answered 2013-03-12 09:02:34 -0500

I'm sorry for the inconvenience but I'm debutante.. when i run the command "keystone --debug" i have this :

usage: keystone [--os-username <auth-user-name>] [--os-password <auth-password>] [--os-tenant-name <auth-tenant-name>] [--os-tenant-id <tenant-id>] [--os-auth-url <auth-url>] [--os-region-name <region-name>] [--os-identity-api-version <identity-api-version>] [--token <service-token>] [--endpoint <service-endpoint>] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--insecure] [--username <auth-user-name>] [--password <auth-password>] [--tenant_name <tenant-name>] [--auth_url <auth-url>] [--region_name <region-name>] <subcommand> ... keystone: error: too few arguments

and this is my data script : https://raw.github.com/EmilienM/openstack-folsom-guide/master/scripts/keystone-data.sh (https://raw.github.com/EmilienM/opens...)

edit flag offensive delete link more
0

answered 2013-03-12 11:24:49 -0500

ah thanks for your help my problem is solved successfully; it is in the configuration .. :)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-08 14:42:35 -0500

Seen: 18 times

Last updated: Mar 12 '13