<html>
<head>
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi, thanks for answering, i believe it
work till i stuck at this error<br>
ImportError: No module named swift_auth<br>
<br>
it's on <a class="moz-txt-link-freetext" href="filter:keystone">filter:keystone</a> part<br>
<tt><font size="2">paste.filter_factory =
keystone.middleware.swift_auth:filter_factory<br>
<br>
how to solved this issue?<br>
</font></tt>On 9/23/2013 4:53 PM, Hua ZZ Zhang wrote:<br>
</div>
<blockquote
cite="mid:OF24D2A17A.C04582BF-ON48257BEF.0035F06A-48257BEF.00368757@cn.ibm.com"
type="cite">
<p><tt><font size="2">The </font></tt><tt><font size="2"><i>authtoken
</i></font></tt><tt><font size="2">and </font></tt><tt><font
size="2"><i>keystone </i></font></tt><tt><font size="2">middleware
should be put ahead of</font></tt><tt><font size="2"><i> proxy-server</i></font></tt><tt><font
size="2">.</font></tt><br>
<tt><font size="2">you need to change the main pipeline as
below:</font></tt><br>
<br>
<tt><font size="2"><i>[pipeline:main]<br>
pipeline = catch_errors healthcheck proxy-logging cache
authtoken keystone <br>
proxy-logging proxy-server</i></font></tt><br>
<font face="sans-serif" size="2"><br>
</font><font face="serif" size="1"><b>Best Regards, </b></font><font
face="serif" size="1"><br>
<br>
</font></p>
<hr align="left" size="2" width="100%">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td valign="middle" width="298">
<ul style="padding-left: 0pt">
<font face="serif" size="1"><b>Edward Zhang(́Ȼ)</b></font>
</ul>
</td>
<td valign="middle" width="298"><img
src="cid:part1.04090701.02020900@andalabs.com" alt=""
border="0" height="1" width="1"></td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td valign="middle" width="298"><img
src="cid:part1.04090701.02020900@andalabs.com" alt=""
border="0" height="1" width="1"></td>
<td valign="middle" width="298"><img
src="cid:part1.04090701.02020900@andalabs.com" alt=""
border="0" height="1" width="1"></td>
</tr>
<tr valign="top">
<td valign="middle" width="298">
<ul style="padding-left: 0pt">
<img src="cid:part4.04010408.02070900@andalabs.com"
height="100" width="100">
</ul>
</td>
<td valign="middle" width="298"><img
src="cid:part1.04090701.02020900@andalabs.com" alt=""
border="0" height="1" width="1"></td>
</tr>
<tr valign="top">
<td valign="middle" width="298">
<ul style="padding-left: 0pt">
<font face="serif" size="1"><br>
</font>
</ul>
</td>
<td valign="middle" width="298"><img
src="cid:part1.04090701.02020900@andalabs.com" alt=""
border="0" height="1" width="1"></td>
</tr>
</tbody>
</table>
<br>
<img src="cid:part7.06010403.06060002@andalabs.com" alt="Inactive
hide details for Mahardhika Gilang ---09/23/2013 05:14:26
PM---Mahardhika Gilang <mahardika.gilang@andalabs.com>"
border="0" height="16" width="16"><font color="#424282"
face="sans-serif" size="2">Mahardhika Gilang ---09/23/2013
05:14:26 PM---Mahardhika Gilang
<a class="moz-txt-link-rfc2396E" href="mailto:mahardika.gilang@andalabs.com"><mahardika.gilang@andalabs.com></a></font><br>
<br>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="top">
<td
style="background-image:url(cid:4__=C7BBF17CDFA676FA8f9e8a93df938@cn.ibm.com);
background-repeat: no-repeat; " width="40%">
<ul style="padding-left: 72pt">
<font face="sans-serif" size="1"><b>Mahardhika Gilang
<a class="moz-txt-link-rfc2396E" href="mailto:mahardika.gilang@andalabs.com"><mahardika.gilang@andalabs.com></a></b></font><font
face="sans-serif" size="1"> </font>
<p><font face="sans-serif" size="1">09/23/2013 05:01 PM</font></p>
</ul>
</td>
<td width="60%">
<table cellpadding="0" cellspacing="0" border="0"
width="100%">
<tbody>
<tr valign="top">
<td width="1%"><img
src="cid:part1.04090701.02020900@andalabs.com"
alt="" border="0" height="1" width="58"><br>
<div align="right"><font face="sans-serif"
size="1">To</font></div>
</td>
<td width="100%"><img
src="cid:part1.04090701.02020900@andalabs.com"
alt="" border="0" height="1" width="1"><br>
<ul style="padding-left: 7pt">
<font face="sans-serif" size="1">Openstack Milis
<a class="moz-txt-link-rfc2396E" href="mailto:openstack@lists.openstack.org"><openstack@lists.openstack.org></a>, </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="1%"><img
src="cid:part1.04090701.02020900@andalabs.com"
alt="" border="0" height="1" width="58"><br>
<div align="right"><font face="sans-serif"
size="1">cc</font></div>
</td>
<td width="100%"><img
src="cid:part1.04090701.02020900@andalabs.com"
alt="" border="0" height="1" width="1"><br>
</td>
</tr>
<tr valign="top">
<td width="1%"><img
src="cid:part1.04090701.02020900@andalabs.com"
alt="" border="0" height="1" width="58"><br>
<div align="right"><font face="sans-serif"
size="1">Subject</font></div>
</td>
<td width="100%"><img
src="cid:part1.04090701.02020900@andalabs.com"
alt="" border="0" height="1" width="1"><br>
<ul style="padding-left: 7pt">
<font face="sans-serif" size="1">[Openstack]
Swift not detect Keystone and Authtoken</font>
</ul>
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="58"><img
src="cid:part1.04090701.02020900@andalabs.com"
alt="" border="0" height="1" width="1"></td>
<td width="336"><img
src="cid:part1.04090701.02020900@andalabs.com"
alt="" border="0" height="1" width="1"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br>
<tt><font size="2">Hi all<br>
i've got an issue when i want to used keystone for
authentication on <br>
swift proxy node.<br>
i got this when run #swift-init proxy restart<br>
LookupError: No section 'authtoken'<br>
LookupError: No section 'keystone'<br>
<br>
here's my proxy-server.conf<br>
[DEFAULT]<br>
cert_file = /etc/swift/cert.crt<br>
key_file = /etc/swift/cert.key<br>
bind_port = 8080<br>
#bind_port = 443<br>
workers = 8<br>
user = swift<br>
swift_dir = /etc/swift<br>
<br>
[pipeline:main]<br>
pipeline = catch_errors healthcheck proxy-logging cache
tempauth <br>
proxy-logging proxy-server keystone authtoken<br>
<br>
[<a class="moz-txt-link-freetext" href="app:proxy-server">app:proxy-server</a>]<br>
use = egg:swift#proxy<br>
allow_account_management = true<br>
account_autocreate = true<br>
<br>
[<a class="moz-txt-link-freetext" href="filter:authtoken">filter:authtoken</a>]<br>
#use = egg:swift:authtoken<br>
paste.filter_factory =
keystone.middleware.auth_token:filter_factory<br>
signing_dir = /var/cache/swift/<br>
auth_uri = </font></tt><tt><font size="2"><a
moz-do-not-send="true" href="http://10.10.10.40:5000/">http://10.10.10.40:5000/</a></font></tt><tt><font
size="2"><br>
auth_host = 10.10.10.40<br>
#auth_uri = </font></tt><tt><font size="2"><a
moz-do-not-send="true" href="http://192.168.7.85:5000/">http://192.168.7.85:5000/</a></font></tt><tt><font
size="2"><br>
#auth_host = 192.168.7.85<br>
auth_port = 35357<br>
auth_protocol = https<br>
admin_tenant_name = service<br>
admin_user = swift<br>
admin_password = admin<br>
#cache = swift.cache<br>
auth_token = admin<br>
<br>
[<a class="moz-txt-link-freetext" href="filter:catch_errors">filter:catch_errors</a>]<br>
use = egg:swift#catch_errors<br>
<br>
[<a class="moz-txt-link-freetext" href="filter:proxy-logging">filter:proxy-logging</a>]<br>
use = egg:swift#proxy_logging<br>
<br>
#[<a class="moz-txt-link-freetext" href="filter:tempauth">filter:tempauth</a>]<br>
#use = egg:swift#tempauth<br>
#user_system_root = testpass .admin </font></tt><tt><font
size="2"><a moz-do-not-send="true"
href="https://10.10.10.40:8080/v1/AUTH_system">https://10.10.10.40:8080/v1/AUTH_system</a></font></tt><tt><font
size="2"><br>
#user_test_tester = testing .admin </font></tt><tt><font
size="2"><a moz-do-not-send="true"
href="https://10.10.10.40:8080/v1/AUTH_test">https://10.10.10.40:8080/v1/AUTH_test</a></font></tt><tt><font
size="2"><br>
<br>
[<a class="moz-txt-link-freetext" href="filter:healthcheck">filter:healthcheck</a>]<br>
use = egg:swift#healthcheck<br>
<br>
[<a class="moz-txt-link-freetext" href="filter:cache">filter:cache</a>]<br>
use = egg:swift#memcache<br>
memcache_servers = 10.10.10.40:11211<br>
<br>
[<a class="moz-txt-link-freetext" href="filter:keystone">filter:keystone</a>]<br>
#use = egg:swift#keystone<br>
paste.filter_factory =
keystone.middleware.swift_auth:filter_factory<br>
operator_roles = Member,admin<br>
is_admin = true<br>
<br>
<br>
Please help<br>
thanks<br>
<br>
-- <br>
Regards,<br>
Mahardhika Gilang<br>
<br>
<br>
<br>
_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a
moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font
size="2"><br>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : </font></tt><tt><font size="2"><a
moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font
size="2"><br>
<br>
</font></tt><br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Regards,<br>
Mahardhika Gilang<br>
<br>
<strong>PT. Andalabs Technology
</strong><br>
Gedung Gravira<br>
Jl. Cideng Barat no. 54<br>
Jakarta Pusat 10150<br>
<br>
HP : 0852 139 55861<br>
Email : <a class="moz-txt-link-abbreviated" href="mailto:mahardika.gilang@andalabs.com">mahardika.gilang@andalabs.com</a> </div>
</body>
</html>