Yes Dolph, I learnt that. I have uninstalled the packages and<div>redoing things from beginning as few steps seems to fail because</div><div>of misconfiguration.<br><br><div class="gmail_quote">On Fri, Mar 1, 2013 at 7:23 PM, Dolph Mathews <span dir="ltr"><<a href="mailto:dolph.mathews@gmail.com" target="_blank">dolph.mathews@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The 409 Conflicts are indicating that what the script is trying to create already exists (role names must be unique for example). If you've run the same commands manually before, they'll fail on a subsequent attempt (reproducible by simply running the script twice).</div>
<span class="HOEnZb"><font color="#888888">
</font></span><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><br></div>-Dolph</div></font></span><div><div class="h5">
<br><br><div class="gmail_quote">On Fri, Mar 1, 2013 at 1:44 AM, Ashutosh Narayan <span dir="ltr"><<a href="mailto:aashutoshnarayan@gmail.com" target="_blank">aashutoshnarayan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Hi Swapnil, Atul</div><div><br></div>Reading document helps. I have done these steps manually before and<div>was again going ahead to run the script for the same. That's why I got</div><div>so many error messages. Looks like problem is solved. I get the</div>


<div>desired output.<div><div><br><br><div class="gmail_quote">On Fri, Mar 1, 2013 at 12:39 PM, Swapnil Kulkarni <span dir="ltr"><<a href="mailto:swapnilkulkarni2608@gmail.com" target="_blank">swapnilkulkarni2608@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>I agree with Atul, if you go through documentation you will find where to change the passwords required by keystone commands.</p>



<p>Cheers :)</p>
<div class="gmail_quote"><div><div>On Mar 1, 2013 12:22 PM, "Atul Jha" <<a href="mailto:Atul.Jha@csscorp.com" target="_blank">Atul.Jha@csscorp.com</a>> wrote:<br type="attribution"></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>





<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma"><font color="#000000" face="Tahoma">Ashutosh,<br>
<br>
<font>my suggestion would be go through <font>the documentation try to
<font><font>understand</font> what each keystone command is doing. Just running a script and mailing to list for everything
<font>is not a good idea.<br>
<br>
<font>Sp<font>en<font>d sometime with <font>document</font>, understand key concepts. just a su<font>ggestion.<br>
<br>
</font></font></font></font></font></font></font></font></font>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> openstack-bounces+atul.jha=<a href="mailto:csscorp.com@lists.launchpad.net" target="_blank">csscorp.com@lists.launchpad.net</a> [openstack-bounces+atul.jha=<a href="mailto:csscorp.com@lists.launchpad.net" target="_blank">csscorp.com@lists.launchpad.net</a>] on behalf of Ashutosh Narayan [<a href="mailto:aashutoshnarayan@gmail.com" target="_blank">aashutoshnarayan@gmail.com</a>]<br>




<b>Sent:</b> Friday, March 01, 2013 12:14 PM<br>
<b>To:</b> OpenStack<br>
<b>Subject:</b> [Openstack] Error while executing sample_data.sh script<br>
</font><br>
</div>
<div></div>
<div>
<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" target="_blank">
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" target="_blank">
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" target="_blank">
http://localhost:8776/v1/$(tenant_id)s</a> |</font></div>
<div><font color="#333399">|  publicurl  | <a href="http://localhost:8776/v1/$(tenant_id)s" target="_blank">
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" target="_blank">http://localhost:9292</a>       |</font></div>
<div><font color="#333399">|      id     | 00e787b8451d4fab8ba60aac52595973 |</font></div>
<div><font color="#333399">| internalurl |      <a href="http://localhost:9292" target="_blank">http://localhost:9292</a>       |</font></div>
<div><font color="#333399">|  publicurl  |      <a href="http://localhost:9292" target="_blank">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" target="_blank">
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" target="_blank">
http://localhost:8773/services/Cloud</a> |</font></div>
<div><font color="#333399">|  publicurl  | <a href="http://localhost:8773/services/Cloud" target="_blank">
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" target="_blank">
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" target="_blank">
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" target="_blank">
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>
</div>
</div>
</div>
<a href="http://www.csscorp.com/common/email-disclaimer.php" target="_blank">http://www.csscorp.com/common/email-disclaimer.php</a>
</div>

<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Ashutosh Narayan<br><br><a href="http://ashutoshn.wordpress.com/" target="_blank">http://ashutoshn.wordpress.com/</a><br><br>
</div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Ashutosh Narayan<br><br><a href="http://ashutoshn.wordpress.com/" target="_blank">http://ashutoshn.wordpress.com/</a><br><br>
</div>