<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Futura Bk";
        panose-1:2 11 5 2 2 2 4 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi, I was attempting to start up a swift proxy on a test environment and it seems I’m running into a wall.  My object-nodes are working fine from what I can see but it seems that my proxy won’t start at all.  <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The error I get starting it up is this:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>root@proxy:~# swift-init proxy start<o:p></o:p></p><p class=MsoNormal>Starting proxy-server...(/etc/swift/proxy-server.conf)<o:p></o:p></p><p class=MsoNormal>Traceback (most recent call last):<o:p></o:p></p><p class=MsoNormal>  File "/usr/bin/swift-proxy-server", line 22, in <module><o:p></o:p></p><p class=MsoNormal>    run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)<o:p></o:p></p><p class=MsoNormal>  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 123, in run_wsgi<o:p></o:p></p><p class=MsoNormal>    loadapp('config:%s' % conf_file, global_conf={'log_name': log_name})<o:p></o:p></p><p class=MsoNormal>  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 204, in loadapp<o:p></o:p></p><p class=MsoNormal>    return loadobj(APP, uri, name=name, **kw)<o:p></o:p></p><p class=MsoNormal>  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 225, in loadobj<o:p></o:p></p><p class=MsoNormal>    return context.create()<o:p></o:p></p><p class=MsoNormal>  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 625, in create<o:p></o:p></p><p class=MsoNormal>    return self.object_type.invoke(self)<o:p></o:p></p><p class=MsoNormal>  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 168, in invoke<o:p></o:p></p><p class=MsoNormal>    app = filter(app)<o:p></o:p></p><p class=MsoNormal>  File "/usr/lib/pymodules/python2.7/swauth/middleware.py", line 1463, in auth_filter<o:p></o:p></p><p class=MsoNormal>    return Swauth(app, conf)<o:p></o:p></p><p class=MsoNormal>  File "/usr/lib/pymodules/python2.7/swauth/middleware.py", line 123, in __init__<o:p></o:p></p><p class=MsoNormal>    raise Exception('Invalid cluster format')<o:p></o:p></p><p class=MsoNormal>Exception: Invalid cluster format<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My <u>proxy-server.conf</u> is as follows:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>root@proxy:~# cat /etc/swift/proxy-server.conf <o:p></o:p></p><p class=MsoNormal>[DEFAULT]<o:p></o:p></p><p class=MsoNormal>bind_port = 443<o:p></o:p></p><p class=MsoNormal>cert_file = /etc/swift/cert.crt<o:p></o:p></p><p class=MsoNormal>key_file = /etc/swift/cert.key<o:p></o:p></p><p class=MsoNormal>workers = 8<o:p></o:p></p><p class=MsoNormal>user = swift<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[pipeline:main]<o:p></o:p></p><p class=MsoNormal>pipeline = healthcheck cache swauth proxy-server<o:p></o:p></p><p class=MsoNormal>#pipeline = healthcheck cache auth proxy-server<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[app:proxy-server]<o:p></o:p></p><p class=MsoNormal>use = egg:swift#proxy<o:p></o:p></p><p class=MsoNormal>allow_account_management = true<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[filter:swauth]<o:p></o:p></p><p class=MsoNormal>use = egg:swauth#swauth<o:p></o:p></p><p class=MsoNormal>set log_name = swauth<o:p></o:p></p><p class=MsoNormal>super_admin_key = swauthkey<o:p></o:p></p><p class=MsoNormal>default_swift_cluster = <a href="https://10.0.0.2:443/v1">https://10.0.0.2:443/v1</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>#[filter:auth]<o:p></o:p></p><p class=MsoNormal>#use = egg:swift#auth<o:p></o:p></p><p class=MsoNormal>#ssl = true <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[filter:healthcheck]<o:p></o:p></p><p class=MsoNormal>use = egg:swift#healthcheck<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[filter:cache]<o:p></o:p></p><p class=MsoNormal>use = egg:swift#memcache<o:p></o:p></p><p class=MsoNormal>memcache_servers = 10.7.11.9:11211<o:p></o:p></p><p class=MsoNormal>root@proxy:~#<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve done the googling on this, and it looks like most people have trouble with the auth part, it’s either “uth” or “sauth” or “wauth” when it should be “swauth.”  As you can see I’ve tried both (the commented line) but my goal is swauth so I’m asking with this configuration.<o:p></o:p></p><p class=MsoNormal>Any advice or direction would be greatly appreciated!  Thanks!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Futura Bk","sans-serif";color:black'>--<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Futura Bk","sans-serif";color:black'>Best Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Futura Bk","sans-serif";color:black'>JJ Asghar<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Futura Bk","sans-serif";color:black'>HP Cloud Services<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Futura Bk","sans-serif";color:black'>512-619-0722 - Cell<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Futura Bk","sans-serif";color:black'><img border=0 width=59 height=45 id="Picture_x0020_1" src="cid:image001.jpg@01CCC98E.C410DC00" alt="Description: signature_5"><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>