<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Venkatesh,<br>
<br>
Your setting seems wrong for authtoken middleware in
proxy-server.conf.<br>
The log shows proxy-server was trying to look up "auth_token" due
to your pipeline setting (probably there is "auth_token" string in
your pipeline) but the section name of the middleware setting
would be something like "authtoken" (no undersocre) which perhaps
comes from recommendation example in master repository[1].<br>
<br>
To use the trick for making filter pipeline, you must set up with
same name both in "pipeline" and "section name" so I wonder if you
could review your pipeline and section, again.<br>
<br>
1:
<a class="moz-txt-link-freetext" href="https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L284-L290">https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L284-L290</a><br>
<br>
Best<br>
Kota<br>
<br>
(2015/09/15 7:21), venkatesh kotipalli wrote:<br>
</div>
<blockquote
cite="mid:CABCgx9dZVZ6p6vGyzinJgT_pdpyuByXxpXUkCgCcUW6ssj1r8A@mail.gmail.com"
type="cite">
<pre wrap="">Hi Guys,
Successfully configured swift. But when start the swift-proxy server. It
through the error is :
openstack-swift-proxy.service - OpenStack Object Storage (swift) - Proxy
Server
Loaded: loaded (/usr/lib/systemd/system/openstack-swift-proxy.service;
enabled)
Active: failed (Result: exit-code) since Tue 2015-09-15 03:39:40 IST; 2s
ago
Process: 27570 ExecStart=/usr/bin/swift-proxy-server
/etc/swift/proxy-server.conf (code=exited, status=1/FAILURE)
Main PID: 27570 (code=exited, status=1/FAILURE)
Sep 15 03:39:40 controller swift-proxy-server[27570]: for name in
pipeline[:-1]]
Sep 15 03:39:40 controller swift-proxy-server[27570]: File
"/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 61, in
get_context
Sep 15 03:39:40 controller swift-proxy-server[27570]: object_type,
name=name, global_conf=global_conf)
Sep 15 03:39:40 controller swift-proxy-server[27570]: File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 408, in
get_context
Sep 15 03:39:40 controller swift-proxy-server[27570]: object_type,
name=name)
Sep 15 03:39:40 controller swift-proxy-server[27570]: File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 587, in
find_config_section
Sep 15 03:39:40 controller swift-proxy-server[27570]: self.filename))
Sep 15 03:39:40 controller swift-proxy-server[27570]: LookupError: No
section 'authtoken' (prefixed by 'filter') found in config
/etc/swift/proxy-server.conf
Sep 15 03:39:40 controller systemd[1]: openstack-swift-proxy.service: main
process exited, code=exited, status=1/FAILURE
Sep 15 03:39:40 controller systemd[1]: Unit openstack-swift-proxy.service
entered failed state.
[root@controller ~(keystone_admin)]#vi /etc/swift/proxy-server.conf
Please guys help me.
Regards,
Venkatesh.k
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>