Ask Your Question
-1

What is causing error "Unable to communicate with identity service"?

asked 2013-05-16 04:54:11 -0500

jebran gravatar image

updated 2013-06-11 10:12:34 -0500

fifieldt gravatar image
Unable to communicate with identity service: {"error": {"message": "Conflict occurred attempting to store project. columns domain_id, name are not unique", "code": 409, "title": "Conflict"}}. (HTTP 409)
Unable to communicate with identity service: {"error": {"message": "Conflict occurred attempting to store project. columns domain_id, name are not unique", "code": 409, "title": "Conflict"}}. (HTTP 409)
Unable to communicate with identity service: {"error": {"message": "Conflict occurred attempting to store project. columns domain_id, name are not unique", "code": 409, "title": "Conflict"}}. (HTTP 409)
Unable to communicate with identity service: {"error": {"message": "Conflict occurred attempting to store user. columns domain_id, name are not unique", "code":   409, "title": "Conflict"}}. (HTTP 409)
Unable to communicate with identity service: {"error": {"message": "Could not find project:", "code": 404, "title": "Not Found"}}. (HTTP 404)
usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]
                            [--pass <pass>] [--email <email>]
                            [--enabled <true|false>]
keystone user-create: error: argument --tenant-id: expected one argument
usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]
                            [--pass <pass>] [--email <email>]
                            [--enabled <true|false>]
keystone user-create: error: argument --tenant-id: expected one argument
usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]
                            [--pass <pass>] [--email <email>]
                            [--enabled <true|false>]
keystone user-create: error: argument --tenant-id: expected one argument
usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]
                            [--pass <pass>] [--email <email>]
                            [--enabled <true|false>]
keystone user-create: error: argument --tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected one argument

kindly help me iam stuck in keystone - need help

edit retag flag offensive close merge delete

Comments

please try to provide more details: what did you install, from where, what command are you trying to issue? what are logs saying? Also, please make sure you're following the project's documentation http://docs.openstack.org

smaffulli gravatar imagesmaffulli ( 2013-05-16 20:07:19 -0500 )edit

http://docs.openstack.org/grizzly/basic-install/apt/content/basic-install_controller.html#basic-install_controller-keystone (http://docs.openstack.org/grizzly/basic-install/apt/content/basic-installcontroller.html#basic-installcontroller-keystone), I am doing basic installation of Grizzly, when I run keystone script that is given in documentation it gives following error that is mentioned above

jebran gravatar imagejebran ( 2013-05-17 03:51:03 -0500 )edit

hi jebran , i am facing the same issue as u faced,and i am using https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst .please tell me how you solved this issue.i even tried the steps ,destroying the database didn't work for me.

RINI gravatar imageRINI ( 2013-08-08 03:53:37 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-05-22 17:58:38 -0500

fifieldt gravatar image

Hi,

It looks like you have run the script more than once, which is causing those 'conflict' messages as it tries to do steps which were previously done - such as creating the 'admin' tenant.

Two options here:

  1. Manually go through the script line-by-line, replacing create commands with ones to find the ID of those things that have been previously created, until it starts working
  2. Destroy your keystone database and start over from the "keystone-manage db_sync" line forward
edit flag offensive delete link more
0

answered 2013-06-05 03:55:41 -0500

modernkarthi gravatar image

Hi

i am installing openstack Grizzly on redhat 6.4 using the instruction below

https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst (https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVSMultiNode/OpenStackGrizzlyInstallGuide.rst)

While running ./keystone_basic.sh script on node 1. what is causing the below error. First time i am running the script.

[user@rh64x-41-101 ~]$ sudo vi keystonebasic.sh [user@rh64x-41-101 ~]$ ./keystonebasic.sh Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, \"Access denied for user 'keystone'@'localhost' (using password: YES)\") None None", "code": 500, "title": "Internal Server Error"}}. (HTTP 500) Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, \"Access denied for user 'keystone'@'localhost' (using password: YES)\") None None", "code": 500, "title": "Internal Server Error"}}. (HTTP 500) Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, \"Access denied for user 'keystone'@'localhost' (using password: YES)\") None None", "code": 500, "title": "Internal Server Error"}}. (HTTP 500) Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, \"Access denied for user 'keystone'@'localhost' (using password: YES)\") None None", "code": 500, "title": "Internal Server Error"}}. (HTTP 500) Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, \"Access denied for user 'keystone'@'localhost' (using password: YES)\") None None", "code": 500, "title": "Internal Server Error"}}. (HTTP 500) Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, \"Access denied for user 'keystone'@'localhost' (using password: YES)\") None None", "code": 500, "title": "Internal Server Error"}}. (HTTP 500) usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--userid: expected one argument usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--userid: expected one argument usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, \"Access denied for user 'keystone'@'localhost' (using password: YES)\") None None", "code": 500, "title": "Internal Server Error"}}. (HTTP 500) usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>] [--pass <pass>] [--email <email>] [--enabled <true|false>] keystone user-create: error: argument --tenant-id: expected one argument usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --tenant/--tenant-id: expected one argument usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>] [--pass <pass>] [--email <email>] [--enabled <true|false>] keystone user-create: error: argument --tenant-id: expected one argument usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --tenant/--tenant-id: expected one argument usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>] [--pass <pass>] [--email <email>] [--enabled <true|false>] keystone user-create: error: argument --tenant-id: expected one argument usage ... (more)

edit flag offensive delete link more

Comments

1

This is not an answer, please post this as a new thread.

Jobin gravatar imageJobin ( 2013-08-08 06:45:10 -0500 )edit

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

Stats

Asked: 2013-05-16 04:54:11 -0500

Seen: 3,355 times

Last updated: Aug 08 '13