I used to debug via curl for separating the AUTH section(Keystone) and Data Section(Swift-proxy) .<div><br></div><div> #>curl -v -d {%json%}  http://keystone_ip:port/v2.0</div><div> #>curl -H "X-AUTH-TOKEN: %TOKEN%" http://swift_ip:port/v1/AUTH_%account%</div>
<div><br></div><div>And monitor the log on both keystone and swift. </div><div><br></div><div>Several Steps you can followed</div><div><br></div><div>1. Check keystone is working on proper port</div><div>2. Check Swift is working and on proper port</div>
<div>3. Check swift endpoint under Keystone's DB</div><div>4. Does the network accessible between keystone and Swift</div><div><br></div><div><br></div><div><br><div class="gmail_quote">2012/8/12 Miguel Alejandro González <span dir="ltr"><<a href="mailto:maggonzz@gmail.com" target="_blank">maggonzz@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br><br>I have 3 nodes with ubuntu 12.04 server and installed openstack with packages from the ubuntu repos<br><ul>
<li>controller (where keystone is installed)</li><li>compute</li><li>swift</li></ul>I'm trying to configure Swift with Keystone but I'm having some problems, here's my proxy-server.conf<br>

<br>[DEFAULT]<br>bind_port = 8080<br>user = swift<br>swift_dir = /etc/swift<br>[pipeline:main]<br># Order of execution of modules defined below<br>pipeline = catch_errors healthcheck cache authtoken keystone proxy-server<br>


[app:proxy-server]<br>use = egg:swift#proxy<br>allow_account_management = true<br>account_autocreate = true<br>set log_name = swift-proxy<br>set log_facility = LOG_LOCAL0<br>set log_level = INFO<br>et access_log_name = swift-proxy<br>


set access_log_facility = SYSLOG<br>set access_log_level = INFO<br>set log_headers = True<br>account_autocreate = True<br>[filter:healthcheck]<br>use = egg:swift#healthcheck<br>[filter:catch_errors]<br>use = egg:swift#catch_errors<br>


[filter:cache]<br>use = egg:swift#memcache<br>set log_name = cache<br>[filter:authtoken]<br>paste.filter_factory = keystone.middleware.auth_token:filter_factory<br>auth_protocol = http<br>auth_host = 10.17.12.163<br>auth_port = 35357<br>


auth_token = admin<br>service_protocol = http<br>service_host = 10.17.12.163<br>service_port = 5000<br>admin_token = admin<br>admin_tenant_name = admin<br>admin_user = admin<br>admin_password = admin<br>delay_auth_decision = 0<br>


[filter:keystone]<br>paste.filter_factory = keystone.middleware.swift_auth:filter_factory<br>operator_roles = admin, swiftoperator<br>is_admin = true<br><br>On Horizon I get a Django error page and says [Errno 111] ECONNREFUSED<br>


<br>From the Swift server I try this command:<br><br>swift -v -V 2.0 -A <a href="http://10.17.12.163:5000/v2.0/" target="_blank">http://10.17.12.163:5000/v2.0/</a> -U admin:admin -K admin stat<br><br>And I also get [Errno 111] ECONNREFUSED<br>


<br><br>Is there any way to debug this??? Is there any conf or packages that I'm missing for this to work on a multi-node deployment? Can you help me?<br><br>Regards!<br><br>
<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>+Hugo Kuo+</div><div><a href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com<br></a></div><div><a href="mailto:tonytkdk@gmail.com" target="_blank">+</a>886 935004793</div>
<br>
</div>