[Errno 111] Connection refused [closed]

asked 2013-06-07 09:33:18 -0500

modernkarthi gravatar image

updated 2013-06-07 17:04:27 -0500

smaffulli gravatar image

I am installing OpenStack Grizzly on Redhat 6.4. Installed Pre-requisites and configuring keystone.

While executing ./keystone_basic.sh i am getting the below error.

[user@rh64x-41-101 ~]$ ./keystone_basic.sh
[Errno 111] Connection refused
[Errno 111] Connection refused
[Errno 111] Connection refused
[Errno 111] Connection refused
[Errno 111] Connection refused
[Errno 111] Connection refused
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 --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 --user/--user-id/--user_id: expected one argument
[Errno 111] Connection refused
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: 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

**[user@rh64x-41-101 ~]$ keystone --debug user-list**
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
REQ: curl -i http://localhost:35357/v2.0/users -X GET -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: ADMIN"
[Errno 111] Connection refused

**[user@rh64x-41-101 ~]$ tail -n 30 /var/log/keystone/keystone.log**
2013-06-07 06:12:32    DEBUG [migrate.versioning.script.base] Script /usr/lib/python2.6/site-packages/keystone/common/sql/migrate_repo/versions/009_normalize_identity.py loaded successfully
2013-06-07 06:12:32    DEBUG [migrate.versioning.script.base] Loading script /usr/lib/python2.6/site-packages/keystone/common/sql/migrate_repo/versions/010_normalize_identity_migration.py...
2013-06-07 06:12:32    DEBUG [migrate.versioning.script.base] Script /usr/lib/python2.6/site-packages/keystone/common/sql/migrate_repo/versions/010_normalize_identity_migration.py loaded successfully
2013-06-07 06:12:32    DEBUG [migrate.versioning.script.base] Loading script /usr/lib/python2.6/site-packages/keystone/common/sql/migrate_repo/versions/011_endpoints_v3.py...
2013-06-07 06:12:32    DEBUG [migrate.versioning.script.base] Script /usr/lib/python2.6/site-packages/keystone/common/sql/migrate_repo/versions/011_endpoints_v3.py loaded successfully
2013-06-07 06:12:32    DEBUG [migrate.versioning.script.base] Loading script /usr/lib/python2.6/site-packages/keystone/common/sql/migrate_repo/versions/012_populate_endpoint_type.py...
2013-06-07 06:12:32    DEBUG [migrate.versioning.script.base] Script /usr/lib/python2.6/site-packages/keystone/common/sql/migrate_repo/versions/012_populate_endpoint_type.py loaded successfully
2013-06-07 06:12:32    DEBUG [migrate.versioning.script.base] Loading script /usr/lib/python2 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by smaffulli
close date 2013-06-07 17:07:45.991678

Comments

search for 'Errno 111' as there are multiple questions already with identical issue

smaffulli gravatar imagesmaffulli ( 2013-06-07 17:08:15 -0500 )edit

1.if you set proxy ,please unset it 2.if not work,try follow steps: drop database keystone; mysql -u root -p CREATE DATABASE keystone; GRANT ALL ON keystone.* TO 'keystoneUser'@'%' IDENTIFIED BY 'keystonePass'; quit;

mike gravatar imagemike ( 2013-09-25 01:46:26 -0500 )edit