<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/">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"><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>-- <br>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>
(+420) 776-843-663
</div>