<div>Hi folks,</div><div><br></div><div>When I run the sample_data.sh script mentioned at the <a href="http://docs.openstack.org/folsom/openstack-compute/install/yum/content/scripted-keystone-setup.html">link</a> I get the following errors :</div>
<div><br></div><div><font color="#333399">Conflict occurred attempting to store user. (IntegrityError) (1062, "Duplicate entry 'admin' for key 'name'") (HTTP 409)</font></div><div><font color="#333399">Conflict occurred attempting to store role. (IntegrityError) (1062, "Duplicate entry 'admin' for key 'name'") (HTTP 409)</font></div>
<div><font color="#333399">usage: keystone user-role-add --user-id <user-id> --role-id <role-id></font></div><div><font color="#333399">                              [--tenant-id <tenant-id>]</font></div>
<div><font color="#333399">keystone user-role-add: error: argument --user-id/--user_id: expected one argument</font></div><div><font color="#333399">Conflict occurred attempting to store tenant. (IntegrityError) (1062, "Duplicate entry 'service' for key 'name'") (HTTP 409)</font></div>
<div><font color="#333399">Conflict occurred attempting to store user. (IntegrityError) (1062, "Duplicate entry 'glance' for key 'name'") (HTTP 409)</font></div><div><font color="#333399">usage: keystone user-role-add --user-id <user-id> --role-id <role-id></font></div>
<div><font color="#333399">                              [--tenant-id <tenant-id>]</font></div><div><font color="#333399">keystone user-role-add: error: argument --user-id/--user_id: expected one argument</font></div>
<div><font color="#333399">usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]</font></div><div><font color="#333399">                            [--pass <pass>] [--email <email>]</font></div>
<div><font color="#333399">                            [--enabled <true|false>]</font></div><div><font color="#333399">keystone user-create: error: argument --tenant-id: expected one argument</font></div><div><font color="#333399">usage: keystone user-role-add --user-id <user-id> --role-id <role-id></font></div>
<div><font color="#333399">                              [--tenant-id <tenant-id>]</font></div><div><font color="#333399">keystone user-role-add: error: argument --user-id/--user_id: expected one argument</font></div>
<div><font color="#333399">usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]</font></div><div><font color="#333399">                            [--pass <pass>] [--email <email>]</font></div>
<div><font color="#333399">                            [--enabled <true|false>]</font></div><div><font color="#333399">keystone user-create: error: argument --tenant-id: expected one argument</font></div><div><font color="#333399">usage: keystone user-role-add --user-id <user-id> --role-id <role-id></font></div>
<div><font color="#333399">                              [--tenant-id <tenant-id>]</font></div><div><font color="#333399">keystone user-role-add: error: argument --user-id/--user_id: expected one argument</font></div>
<div><font color="#333399">usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]</font></div><div><font color="#333399">                            [--pass <pass>] [--email <email>]</font></div>
<div><font color="#333399">                            [--enabled <true|false>]</font></div><div><font color="#333399">keystone user-create: error: argument --tenant-id: expected one argument</font></div><div><font color="#333399">usage: keystone user-role-add --user-id <user-id> --role-id <role-id></font></div>
<div><font color="#333399">                              [--tenant-id <tenant-id>]</font></div><div><font color="#333399">keystone user-role-add: error: argument --user-id/--user_id: expected one argument</font></div>
<div><font color="#333399">+-------------+---------------------------------------+</font></div><div><font color="#333399">|   Property  |                 Value                 |</font></div><div><font color="#333399">+-------------+---------------------------------------+</font></div>
<div><font color="#333399">|   adminurl  |  http://localhost:$(admin_port)s/v2.0 |</font></div><div><font color="#333399">|      id     |    626ff3533c7e452e8850a94e4d30309f   |</font></div><div><font color="#333399">| internalurl | http://localhost:$(public_port)s/v2.0 |</font></div>
<div><font color="#333399">|  publicurl  | http://localhost:$(public_port)s/v2.0 |</font></div><div><font color="#333399">|    region   |               RegionOne               |</font></div><div><font color="#333399">|  service_id |    1fe65f54d1714d369f7b8975de89d41d   |</font></div>
<div><font color="#333399">+-------------+---------------------------------------+</font></div><div><font color="#333399">+-------------+------------------------------------------------------+</font></div><div><font color="#333399">|   Property  |                        Value                         |</font></div>
<div><font color="#333399">+-------------+------------------------------------------------------+</font></div><div><font color="#333399">|   adminurl  | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s |</font></div><div>
<font color="#333399">|      id     |           64206e8f1b6148a0b63870c5fd333887           |</font></div><div><font color="#333399">| internalurl | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s |</font></div><div><font color="#333399">|  publicurl  | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s |</font></div>
<div><font color="#333399">|    region   |                      RegionOne                       |</font></div><div><font color="#333399">|  service_id |           1c4096b5d6874d9cb9a51757ea86bbb0           |</font></div><div>
<font color="#333399">+-------------+------------------------------------------------------+</font></div><div><font color="#333399">+-------------+----------------------------------------+</font></div><div><font color="#333399">|   Property  |                 Value                  |</font></div>
<div><font color="#333399">+-------------+----------------------------------------+</font></div><div><font color="#333399">|   adminurl  | <a href="http://localhost:8776/v1/$(tenant_id)s">http://localhost:8776/v1/$(tenant_id)s</a> |</font></div>
<div><font color="#333399">|      id     |    8d2f5fb8fad341a19a88f1f092906425    |</font></div><div><font color="#333399">| internalurl | <a href="http://localhost:8776/v1/$(tenant_id)s">http://localhost:8776/v1/$(tenant_id)s</a> |</font></div>
<div><font color="#333399">|  publicurl  | <a href="http://localhost:8776/v1/$(tenant_id)s">http://localhost:8776/v1/$(tenant_id)s</a> |</font></div><div><font color="#333399">|    region   |               RegionOne                |</font></div>
<div><font color="#333399">|  service_id |    c50cce67fb7f44f888558112381240bf    |</font></div><div><font color="#333399">+-------------+----------------------------------------+</font></div><div><font color="#333399">+-------------+----------------------------------+</font></div>
<div><font color="#333399">|   Property  |              Value               |</font></div><div><font color="#333399">+-------------+----------------------------------+</font></div><div><font color="#333399">|   adminurl  |      <a href="http://localhost:9292">http://localhost:9292</a>       |</font></div>
<div><font color="#333399">|      id     | 00e787b8451d4fab8ba60aac52595973 |</font></div><div><font color="#333399">| internalurl |      <a href="http://localhost:9292">http://localhost:9292</a>       |</font></div><div>
<font color="#333399">|  publicurl  |      <a href="http://localhost:9292">http://localhost:9292</a>       |</font></div><div><font color="#333399">|    region   |            RegionOne             |</font></div><div><font color="#333399">|  service_id | 6c7dc42db1e04179ac94224ae4bd3b8f |</font></div>
<div><font color="#333399">+-------------+----------------------------------+</font></div><div><font color="#333399">+-------------+--------------------------------------+</font></div><div><font color="#333399">|   Property  |                Value                 |</font></div>
<div><font color="#333399">+-------------+--------------------------------------+</font></div><div><font color="#333399">|   adminurl  | <a href="http://localhost:8773/services/Admin">http://localhost:8773/services/Admin</a> |</font></div>
<div><font color="#333399">|      id     |   03122808c74a464d88843590321b68b0   |</font></div><div><font color="#333399">| internalurl | <a href="http://localhost:8773/services/Cloud">http://localhost:8773/services/Cloud</a> |</font></div>
<div><font color="#333399">|  publicurl  | <a href="http://localhost:8773/services/Cloud">http://localhost:8773/services/Cloud</a> |</font></div><div><font color="#333399">|    region   |              RegionOne               |</font></div>
<div><font color="#333399">|  service_id |   16999e4dea034186ba8dbb5c1b468098   |</font></div><div><font color="#333399">+-------------+--------------------------------------+</font></div><div><font color="#333399">+-------------+---------------------------------------------+</font></div>
<div><font color="#333399">|   Property  |                    Value                    |</font></div><div><font color="#333399">+-------------+---------------------------------------------+</font></div><div><font color="#333399">|   adminurl  |           <a href="http://localhost:8888/v1">http://localhost:8888/v1</a>          |</font></div>
<div><font color="#333399">|      id     |       ed608665392c4f018d5c04b5a2e9eb61      |</font></div><div><font color="#333399">| internalurl | <a href="http://localhost:8888/v1/AUTH_$(tenant_id)s">http://localhost:8888/v1/AUTH_$(tenant_id)s</a> |</font></div>
<div><font color="#333399">|  publicurl  | <a href="http://localhost:8888/v1/AUTH_$(tenant_id)s">http://localhost:8888/v1/AUTH_$(tenant_id)s</a> |</font></div><div><font color="#333399">|    region   |                  RegionOne                  |</font></div>
<div><font color="#333399">|  service_id |       11d44fabe1d14c3d861a86456220d1ef      |</font></div><div><font color="#333399">+-------------+---------------------------------------------+</font></div><div><font color="#333399">'Client' object has no attribute 'auth_tenant_id'</font></div>
<div><font color="#333399"><br></font></div><div>Where am I going wrong ? I have changed the admin password to what I </div><div>set when following the previous documents.</div><div>Do I need to modify anything apart from this in the script ?</div>
<div><br></div><div>Thank you,</div>-- <br>Ashutosh Narayan<br><br><a href="http://ashutoshn.wordpress.com/" target="_blank">http://ashutoshn.wordpress.com/</a><br><br>