<div dir="ltr"><div><div><div>Hi,<br><br></div>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 ?<br>
<br></div>Here is full error dump:<br><br></div>./stack.sh<br>...<br>+ export OS_SERVICE_ENDPOINT=<a href="http://192.168.1.13:35357/v2.0">http://192.168.1.13:35357/v2.0</a><br>+ OS_SERVICE_ENDPOINT=<a href="http://192.168.1.13:35357/v2.0">http://192.168.1.13:35357/v2.0</a><br>
+ create_keystone_accounts<br>++ keystone tenant-create --name admin<br>++ grep ' id '<br>++ get_field 2<br>++ read data<br>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)<br>
+ ADMIN_TENANT=<br>++ keystone user-create --name admin --pass sifra --email <a href="mailto:admin@example.com">admin@example.com</a><br>++ grep ' id '<br>++ get_field 2<br>++ read data<br>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)<br>
+ ADMIN_USER=<br>++ keystone role-create --name admin<br>++ grep ' id '<br>++ get_field 2<br>++ read data<br>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)<br>
+ ADMIN_ROLE=<br>+ keystone user-role-add --user_id --role_id --tenant_id<br>usage: keystone user-role-add --user-id <user-id> --role-id <role-id><br> [--tenant-id <tenant-id>]<br>
keystone user-role-add: error: argument --user-id/--user_id: expected one argument<br>++ keystone tenant-create --name service<br>++ grep ' id '<br>++ get_field 2<br>++ read data<br>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)<br>
+ SERVICE_TENANT=<br>++ keystone role-create --name=Member<br>++ grep ' id '<br>++ get_field 2<br>++ read data<br>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)<br>
+ MEMBER_ROLE=<br>++ keystone role-create --name=anotherrole<br>++ grep ' id '<br>++ get_field 2<br>++ read data<br>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)<br>
+ ANOTHER_ROLE=<br>++ keystone tenant-create --name=invisible_to_admin<br>++ grep ' id '<br>++ get_field 2<br>++ read data<br>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)<br>
+ INVIS_TENANT=<br>++ keystone tenant-create --name=demo<br>++ grep ' id '<br>++ get_field 2<br>++ read data<br>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)<br>
+ DEMO_TENANT=<br>++ keystone user-create --name demo --pass sifra --email <a href="mailto:demo@example.com">demo@example.com</a><br>++ grep ' id '<br>++ get_field 2<br>++ read data<br>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)<br>
+ DEMO_USER=<br>+ keystone user-role-add --user_id --role_id --tenant_id<br>usage: keystone user-role-add --user-id <user-id> --role-id <role-id><br> [--tenant-id <tenant-id>]<br>
keystone user-role-add: error: argument --user-id/--user_id: expected one argument<br>+ keystone user-role-add --user_id --role_id --tenant_id<br>usage: keystone user-role-add --user-id <user-id> --role-id <role-id><br>
[--tenant-id <tenant-id>]<br>keystone user-role-add: error: argument --user-id/--user_id: expected one argument<br>+ keystone user-role-add --user_id --role_id --tenant_id<br>usage: keystone user-role-add --user-id <user-id> --role-id <role-id><br>
[--tenant-id <tenant-id>]<br>keystone user-role-add: error: argument --user-id/--user_id: expected one argument<br>+ keystone user-role-add --user_id --role_id --tenant_id<br>usage: keystone user-role-add --user-id <user-id> --role-id <role-id><br>
[--tenant-id <tenant-id>]<br>keystone user-role-add: error: argument --user-id/--user_id: expected one argument<br>+ [[ sql = \s\q\l ]]<br>++ keystone service-create --name keystone --type identity --description 'Keystone Identity Service'<br>
++ grep ' id '<br>++ get_field 2<br>++ read data<br>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)<br>
+ KEYSTONE_SERVICE=<br>+ keystone endpoint-create --region RegionOne --service_id --publicurl <a href="http://192.168.1.13:5000/v2.0">http://192.168.1.13:5000/v2.0</a> --adminurl <a href="http://192.168.1.13:35357/v2.0">http://192.168.1.13:35357/v2.0</a> --internalurl <a href="http://192.168.1.13:5000/v2.0">http://192.168.1.13:5000/v2.0</a><br>
usage: keystone endpoint-create [--region <endpoint-region>] --service-id<br> <service-id> [--publicurl <public-url>]<br> [--adminurl <admin-url>]<br>
[--internalurl <internal-url>]<br>keystone endpoint-create: error: argument --service-id/--service_id: expected one argument<br>++ failed<br>++ local r=2<br>+++ jobs -p<br>++ kill<br>
++ set +o xtrace<br></div>