<html>
  <head>
    <meta content="text/html; charset=GB2312" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">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:<br>
    </div>
    <blockquote
cite="mid:OF42D544DE.E8F4CA81-ON48257BEF.008033F6-48257BEF.008062E1@cn.ibm.com"
      type="cite">
      <p><tt><font size="2">try this:</font></tt><br>
        <tt><font size="2">paste.filter_factory =</font></tt><font
          face="sans-serif" size="2"> keystoneclient.middleware.auth_token:filter_factory</font><br>
        <font face="sans-serif" size="2"><br>
        </font><br>
        <br>
        <img src="cid:part1.07070906.05030005@andalabs.com"
          alt="Inactive hide details for Mahardhika Gilang ---2013-09-23
          下午 07:15:28---Mahardhika Gilang
          <mahardika.gilang@andalabs.com>" border="0" height="16"
          width="16"><font color="#424282" face="sans-serif" size="2">Mahardhika
          Gilang ---2013-09-23 下午 07:15:28---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__=C7BBF17CDF13B5668f9e8a93df938@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-23 下午
                      07:16</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.01040707.04030601@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.01040707.04030601@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.01040707.04030601@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.01040707.04030601@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.01040707.04030601@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.01040707.04030601@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.01040707.04030601@andalabs.com"
                          alt="" border="0" height="1" width="1"></td>
                      <td width="336"><img
                          src="cid:part2.01040707.04030601@andalabs.com"
                          alt="" border="0" height="1" width="1"></td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
          </tbody>
        </table>
        <br>
        <font face="sans-serif" size="3">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>
      </p>
      <ul style="padding-left: 36pt">
        <br>
        <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">.<br>
            you need to change the main pipeline as below:</font></tt><font
          face="sans-serif" size="3"><br>
        </font><tt><font size="2"><i><br>
              [pipeline:main]<br>
              pipeline = catch_errors healthcheck proxy-logging cache
              authtoken keystone <br>
              proxy-logging proxy-server</i></font></tt><font
          face="sans-serif" size="2"><br>
        </font><font face="serif" size="1"><b><br>
            Best Regards, </b></font><font face="serif" size="1"><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.01040707.04030601@andalabs.com"
                  height="1" width="1"></td>
            </tr>
          </tbody>
        </table>
      </ul>
      <table cellpadding="0" cellspacing="0" border="0">
        <tbody>
          <tr valign="top">
            <td valign="middle" width="298"><img
                src="cid:part2.01040707.04030601@andalabs.com"
                height="1" width="1"></td>
            <td valign="middle" width="298"><img
                src="cid:part2.01040707.04030601@andalabs.com"
                height="1" width="1"></td>
          </tr>
          <tr valign="top">
            <td valign="middle" width="298">
              <ul style="padding-left: 36pt">
                <img src="cid:part14.00020907.04070108@andalabs.com"
                  height="100" width="100">
              </ul>
            </td>
            <td valign="middle" width="298"><img
                src="cid:part2.01040707.04030601@andalabs.com"
                height="1" width="1"></td>
          </tr>
          <tr valign="top">
            <td valign="middle" width="298"><img
                src="cid:part2.01040707.04030601@andalabs.com" alt=""
                border="0" height="1" width="1"></td>
            <td valign="middle" width="298"><img
                src="cid:part2.01040707.04030601@andalabs.com"
                height="1" width="1"></td>
          </tr>
        </tbody>
      </table>
      <ul style="padding-left: 36pt">
        <font face="sans-serif" size="3"><br>
        </font><img src="cid:part1.07070906.05030005@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"><br>
        </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.01040707.04030601@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.01040707.04030601@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.01040707.04030601@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.01040707.04030601@andalabs.com"
                          height="1" width="1"></td>
                    </tr>
                    <tr valign="top">
                      <td width="14%"><img
                          src="cid:part2.01040707.04030601@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.01040707.04030601@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.01040707.04030601@andalabs.com"
                          height="1" width="1"></td>
                      <td width="336"><img
                          src="cid:part2.01040707.04030601@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><tt><font
            size="2"><br>
          </font></tt><font face="sans-serif" size="3"><br>
        </font>
      </ul>
      <font face="sans-serif" size="3"><br>
      </font><br>
      <font face="sans-serif" size="3">-- <br>
        Regards,<br>
        Mahardhika Gilang<br>
      </font><font face="sans-serif" size="3"><b><br>
          PT. Andalabs Technology </b></font><font face="sans-serif"
        size="3"><br>
        Gedung Gravira<br>
        Jl. Cideng Barat no. 54<br>
        Jakarta Pusat 10150<br>
        <br>
        HP : 0852 139 55861<br>
        Email : </font><a moz-do-not-send="true"
        href="mailto:mahardika.gilang@andalabs.com"><font
          color="#0000FF" face="sans-serif" size="3"><u>mahardika.gilang@andalabs.com</u></font></a><font
        face="sans-serif" size="3"> </font><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>
      Mobile : 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>