[Openstack] Problem running devstack / stack.sh
Dusan Dordevic
dj.dule at selectedgreen.com
Sun Jan 20 15:35:32 UTC 2013
Hi,
I just downloaded fresh copy of devstack, and I am trying to run in on
Ubuntu. 12.04. I do have stack.sh problem, it seems to me like something
related to Keystone and database, but I cannot find the problem. Any idea
what it might be ?
Here is full error dump:
./stack.sh
...
+ export OS_SERVICE_ENDPOINT=http://192.168.1.13:35357/v2.0
+ OS_SERVICE_ENDPOINT=http://192.168.1.13:35357/v2.0
+ create_keystone_accounts
++ keystone tenant-create --name admin
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(OperationalError) (1045, \"Access denied for user 'root'@'localhost'
(using password: YES)\") None None", "code": 500, "title": "Internal Server
Error"}}. (HTTP 500)
+ ADMIN_TENANT=
++ keystone user-create --name admin --pass sifra --email admin at example.com
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(OperationalError) (1045, \"Access denied for user 'root'@'localhost'
(using password: YES)\") None None", "code": 500, "title": "Internal Server
Error"}}. (HTTP 500)
+ ADMIN_USER=
++ keystone role-create --name admin
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(OperationalError) (1045, \"Access denied for user 'root'@'localhost'
(using password: YES)\") None None", "code": 500, "title": "Internal Server
Error"}}. (HTTP 500)
+ ADMIN_ROLE=
+ keystone user-role-add --user_id --role_id --tenant_id
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
++ keystone tenant-create --name service
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(OperationalError) (1045, \"Access denied for user 'root'@'localhost'
(using password: YES)\") None None", "code": 500, "title": "Internal Server
Error"}}. (HTTP 500)
+ SERVICE_TENANT=
++ keystone role-create --name=Member
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(OperationalError) (1045, \"Access denied for user 'root'@'localhost'
(using password: YES)\") None None", "code": 500, "title": "Internal Server
Error"}}. (HTTP 500)
+ MEMBER_ROLE=
++ keystone role-create --name=anotherrole
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(OperationalError) (1045, \"Access denied for user 'root'@'localhost'
(using password: YES)\") None None", "code": 500, "title": "Internal Server
Error"}}. (HTTP 500)
+ ANOTHER_ROLE=
++ keystone tenant-create --name=invisible_to_admin
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(OperationalError) (1045, \"Access denied for user 'root'@'localhost'
(using password: YES)\") None None", "code": 500, "title": "Internal Server
Error"}}. (HTTP 500)
+ INVIS_TENANT=
++ keystone tenant-create --name=demo
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(OperationalError) (1045, \"Access denied for user 'root'@'localhost'
(using password: YES)\") None None", "code": 500, "title": "Internal Server
Error"}}. (HTTP 500)
+ DEMO_TENANT=
++ keystone user-create --name demo --pass sifra --email demo at example.com
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(OperationalError) (1045, \"Access denied for user 'root'@'localhost'
(using password: YES)\") None None", "code": 500, "title": "Internal Server
Error"}}. (HTTP 500)
+ DEMO_USER=
+ keystone user-role-add --user_id --role_id --tenant_id
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
+ keystone user-role-add --user_id --role_id --tenant_id
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
+ keystone user-role-add --user_id --role_id --tenant_id
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
+ keystone user-role-add --user_id --role_id --tenant_id
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
+ [[ sql = \s\q\l ]]
++ keystone service-create --name keystone --type identity --description
'Keystone Identity Service'
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(OperationalError) (1045, \"Access denied for user 'root'@'localhost'
(using password: YES)\") None None", "code": 500, "title": "Internal Server
Error"}}. (HTTP 500)
+ KEYSTONE_SERVICE=
+ keystone endpoint-create --region RegionOne --service_id --publicurl
http://192.168.1.13:5000/v2.0 --adminurl
http://192.168.1.13:35357/v2.0--internalurl
http://192.168.1.13:5000/v2.0
usage: keystone endpoint-create [--region <endpoint-region>] --service-id
<service-id> [--publicurl <public-url>]
[--adminurl <admin-url>]
[--internalurl <internal-url>]
keystone endpoint-create: error: argument --service-id/--service_id:
expected one argument
++ failed
++ local r=2
+++ jobs -p
++ kill
++ set +o xtrace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130120/b7ab8247/attachment.html>
More information about the Openstack
mailing list