<html>
<head>
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I have run without https and it turn
this (even i run on keystone server)<br>
[Errno -5] No address associated with hostname<br>
<br>
<br>
On 9/26/2013 2:09 PM, Hua ZZ Zhang wrote:<br>
</div>
<blockquote
cite="mid:OF9F81C8AA.3DE726DC-ON48257BF2.00273B58-48257BF2.00277AA8@cn.ibm.com"
type="cite">
<p><font face="sans-serif" size="2">you can disable https and test
if http protocol works or not. </font><br>
<font face="sans-serif" size="2">if it works, it might be the
configuration problem of ssl.</font><br>
<font face="sans-serif" size="2"><br>
- Edward Zhang</font><br>
<br>
<img src="cid:part1.05000702.01000302@andalabs.com"
alt="Inactive hide details for Mahardhika Gilang ---2013-09-26
下午 02:17:18---Mahardhika Gilang
<mahardika.gilang@andalabs.com>" border="0" height="16"
width="16"><font color="#424282" face="sans-serif" size="2">Mahardhika
Gilang ---2013-09-26 下午 02:17:18---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:2__=C7BBF161DFB4BDC88f9e8a93df938@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">2013-09-26 下午
02:18</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:part2.08000607.03030604@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:part2.08000607.03030604@andalabs.com"
alt="" border="0" height="1" width="1"><br>
<ul style="padding-left: 7pt">
<font face="sans-serif" size="1">Hua ZZ
Zhang/China/IBM@IBMCN, </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="1%"><img
src="cid:part2.08000607.03030604@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:part2.08000607.03030604@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:part2.08000607.03030604@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:part2.08000607.03030604@andalabs.com"
alt="" border="0" height="1" width="1"><br>
<ul style="padding-left: 7pt">
<font face="sans-serif" size="1">Re:
[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:part2.08000607.03030604@andalabs.com"
alt="" border="0" height="1" width="1"></td>
<td width="336"><img
src="cid:part2.08000607.03030604@andalabs.com"
alt="" border="0" height="1" width="1"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br>
<font face="sans-serif" size="3">When i put https on it, error
come up<br>
Authorization Failure. Authorization Failed: [Errno 1]
_ssl.c:504: error:140770FC:SSL
routines:SSL23_GET_SERVER_HELLO:unknown protocol<br>
<br>
<br>
On 9/24/2013 10:09 PM, Hua ZZ Zhang wrote:</font>
</p>
<ul style="padding-left: 36pt">
<br>
<font face="sans-serif" size="2">try https since you have
enabled it in proxy configuration.<br>
swift -V 2 -A </font><a moz-do-not-send="true"
href="http://localhost:5000/v2.0"><font color="#0000FF"
face="sans-serif" size="2"><u>https://localhost:5000/v2.0</u></font></a><font
face="sans-serif" size="2"> -U admin:admin -K ADMIN stat</font><font
face="sans-serif" size="3"><br>
or:</font><font face="sans-serif" size="2"><br>
swift --os-auth-url </font><a moz-do-not-send="true"
href="https://localhost:5000/v2.0"><font color="#0000FF"
face="sans-serif" size="2"><u>https://localhost:5000/v2.0</u></font></a><font
face="sans-serif" size="2"> --os-tenant-name admin
--os-username admin --os-password ADMIN stat</font><font
face="sans-serif" size="3"><br>
</font><font face="sans-serif" size="2"><br>
-Zhang Hua(Edward)</font><font face="sans-serif" size="3"><br>
<br>
<br>
</font><img src="cid:part1.05000702.01000302@andalabs.com"
alt="Inactive hide details for Mahardhika Gilang ---2013-09-24
下午 06:12:13---Mahardhika Gilang
<mahardika.gilang@andalabs.com>" height="16" width="16"><font
color="#424282" face="sans-serif" size="2">Mahardhika Gilang
---2013-09-24 下午 06:12:13---Mahardhika Gilang </font><a
moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"><font
color="#0000FF" face="sans-serif" size="2"><u><mahardika.gilang@andalabs.com></u></font></a><font
face="sans-serif" size="3"><br>
</font>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="top">
<td width="45%">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1"><b>Mahardhika Gilang
</b></font><a moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"><font
color="#0000FF" face="sans-serif" size="1"><b><u><mahardika.gilang@andalabs.com></u></b></font></a><font
face="sans-serif" size="1"> </font><font
face="sans-serif" size="3"> </font>
<p><font face="sans-serif" size="1">2013-09-24 下午
06:13</font></p>
</ul>
</td>
<td width="55%">
<table cellpadding="0" cellspacing="0" border="0"
width="100%">
<tbody>
<tr valign="top">
<td width="14%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">To</font></div>
</td>
<td width="86%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Hua ZZ
Zhang/China/IBM@IBMCN, </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="14%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">cc</font></div>
</td>
<td width="86%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Openstack
Milis </font><a moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org"><font
color="#0000FF" face="sans-serif" size="1"><u><openstack@lists.openstack.org></u></font></a><font
face="sans-serif" size="3"> </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="14%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">Subject</font></div>
</td>
<td width="86%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Re:
[Openstack] Swift not detect Keystone and
Authtoken</font><font face="sans-serif"
size="3"> </font>
</ul>
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="58"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
<td width="336"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<font face="sans-serif" size="3"><br>
Hi, thanks it work, but i fail when run this command<br>
$ swift -V 2 -A </font><a moz-do-not-send="true"
href="http://localhost:5000/v2.0"><font color="#0000FF"
face="sans-serif" size="3"><u>http://localhost:5000/v2.0</u></font></a><font
face="sans-serif" size="3"> -U admin:admin -K ADMIN stat<br>
<br>
[Errno -5] No address associated with hostname<br>
<br>
On 9/24/2013 4:58 PM, Hua ZZ Zhang wrote: </font>
<ul style="padding-left: 36pt">
<br>
<font face="sans-serif" size="2"><br>
try the sample here:</font><font color="#0000FF"
face="sans-serif" size="3"><u><br>
</u></font><a moz-do-not-send="true"
href="http://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-swift-to-use-keystone.html"><font
color="#0000FF" face="sans-serif" size="2"><u>http://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-swift-to-use-keystone.html</u></font></a><font
face="serif" size="1"><b><br>
<br>
Best Regards, </b></font><font face="sans-serif" size="3"><br>
</font>
<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: 36pt">
<font face="serif" size="1"><b>Edward Zhang(张华)</b></font><font
face="serif" size="1"><br>
Advisory Software Engineer<br>
Software Standards & Open Source Software<br>
Emerging Technology Institute(ETI)<br>
IBM China Software Development Lab<br>
e-mail: </font><a moz-do-not-send="true"
href="mailto:zhuadl@cn.ibm.com"><font
color="#0000FF" face="serif" size="1"><u>zhuadl@cn.ibm.com</u></font></a><font
face="serif" size="1"><br>
Notes ID: Hua ZZ Zhang/China/IBM<br>
Tel: 86-10-82450483</font><font face="sans-serif"
size="3"> </font>
</ul>
</td>
<td valign="middle" width="298">
<ul style="padding-left: 36pt">
<font face="serif" size="1">地址:北京市海淀区东北旺西路8号
中关村软件园28号楼 环宇大厦3层 邮编:100193<br>
Address: 3F Ring, Building 28 Zhongguancun
Software Park, 8 Dongbeiwang West Road, Haidian
District, Beijing, P.R.C.100193</font><font
face="sans-serif" size="3"> </font>
</ul>
</td>
</tr>
<tr valign="top">
<td valign="middle" width="298">
<ul style="padding-left: 36pt">
<img src="cid:part27.05010508.05070204@andalabs.com"
height="100" width="100">
</ul>
</td>
<td valign="middle" width="298"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
<tr valign="top">
<td valign="middle" width="298"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
<td valign="middle" width="298"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
</tbody>
</table>
<font face="sans-serif" size="3"><br>
</font><img src="cid:part1.05000702.01000302@andalabs.com"
alt="Inactive hide details for Mahardhika Gilang
---09/24/2013 04:33:12 PM---Mahardhika Gilang
<mahardika.gilang@andalabs.com>" height="16"
width="16"><font color="#424282" face="sans-serif" size="2">Mahardhika
Gilang ---09/24/2013 04:33:12 PM---Mahardhika Gilang </font><a
moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"><font
color="#0000FF" face="sans-serif" size="2"><u><mahardika.gilang@andalabs.com></u></font></a>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="top">
<td width="45%">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1"><b>Mahardhika
Gilang </b></font><a moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"><font
color="#0000FF" face="sans-serif" size="1"><b><u><mahardika.gilang@andalabs.com></u></b></font></a><font
face="sans-serif" size="1"> </font><font
face="sans-serif" size="3"> </font>
<p><font face="sans-serif" size="1">09/24/2013 04:34
PM</font></p>
</ul>
</td>
<td width="55%">
<table cellpadding="0" cellspacing="0" border="0"
width="100%">
<tbody>
<tr valign="top">
<td width="13%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">To</font></div>
</td>
<td width="87%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Hua ZZ
Zhang/China/IBM@IBMCN, </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="13%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">cc</font></div>
</td>
<td width="87%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Openstack
Milis </font><a moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org"><font
color="#0000FF" face="sans-serif"
size="1"><u><openstack@lists.openstack.org></u></font></a><font
face="sans-serif" size="3"> </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="13%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">Subject</font></div>
</td>
<td width="87%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Re:
[Openstack] Swift not detect Keystone and
Authtoken</font><font face="sans-serif"
size="3"> </font>
</ul>
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="58"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
<td width="336"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<font face="sans-serif" size="3"><br>
I got this error<br>
LookupError: No loader given in section '</font><a
moz-do-not-send="true" href="filter:keystoneauth"><font
color="#0000FF" face="sans-serif" size="3"><u>filter:keystoneauth</u></font></a><font
face="sans-serif" size="3">'<br>
<br>
On 9/24/2013 2:17 PM, Hua ZZ Zhang wrote: </font>
<ul style="padding-left: 36pt">
<tt><font size="2"><br>
I don't get what does it mean for "</font></tt><font
face="sans-serif" size="2">this syntax give same result</font><tt><font
size="2">"?<br>
what is your version of swift and keystone?<br>
Here's my suggestion for 3 sections in the proxy server
paste file:</font></tt><font face="sans-serif" size="3">
</font>
<ul style="padding-left: 36pt">
<tt><font size="2"><br>
[pipeline:main]<br>
pipeline = catch_errors healthcheck proxy-logging
cache </font></tt><tt><font size="2"><b>authtoken</b></font></tt><tt><font
size="2"> </font></tt><tt><font size="2"><b>keystoneauth
</b></font></tt><tt><font size="2">proxy-logging
proxy-server <br>
<br>
[</font></tt><a moz-do-not-send="true"
href="filter:authtoken"><tt><font color="#0000FF"
size="2"><u>filter:authtoken</u></font></tt></a><tt><font
size="2">]<br>
paste.filter_factory = </font></tt><tt><font size="2"><b>keystoneclient</b></font></tt><tt><font
size="2">.middleware.auth_token:filter_factory<br>
signing_dir = /var/cache/swift/<br>
auth_uri = </font></tt><a moz-do-not-send="true"
href="http://10.10.10.40:5000/"><tt><font
color="#0000FF" size="2"><u>http://10.10.10.40:5000/</u></font></tt></a><tt><font
size="2"><br>
auth_host = 10.10.10.40<br>
#auth_uri = </font></tt><a moz-do-not-send="true"
href="http://192.168.7.85:5000/"><tt><font
color="#0000FF" size="2"><u>http://192.168.7.85:5000/</u></font></tt></a><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>
[</font></tt><a moz-do-not-send="true"
href="filter:keystone"><tt><font color="#0000FF"
size="2"><b><u>filter:keystoneauth</u></b></font></tt></a><tt><font
size="2">]<br>
#use = egg:swift#keystoneauth<br>
operator_roles = Member,admin<br>
is_admin = true</font></tt><font face="sans-serif"
size="3"> </font>
</ul>
<font color="#0000FF" face="sans-serif" size="3"><u><br>
</u></font><a moz-do-not-send="true"
href="http://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-swift-to-use-keystone.html"><font
color="#0000FF" face="sans-serif" size="2"><u>http://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-swift-to-use-keystone.html</u></font></a><font
face="sans-serif" size="3"><br>
<br>
<br>
</font><img src="cid:part1.05000702.01000302@andalabs.com"
alt="Inactive hide details for Mahardhika Gilang
---2013-09-24 上午 11:58:24---Mahardhika Gilang
<mahardika.gilang@andalabs.com>" height="16"
width="16"><font color="#424282" face="sans-serif"
size="2">Mahardhika Gilang ---2013-09-24 上午
11:58:24---Mahardhika Gilang </font><a
moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"><font
color="#0000FF" face="sans-serif" size="2"><u><mahardika.gilang@andalabs.com></u></font></a><font
face="sans-serif" size="3"> </font>
<table cellpadding="0" cellspacing="0" border="0"
width="100%">
<tbody>
<tr valign="top">
<td width="45%">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1"><b>Mahardhika
Gilang </b></font><a moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"><font
color="#0000FF" face="sans-serif" size="1"><b><u><mahardika.gilang@andalabs.com></u></b></font></a><font
face="sans-serif" size="1"> </font><font
face="sans-serif" size="3"> </font>
<p><font face="sans-serif" size="1">2013-09-24 上午
11:59</font></p>
</ul>
</td>
<td width="55%">
<table cellpadding="0" cellspacing="0" border="0"
width="100%">
<tbody>
<tr valign="top">
<td width="13%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">To</font></div>
</td>
<td width="87%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Hua ZZ
Zhang/China/IBM@IBMCN, </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="13%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">cc</font></div>
</td>
<td width="87%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Openstack
Milis </font><a moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org"><font color="#0000FF"
face="sans-serif" size="1"><u><openstack@lists.openstack.org></u></font></a><font
face="sans-serif" size="3"> </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="13%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">Subject</font></div>
</td>
<td width="87%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Re:
[Openstack] Swift not detect Keystone
and Authtoken</font><font
face="sans-serif" size="3"> </font>
</ul>
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="58"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
<td width="336"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<font face="sans-serif" size="3"><br>
Hi, i've try change with auth_token and it's work, but
does this syntax give same result?<br>
<br>
On 9/24/2013 6:21 AM, Hua ZZ Zhang wrote: </font>
<ul style="padding-left: 36pt">
<tt><font size="2"><br>
try this:<br>
paste.filter_factory =</font></tt><font
face="sans-serif" size="2"> keystoneclient.middleware.auth_token:filter_factory</font><font
face="sans-serif" size="3"><br>
<br>
<br>
<br>
</font><img src="cid:part1.05000702.01000302@andalabs.com"
alt="Inactive hide details for Mahardhika Gilang
---2013-09-23 下午 07:15:28---Mahardhika Gilang
<mahardika.gilang@andalabs.com>" height="16"
width="16"><font color="#424282" face="sans-serif"
size="2">Mahardhika Gilang ---2013-09-23 下午
07:15:28---Mahardhika Gilang </font><a
moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"><font
color="#0000FF" face="sans-serif" size="2"><u><mahardika.gilang@andalabs.com></u></font></a><font
face="sans-serif" size="3"> </font>
<table cellpadding="0" cellspacing="0" border="0"
width="100%">
<tbody>
<tr valign="top">
<td width="45%">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1"><b>Mahardhika
Gilang </b></font><a moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"><font
color="#0000FF" face="sans-serif" size="1"><b><u><mahardika.gilang@andalabs.com></u></b></font></a><font
face="sans-serif" size="1"> </font><font
face="sans-serif" size="3"> </font>
<p><font face="sans-serif" size="1">2013-09-23
下午 07:16</font></p>
</ul>
</td>
<td width="55%">
<table cellpadding="0" cellspacing="0" border="0"
width="100%">
<tbody>
<tr valign="top">
<td width="13%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">To</font></div>
</td>
<td width="87%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Hua ZZ
Zhang/China/IBM@IBMCN, </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="13%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">cc</font></div>
</td>
<td width="87%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Openstack
Milis </font><a
moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org"><font
color="#0000FF" face="sans-serif"
size="1"><u><openstack@lists.openstack.org></u></font></a><font
face="sans-serif" size="3"> </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="13%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">Subject</font></div>
</td>
<td width="87%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Re:
[Openstack] Swift not detect Keystone
and Authtoken</font><font
face="sans-serif" size="3"> </font>
</ul>
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="58"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
<td width="336"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<font face="sans-serif" size="3"><br>
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 </font><a moz-do-not-send="true"
href="filter:keystone"><font color="#0000FF"
face="sans-serif" size="3"><u>filter:keystone</u></font></a><font
face="sans-serif" size="3"> part</font><tt><font
size="2"><br>
paste.filter_factory =
keystone.middleware.swift_auth:filter_factory<br>
<br>
how to solved this issue?</font></tt><font
face="sans-serif" size="3"><br>
On 9/23/2013 4:53 PM, Hua ZZ Zhang wrote: </font>
<ul style="padding-left: 36pt">
<tt><font size="2"><br>
<br>
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">.<br>
you need to change the main pipeline as below:</font></tt><tt><font
size="2"><i><br>
<br>
[pipeline:main]<br>
pipeline = catch_errors healthcheck proxy-logging
cache authtoken keystone <br>
proxy-logging proxy-server</i></font></tt><font
face="serif" size="1"><b><br>
<br>
Best Regards, </b></font><font face="sans-serif"
size="3"><br>
</font>
<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: 36pt">
<font face="serif" size="1"><b>Edward
Zhang(张华)</b></font><font
face="sans-serif" size="3"> </font>
</ul>
</td>
<td valign="middle" width="298"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
</tbody>
</table>
</ul>
</ul>
</ul>
</ul>
</ul>
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td valign="middle" width="298"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
<td valign="middle" width="298"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
<tr valign="top">
<td valign="middle" width="298">
<ul style="padding-left: 36pt">
<img src="cid:part27.05010508.05070204@andalabs.com"
height="100" width="100">
</ul>
</td>
<td valign="middle" width="298"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
<tr valign="top">
<td valign="middle" width="298"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
<td valign="middle" width="298"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
</tbody>
</table>
<ul style="padding-left: 72pt">
<font face="sans-serif" size="3"><br>
</font><img src="cid:part1.05000702.01000302@andalabs.com"
alt="Inactive hide details for Mahardhika Gilang ---09/23/2013
05:14:26 PM---Mahardhika Gilang
<mahardika.gilang@andalabs.com>" height="16" width="16"><font
color="#424282" face="sans-serif" size="2">Mahardhika Gilang
---09/23/2013 05:14:26 PM---Mahardhika Gilang </font><a
moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"><font
color="#0000FF" face="sans-serif" size="2"><u><mahardika.gilang@andalabs.com></u></font></a><font
face="sans-serif" size="3"> </font>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody>
<tr valign="top">
<td width="46%">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1"><b>Mahardhika Gilang
</b></font><a moz-do-not-send="true"
href="mailto:mahardika.gilang@andalabs.com"><font
color="#0000FF" face="sans-serif" size="1"><b><u><mahardika.gilang@andalabs.com></u></b></font></a><font
face="sans-serif" size="1"> </font><font
face="sans-serif" size="3"> </font>
<p><font face="sans-serif" size="1">09/23/2013 05:01
PM</font></p>
</ul>
</td>
<td width="54%">
<table cellpadding="0" cellspacing="0" border="0"
width="100%">
<tbody>
<tr valign="top">
<td width="14%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">To</font></div>
</td>
<td width="86%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">Openstack
Milis </font><a moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org"><font
color="#0000FF" face="sans-serif" size="1"><u><openstack@lists.openstack.org></u></font></a><font
face="sans-serif" size="1">, </font>
</ul>
</td>
</tr>
<tr valign="top">
<td width="14%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">cc</font></div>
</td>
<td width="86%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
<tr valign="top">
<td width="14%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="58">
<div align="right"><font face="sans-serif"
size="1">Subject</font></div>
</td>
<td width="86%"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1">
<ul style="padding-left: 36pt">
<font face="sans-serif" size="1">[Openstack]
Swift not detect Keystone and Authtoken</font><font
face="sans-serif" size="3"> </font>
</ul>
</td>
</tr>
</tbody>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr valign="top">
<td width="58"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
<td width="336"><img
src="cid:part2.08000607.03030604@andalabs.com"
height="1" width="1"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<tt><font size="2"><br>
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>
[</font></tt><a moz-do-not-send="true"
href="app:proxy-server"><tt><font color="#0000FF" size="2"><u>app:proxy-server</u></font></tt></a><tt><font
size="2">]<br>
use = egg:swift#proxy<br>
allow_account_management = true<br>
account_autocreate = true<br>
<br>
[</font></tt><a moz-do-not-send="true"
href="filter:authtoken"><tt><font color="#0000FF" size="2"><u>filter:authtoken</u></font></tt></a><tt><font
size="2">]<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><a moz-do-not-send="true"
href="http://10.10.10.40:5000/"><tt><font color="#0000FF"
size="2"><u>http://10.10.10.40:5000/</u></font></tt></a><tt><font
size="2"><br>
auth_host = 10.10.10.40<br>
#auth_uri = </font></tt><a moz-do-not-send="true"
href="http://192.168.7.85:5000/"><tt><font color="#0000FF"
size="2"><u>http://192.168.7.85:5000/</u></font></tt></a><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>
[</font></tt><a moz-do-not-send="true"
href="filter:catch_errors"><tt><font color="#0000FF" size="2"><u>filter:catch_errors</u></font></tt></a><tt><font
size="2">]<br>
use = egg:swift#catch_errors<br>
<br>
[</font></tt><a moz-do-not-send="true"
href="filter:proxy-logging"><tt><font color="#0000FF" size="2"><u>filter:proxy-logging</u></font></tt></a><tt><font
size="2">]<br>
use = egg:swift#proxy_logging<br>
<br>
#[</font></tt><a moz-do-not-send="true"
href="filter:tempauth"><tt><font color="#0000FF" size="2"><u>filter:tempauth</u></font></tt></a><tt><font
size="2">]<br>
#use = egg:swift#tempauth<br>
#user_system_root = testpass .admin </font></tt><a
moz-do-not-send="true"
href="https://10.10.10.40:8080/v1/AUTH_system"><tt><font
color="#0000FF" size="2"><u>https://10.10.10.40:8080/v1/AUTH_system</u></font></tt></a><tt><font
size="2"><br>
#user_test_tester = testing .admin </font></tt><a
moz-do-not-send="true"
href="https://10.10.10.40:8080/v1/AUTH_test"><tt><font
color="#0000FF" size="2"><u>https://10.10.10.40:8080/v1/AUTH_test</u></font></tt></a><tt><font
size="2"><br>
<br>
[</font></tt><a moz-do-not-send="true"
href="filter:healthcheck"><tt><font color="#0000FF" size="2"><u>filter:healthcheck</u></font></tt></a><tt><font
size="2">]<br>
use = egg:swift#healthcheck<br>
<br>
[</font></tt><a moz-do-not-send="true" href="filter:cache"><tt><font
color="#0000FF" size="2"><u>filter:cache</u></font></tt></a><tt><font
size="2">]<br>
use = egg:swift#memcache<br>
memcache_servers = 10.10.10.40:11211<br>
<br>
[</font></tt><a moz-do-not-send="true"
href="filter:keystone"><tt><font color="#0000FF" size="2"><u>filter:keystone</u></font></tt></a><tt><font
size="2">]<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><a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"><tt><font
color="#0000FF" size="2"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</u></font></tt></a><tt><font
size="2"><br>
Post to : </font></tt><a moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org"><tt><font
color="#0000FF" size="2"><u>openstack@lists.openstack.org</u></font></tt></a><tt><font
size="2"><br>
Unsubscribe : </font></tt><a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"><tt><font
color="#0000FF" size="2"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</u></font></tt></a><font
face="sans-serif" size="3"><br>
<br>
<br>
-- <br>
Regards,<br>
Mahardhika Gilang<br>
</font><br>
<font face="sans-serif" size="3"><br>
<br>
-- <br>
Regards,<br>
Mahardhika Gilang</font>
</ul>
<ul style="padding-left: 36pt">
<font face="sans-serif" size="3"><br>
<br>
</font>
</ul>
<font face="sans-serif" size="3"><br>
</font><br>
<font face="sans-serif" size="3">-</font><br>
</blockquote>
<br>
<br>
<div class="moz-signature"><br>
</div>
</body>
</html>