Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keystone_basic.sh script error #16

Open
bharath27 opened this issue Jun 7, 2013 · 3 comments
Open

keystone_basic.sh script error #16

bharath27 opened this issue Jun 7, 2013 · 3 comments

Comments

@bharath27
Copy link

Hi Experts,

Am facing the error after running the keystone_basic.sh script. Please help. Thank you in advance.

itops@oscontroller:~/openstack$ ./keystone_basic.sh
usage: keystone user-role-add --user --role
[--tenant_id ]
keystone user-role-add: error: argument --user is required
usage: keystone user-role-add --user --role
[--tenant_id ]
keystone user-role-add: error: argument --user is required
usage: keystone user-role-add --user --role
[--tenant_id ]
keystone user-role-add: error: argument --user is required
usage: keystone [--os_username ]
[--os_password ]
[--os_tenant_name ]
[--os_tenant_id ] [--os_auth_url ]
[--os_region_name ]
[--os_identity_api_version ]
[--token ] [--endpoint ]
[--username ] [--password ]
[--tenant_name ] [--auth_url ]
[--region_name ]
...
keystone: error: unrecognized arguments: --tenant-id 9f532979d6724812a54d6e43ee02d44a
usage: keystone user-role-add --user --role
[--tenant_id ]
keystone user-role-add: error: argument --user is required
usage: keystone [--os_username ]
[--os_password ]
[--os_tenant_name ]
[--os_tenant_id ] [--os_auth_url ]
[--os_region_name ]
[--os_identity_api_version ]
[--token ] [--endpoint ]
[--username ] [--password ]
[--tenant_name ] [--auth_url ]
[--region_name ]
...
keystone: error: unrecognized arguments: --tenant-id 9f532979d6724812a54d6e43ee02d44a
usage: keystone user-role-add --user --role
[--tenant_id ]
keystone user-role-add: error: argument --user is required
usage: keystone [--os_username ]
[--os_password ]
[--os_tenant_name ]
[--os_tenant_id ] [--os_auth_url ]
[--os_region_name ]
[--os_identity_api_version ]
[--token ] [--endpoint ]
[--username ] [--password ]
[--tenant_name ] [--auth_url ]
[--region_name ]
...
keystone: error: unrecognized arguments: --tenant-id 9f532979d6724812a54d6e43ee02d44a
usage: keystone user-role-add --user --role
[--tenant_id ]
keystone user-role-add: error: argument --user is required
usage: keystone [--os_username ]
[--os_password ]
[--os_tenant_name ]
[--os_tenant_id ] [--os_auth_url ]
[--os_region_name ]
[--os_identity_api_version ]
[--token ] [--endpoint ]
[--username ] [--password ]
[--tenant_name ] [--auth_url ]
[--region_name ]
...
keystone: error: unrecognized arguments: --tenant-id 9f532979d6724812a54d6e43ee02d44a
usage: keystone user-role-add --user --role
[--tenant_id ]
keystone user-role-add: error: argument --user is required

@abhishekunique
Copy link

I had exactly the same error, does anyone know how to fix this??

@whjiang
Copy link

whjiang commented Aug 8, 2013

I have the exact same error.

@abhishekunique
Copy link

The error I got was because I had the wrong version of openstack installed. Make sure you fix /etc/apt/sources.list.d/cloud-archive.list to install the correct version after apt-get update and apt-get upgrade. Hope this works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants