<div dir="ltr">Hello guys! Happy New Year!!<div><br></div><div>I am NaleeJang from OpenStack Korea User Group.</div><div><br><div><div>Nowadays, I met problem about OpenStack swift.</div><div>I'm testing to deploy swift mitaka version. but there are erasurecode and authentication problems.</div><div><br></div><div>so I found erasurecode problems on the internet. and I solved it through asking of other people.</div><div>and I restarted swift-proxy. but when I commended "swift stat", I saw below message.</div><div><br></div><div>Please help me~!!</div><div><br></div><div>====</div><div># swift stat</div><div>Account HEAD failed: <a href="http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe">http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe</a> 403 Forbidden</div><div><br></div><div>===</div><div>below is authtoken and keystoneauth part of my proxy-server.conf.</div><div><br></div><div><div>[filter:authtoken]</div><div>paste.filter_factory = keystonemiddleware.auth_token:filter_factory</div><div>auth_uri = <a href="http://192.168.56.101:5000">http://192.168.56.101:5000</a></div><div>auth_url = <a href="http://192.168.56.101:35357">http://192.168.56.101:35357</a></div><div>memcached_servers = <a href="http://192.168.56.101:11211">192.168.56.101:11211</a></div><div>auth_plugin = password</div><div>project_domain_id = fb9ef93e47264b5ba720ec62dbcd5e21</div><div>user_domain_id = fb9ef93e47264b5ba720ec62dbcd5e21</div><div>project_name = service</div><div>username = swift</div><div>password = swiftpass</div><div>delay_auth_decision = True</div></div><div><br></div><div>[filter:keystoneauth]<br></div><div>operator_roles = admin, user<br></div><div><br></div><div>====</div><div>below is  debug log.</div><div><br></div><div><div>root@controller:~# swift --debug stat</div><div>DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to <a href="http://controller:35357/v3/auth/tokens">http://controller:35357/v3/auth/tokens</a></div><div>INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller</div><div>DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens HTTP/1.1" 201 1750</div><div>INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): controller</div><div>DEBUG:requests.packages.urllib3.connectionpool:"HEAD /v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe HTTP/1.1" 403 0</div><div>INFO:swiftclient:REQ: curl -i <a href="http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe">http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe</a> -I -H "X-Auth-Token: gAAAAABYa8693W2Ob8CDgeaDDmMN-DHB8N001D16KuGdxEKY0-MAKVaiQAAY9K-8bcAXmkc-7BszrXp5rAKT7kzzNbFiBtoIzkryltlZkGQWgCkqNWrQ6waY83TQHoe_1EiSoqCQZ-TPf0t9k5vkkKawUP8IGJjYmt7-nt6JBd3L9fF2eYolnjU"</div><div>INFO:swiftclient:RESP STATUS: 403 Forbidden</div><div>INFO:swiftclient:RESP HEADERS: {u'Date': u'Tue, 03 Jan 2017 16:18:05 GMT', u'Content-Length': u'0', u'Content-Type': u'text/html; charset=UTF-8', u'X-Trans-Id': u'tx9a2a2881e71f4e82b7db9-00586bcebd'}</div><div>ERROR:swiftclient:Account HEAD failed: <a href="http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe">http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe</a> 403 Forbidden</div><div>Traceback (most recent call last):</div><div>  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1565, in _retry</div><div>    service_token=self.service_token, **kwargs)</div><div>  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 747, in head_account</div><div>    http_response_content=body)</div><div>ClientException: Account HEAD failed: <a href="http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe">http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe</a> 403 Forbidden</div><div>ERROR:swiftclient.service:Account HEAD failed: <a href="http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe">http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe</a> 403 Forbidden</div><div>Traceback (most recent call last):</div><div>  File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 440, in stat</div><div>    items, headers = get_future_result(stats_future)</div><div>  File "/usr/lib/python2.7/dist-packages/swiftclient/service.py", line 207, in get_future_result</div><div>    res = f.result(timeout=timeout)</div><div>  File "/usr/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 405, in result</div><div>    return self.__get_result()</div><div>  File "/usr/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 55, in run</div><div>    result = self.fn(*self.args, **self.kwargs)</div><div>  File "/usr/lib/python2.7/dist-packages/swiftclient/multithreading.py", line 188, in conn_fn</div><div>    return fn(*conn_args, **kwargs)</div><div>  File "/usr/lib/python2.7/dist-packages/swiftclient/command_helpers.py", line 23, in stat_account</div><div>    headers = conn.head_account()</div><div>  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1605, in head_account</div><div>    return self._retry(None, head_account)</div><div>  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1565, in _retry</div><div>    service_token=self.service_token, **kwargs)</div><div>  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 747, in head_account</div><div>    http_response_content=body)</div><div>ClientException: Account HEAD failed: <a href="http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe">http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe</a> 403 Forbidden</div><div>Account HEAD failed: <a href="http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe">http://controller:8080/v1/AUTHd9dcaafdd1a94840b86ed1ae97390bbe</a> 403 Forbidden</div><div>root@controller:~# </div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">==================================================<div> - Community : <b><font color="#ff0000">Open</font><font color="#666666">stack</font> Korea Community</b></div><div> - Name          : Nalee Jang (장현정)</div><div> - Company    : ASD Korea Cloudike System Engineer.</div><div> - Contact       : +82-10-3454-4260 / <a href="mailto:nalee999@gmail.com" target="_blank">nalee999@gmail.com</a> </div><div> - Blog            : <a href="http://naleejang.tistory.com" target="_blank">http://naleejang.tistory.com</a></div><div> - HomePage  : <a href="http://www.openstack.or.kr" target="_blank">http://www.openstack.or.kr</a></div><div> - Facebook   : <a href="https://www.facebook.com/groups/openstack.kr/" target="_blank">https://www.facebook.com/groups/openstack.kr/</a></div><div>==================================================</div></div></div></div></div></div></div></div></div></div></div>
</div></div></div>