Unable to communicate with identity service: [Errno 111] Connection refused. (HTTP 400)

Asked by Sudhakar Gariganti

I am trying to setup this up:
http://docs.openstack.org/folsom/basic-install/content/basic-install_controller.html

I am stuck at the Keystone step.Getting this error when I run the data script @Step5 of Keystone:

"No handlers could be found for logger "keystoneclient.client"
Unable to communicate with identity service: [Errno 111] Connection refused. (HTTP 400)"

Seems like the keystone tables are not populated. All the tables in the database, have no data.

I have tried syncing the database again and restarted the keystone service, but I am still getting the same error.

Any idea what I need to do to get this resolved??
Please let me know if you need any specific information about my setup.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Identity (keystone) Edit question
Assignee:
No assignee Edit question
Solved by:
Sudhakar Gariganti
Solved:
Last query:
Last reply:
Revision history for this message
martins (martins256) said :
#1

Did you run `keystone-manage db_sync` as root? Just checked that there is no error message if run it without sudo. Try running `sudo keystone-manage db_sync`

Revision history for this message
Sudhakar Gariganti (sudhakar-gariganti) said :
#2

Thanks for replying Martin.
Yes, I am running all the scripts/commands as root only. Hence did not use sudo there.

Revision history for this message
Sudhakar Gariganti (sudhakar-gariganti) said :
#3

Sorry for the trouble.
I have figured out the error in the keystone.conf file. Correcting the conf file, solved my issue.