<div dir="ltr">What's your purpose for "<span style="font-family:arial,sans-serif;font-size:13px">curl -k -v -H 'X-Storage-User: service:swift' -H 'X-Storage-Pass: 12345678' -X 'POST' </span><a href="http://localhost:5000/v2.0/auth" target="_blank" style="font-family:arial,sans-serif;font-size:13px">http://localhost:5000/v2.0/auth</a>"<div>
<br></div><div style>Do you just want get token ofr service:swift? (If yes, -XGET is ok)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 3:14 PM, Tomáš Šoltys <span dir="ltr"><<a href="mailto:tomas.soltys@gmail.com" target="_blank">tomas.soltys@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">Forgot to attach /etc/swift/proxy-server.conf<br><br>[DEFAULT]<br>bind_port = 8888<br>user = swift<br><br>
[pipeline:main]<br>pipeline = healthcheck cache authtoken keystone proxy-server<br><br>[app:proxy-server]<br>
use = egg:swift#proxy<br>allow_account_management = true<br>account_autocreate = true<br><br>[filter:keystone]<br>paste.filter_factory = keystone.middleware.swift_auth:filter_factory<br>operator_roles = Member,admin, swiftoperator<br>

<br>[filter:authtoken]<br>paste.filter_factory = keystone.middleware.auth_token:filter_factory<br># Delaying the auth decision is required to support token-less<br># usage for anonymous referrers ('.r:*').<br>delay_auth_decision = 10<br>

service_port = 5000<br>service_host = 127.0.0.1<br>auth_port = 35357<br>auth_host = 127.0.0.1<br>auth_protocol = http<br>auth_uri = <a href="http://127.0.0.1:5000/" target="_blank">http://127.0.0.1:5000/</a><br>auth_token = 12345678<br>
admin_token = 12345678<br>
admin_tenant_name = service<br>admin_user = swift<br>admin_password = 12345678<br><br>[filter:cache]<br>use = egg:swift#memcache<br>set log_name = cache<br><br>[filter:catch_errors]<br>use = egg:swift#catch_errors<br><br>

[filter:healthcheck]<br>use = egg:swift#healthcheck<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">2013/3/15 Tomáš Šoltys <span dir="ltr"><<a href="mailto:tomas.soltys@gmail.com" target="_blank">tomas.soltys@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I am following the OpenStack WalkThrough instructions and I am failing to verify my setup as described here:<br>

<a href="http://docs.openstack.org/folsom/openstack-compute/install/yum/content/verify-swift-installation.html" target="_blank">http://docs.openstack.org/folsom/openstack-compute/install/yum/content/verify-swift-installation.html</a><br>


<br></div>In this forum I have found that the instructions are not exactly correct so I tried what was suggested but without any success.<br><br></div>Following command always return '404 Not Found'<br><br>curl -k -v -H 'X-Storage-User: service:swift' -H 'X-Storage-Pass: 12345678' -X 'POST' <a href="http://localhost:5000/v2.0/auth" target="_blank">http://localhost:5000/v2.0/auth</a><br>


<br></div>But when for following it works:<br><br>curl -k -v -X 'POST' <a href="http://localhost:5000/v2.0/tokens" target="_blank">http://localhost:5000/v2.0/tokens</a> -d '{"auth":{"passwordCredentials":{"username":"swift", "password":"12345678"}, "tenantName":"service"}}' -H 'Content-type: application/json' -H 'Accept: application/xml'<br>


<br></div>What am I missing here?<br><div><div><div><div><div><br><div>Thanks<br clear="all"></div><div><div><br>Tomáš Šoltys<br><br><a href="mailto:tomas.soltys@gmail.com" target="_blank">tomas.soltys@gmail.com</a><br><a href="http://www.range-software.com" target="_blank">http://www.range-software.com</a><br>


<a href="tel:%28%2B420%29%20776-843-663" value="+420776843663" target="_blank">(+420) 776-843-663</a>
</div></div></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><div class="im">Tomáš Šoltys<br><a href="mailto:tomas.soltys@gmail.com" target="_blank">tomas.soltys@gmail.com</a><br><a href="http://www.range-software.com" target="_blank">http://www.range-software.com</a><br>

<a href="tel:%28%2B420%29%20776-843-663" value="+420776843663" target="_blank">(+420) 776-843-663</a>
</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">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><br clear="all"><div><br></div>-- <br><div dir="ltr"><font color="#444444">Gareth</font><div><i><font color="#444444">Cloud Computing, Openstack, Fitness, Basketball<br></font></i></div><div><i><font color="#666666">Novice Openstack contributer</font></i></div>
<div><i><font color="#999999">My promise: if you find any spelling or grammar mistake in my email from Mar 1 2013, notice me </font></i></div><div><i><font color="#999999">and I'll donate 1$ or 1¥ to open organization specified by you.</font></i></div>
</div>
</div>