<div dir="ltr">I am getting stuck with the following errors while installing using devstack (stable/grizzly).<div><div>2013-06-18 09:43:01 + export OS_SERVICE_TOKEN=password</div><div>2013-06-18 09:43:01 + OS_SERVICE_TOKEN=password</div>
<div>2013-06-18 09:43:01 + export OS_SERVICE_ENDPOINT=<a href="http://localhost:35357/v2.0">http://localhost:35357/v2.0</a></div><div>2013-06-18 09:43:01 + OS_SERVICE_ENDPOINT=<a href="http://localhost:35357/v2.0">http://localhost:35357/v2.0</a></div>
<div>2013-06-18 09:43:01 + create_keystone_accounts</div><div>2013-06-18 09:43:01 ++ keystone tenant-create --name admin</div><div>2013-06-18 09:43:01 ++ grep ' id '</div><div>2013-06-18 09:43:01 ++ get_field 2</div>
<div>2013-06-18 09:43:01 ++ read data</div><div>2013-06-18 09:43:01 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)</div>
<div>2013-06-18 09:43:01 + ADMIN_TENANT=</div><div>2013-06-18 09:43:01 ++ keystone user-create --name admin --pass password --email <a href="mailto:admin@example.com">admin@example.com</a></div><div>2013-06-18 09:43:01 ++ grep ' id '</div>
<div>2013-06-18 09:43:01 ++ get_field 2</div><div>2013-06-18 09:43:01 ++ read data</div><div>2013-06-18 09:43:02 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)</div>
<div>2013-06-18 09:43:02 + ADMIN_USER=</div><div>2013-06-18 09:43:02 ++ keystone role-create --name admin</div><div>2013-06-18 09:43:02 ++ grep ' id '</div><div>2013-06-18 09:43:02 ++ get_field 2</div><div>2013-06-18 09:43:02 ++ read data</div>
<div>2013-06-18 09:43:02 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)</div>
<div>2013-06-18 09:43:02 + ADMIN_ROLE=</div><div>2013-06-18 09:43:02 + keystone user-role-add --user_id --role_id --tenant_id</div><div>2013-06-18 09:43:03 usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]</div>
<div>2013-06-18 09:43:03 keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument</div><div>2013-06-18 09:43:03 ++ keystone tenant-create --name service</div><div>2013-06-18 09:43:03 ++ grep ' id '</div>
<div>2013-06-18 09:43:03 ++ get_field 2</div><div>2013-06-18 09:43:03 ++ read data</div><div>2013-06-18 09:43:03 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)</div>
<div>2013-06-18 09:43:03 + SERVICE_TENANT=</div><div>2013-06-18 09:43:03 ++ keystone role-create --name=Member</div><div>2013-06-18 09:43:03 ++ grep ' id '</div><div>2013-06-18 09:43:03 ++ get_field 2</div><div>2013-06-18 09:43:03 ++ read data</div>
<div>2013-06-18 09:43:04 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)</div>
<div>2013-06-18 09:43:04 + MEMBER_ROLE=</div><div>2013-06-18 09:43:04 ++ keystone role-create --name=anotherrole</div><div>2013-06-18 09:43:04 ++ grep ' id '</div><div>2013-06-18 09:43:04 ++ get_field 2</div><div>
2013-06-18 09:43:04 ++ read data</div><div>2013-06-18 09:43:04 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)</div>
<div>2013-06-18 09:43:04 + ANOTHER_ROLE=</div><div>2013-06-18 09:43:04 ++ keystone tenant-create --name=invisible_to_admin</div><div>2013-06-18 09:43:04 ++ grep ' id '</div><div>2013-06-18 09:43:04 ++ get_field 2</div>
<div>2013-06-18 09:43:04 ++ read data</div><div>2013-06-18 09:43:05 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)</div>
<div>2013-06-18 09:43:05 + INVIS_TENANT=</div><div>2013-06-18 09:43:05 ++ keystone tenant-create --name=demo</div><div>2013-06-18 09:43:05 ++ grep ' id '</div><div>2013-06-18 09:43:05 ++ get_field 2</div><div>2013-06-18 09:43:05 ++ read data</div>
<div>2013-06-18 09:43:05 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)</div>
<div>2013-06-18 09:43:05 + DEMO_TENANT=</div><div>2013-06-18 09:43:05 ++ keystone user-create --name demo --pass password --email <a href="mailto:demo@example.com">demo@example.com</a></div><div>2013-06-18 09:43:05 ++ grep ' id '</div>
<div>2013-06-18 09:43:05 ++ get_field 2</div><div>2013-06-18 09:43:05 ++ read data</div><div>2013-06-18 09:43:05 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)</div>
<div>2013-06-18 09:43:06 + DEMO_USER=</div><div>2013-06-18 09:43:06 + keystone user-role-add --user_id --role_id --tenant_id</div><div>2013-06-18 09:43:06 usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]</div>
<div>2013-06-18 09:43:06 keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument</div><div>2013-06-18 09:43:06 + keystone user-role-add --user_id --role_id --tenant_id</div><div>2013-06-18 09:43:06 usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]</div>
<div>2013-06-18 09:43:06 keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument</div><div>2013-06-18 09:43:06 + keystone user-role-add --user_id --role_id --tenant_id</div><div>2013-06-18 09:43:07 usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]</div>
<div>2013-06-18 09:43:07 keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument</div><div>2013-06-18 09:43:07 + keystone user-role-add --user_id --role_id --tenant_id</div><div>2013-06-18 09:43:07 usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]</div>
<div>2013-06-18 09:43:07 keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument</div><div>2013-06-18 09:43:07 + [[ sql = \s\q\l ]]</div><div>2013-06-18 09:43:07 ++ keystone service-create --name keystone --type identity --description 'Keystone Identity Service'</div>
<div>2013-06-18 09:43:07 ++ grep ' id '</div><div>2013-06-18 09:43:07 ++ get_field 2</div><div>2013-06-18 09:43:07 ++ read data</div><div>2013-06-18 09:43:08 An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: YES)") None None (HTTP 500)</div>
<div>2013-06-18 09:43:08 + KEYSTONE_SERVICE=</div><div>2013-06-18 09:43:08 + keystone endpoint-create --region RegionOne --service_id --publicurl <a href="http://localhost:5000/v2.0">http://localhost:5000/v2.0</a> --adminurl <a href="http://localhost:35357/v2.0">http://localhost:35357/v2.0</a> --internalurl <a href="http://localhost:5000/v2.0">http://localhost:5000/v2.0</a></div>
<div>2013-06-18 09:43:08 usage: keystone endpoint-create [--region <endpoint-region>] --service-id</div><div>2013-06-18 09:43:08                                 <service-id> [--publicurl <public-url>]</div>
<div>2013-06-18 09:43:08                                 [--adminurl <admin-url>]</div><div>2013-06-18 09:43:08                                 [--internalurl <internal-url>]</div><div>2013-06-18 09:43:08 keystone endpoint-create: error: argument --service-id/--service_id: expected one argument</div>
<div>2013-06-18 09:43:08 ++ failed</div><div>[root@redhat48140 devstack]# 2013-06-18 09:43:08 ++ local r=2</div><div>2013-06-18 09:43:08 +++ jobs -p</div><div>2013-06-18 09:43:08 ++ kill</div><div>2013-06-18 09:43:08 ++ set +o xtrace</div>
<div>2013-06-18 09:43:08 stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2013-06-18-094211</div></div><div><br></div><div><br></div><div style>I saw a thread on the same issue and it seemed to be resolved by adding no_proxy..I did the same in my localrc and I am still getting the same error. My localrc is as follows:</div>
<div style><br></div><div style><div>ENABLED_SERVICES=q-meta,q-lbaas,n-obj,n-cpu,n-sch,n-cauth,horizon,mysql,rabbit,sysstat,cinder,c-api,c-vol,c-sch,n-cond,quantum,q-svc,q-agt,q-dhcp,q-l3,n-novnc,n-xvnc,q-lbaas,g-api,g-reg,key,n-api,n-crt</div>
<div>DATABASE_PASSWORD=password</div><div>ADMIN_PASSWORD=password</div><div>SERVICE_PASSWORD=password</div><div>SERVICE_TOKEN=password</div><div>RABBIT_PASSWORD=password</div><div># Compute Service</div><div>NOVA_BRANCH=stable/grizzly</div>
<div># Volume Service</div><div>CINDER_BRANCH=stable/grizzly</div><div># Image Service</div><div>GLANCE_BRANCH=stable/grizzly</div><div># Web UI (Dashboard)</div><div>HORIZON_BRANCH=stable/grizzly</div><div># Auth Services</div>
<div>KEYSTONE_BRANCH=stable/grizzly</div><div># Quantum (Network) service</div><div>QUANTUM_BRANCH=stable/grizzly</div><div>#Enable Logging</div><div>LOGFILE=/opt/stack/logs/stack.sh.log</div><div>VERBOSE=True</div><div>LOG_COLOR=False</div>
<div>SCREEN_LOGDIR=/opt/stack/logs</div><div>export no_proxy="localhost,127.0.0.1"</div><div>export HOST_IP=localhost</div><div>export SERVICE_HOST=$HOST_IP</div><div>export IMAGE_HOST=$HOST_IP</div><div>export IDENTITY_HOST=$HOST_IP</div>
<div><br></div><div style>Also, I had given all permissions for folders under /opt/stack</div><div style><br></div><div style><div>[root@redhat48140 devstack]# ls -la /opt/stack</div><div>total 100</div><div>drwxr-xr-x  22 stack root  4096 Jun 17 14:43 .</div>
<div>drwxr-xr-x.  5 root  root  4096 Jun  7 12:02 ..</div><div>-rw-------   1 stack stack 1455 Jun 18 09:41 .bash_history</div><div>drwxrwxrwx  10 stack stack 4096 Jun 17 14:26 cinder</div><div>drwxrwxrwx   3 stack root  4096 Jun 18 09:42 data</div>
<div>drwxrwxrwx  10 stack root  4096 Jun 17 14:29 devstack</div><div>drwxrwxrwx   9 stack stack 4096 Jun 17 14:26 glance</div><div>drwxrwxrwx  10 stack stack 4096 Jun 17 14:28 horizon</div><div>drwxrwxrwx  12 stack stack 4096 Jun 17 14:29 keystone</div>
<div>drwxrwxrwx   2 stack stack 4096 Jun 18 09:42 logs</div><div>-rw-------   1 stack stack   52 Jun 11 18:46 .my.cnf</div><div>drwxrwxrwx  12 stack stack 4096 Jun 17 14:28 nova</div><div>drwxrwxrwx   9 stack stack 4096 Jun 17 14:28 noVNC</div>
<div>drwxrwxrwx   6 stack stack 4096 Jun 11 18:54 pbr</div><div>drwxrw----   3 stack stack 4096 Jun 11 18:48 .pki</div><div>drwxrwxrwx   7 stack stack 4096 Jun 17 14:25 python-cinderclient</div><div>drwxrwxrwx   8 stack stack 4096 Jun 17 14:25 python-glanceclient</div>
<div>drwxrwxrwx   9 stack stack 4096 Jun 17 14:25 python-keystoneclient</div><div>drwxrwxrwx   7 stack stack 4096 Jun 17 14:25 python-novaclient</div><div>drwxrwxrwx   8 stack stack 4096 Jun 17 14:26 python-openstackclient</div>
<div>drwxrwxrwx   8 stack stack 4096 Jun 17 14:26 python-quantumclient</div><div>drwxrwxrwx   8 stack stack 4096 Jun 17 14:25 python-swiftclient</div><div>drwxrwxrwx  10 stack stack 4096 Jun 17 14:26 quantum</div><div>-rw-------   1 stack stack 1024 Jun 18 09:42 .rnd</div>
<div>drwxrwxrwx   3 stack stack 4096 Jun 17 14:29 status</div><div><br></div></div><div style>Any idea what I am missing here? Appreciate your help.</div><div style><br></div><div style>--z</div></div></div>