<div dir="ltr">Hi all<div><br></div><div style>I have managed to get the Swift installation working correctly with the Swift API's using tempauth.</div><div style>But i am currently having issues when starting the Proxy after adding the Swift3 setup into the Proxy config and i was hoping someone could point me in the right direction.<br>

</div><div style><br></div><div style>My current setup is as follows:</div><div style><br></div><div style>Swift 1.7.4 installation on CentOS 6 using the EPEL6 packages on AWS.</div><div style>The Swift Proxy and Memcache are running on node 1</div>

<div style>The Swift Account, Container and Object servers are running on node 2</div><div style><br></div><div style>During startup of the Proxy Server i am getting an error which i have put below. Searching online revealed similar issues when swift3 wasn't installed, but i have checked the following things below and it looks like swift3 is installed. Python isn't my main language so still a bit lost and finding my way around the language.</div>

<div style>Any pointers would be appreciated.</div><div style><br></div><div style><b>Items checked on the Proxy Node</b></div><div style>Package manager says openstack-swift-plugin-swift3.noarch 1.0.0-0.20120711git.el6 is installed</div>

<div style>Python terminal <b>help('modules')</b> command lists both swift and swift3</div><div style>Python terminal <b>help('modules swift3')</b> command returns the following 2 lines</div><div style> - swift3 - Static Web Middleware for OpenStack Swift</div>

<div style> - swift3.middleware - The swift3 middleware will emulate the S3 REST api on top of swift.</div><div style><br></div><div style><b>Proxy Server Startup Error</b></div><div style><div>sudo swift-init proxy start</div>

<div>Starting proxy-server...(/etc/swift/proxy-server.conf)</div><div>Traceback (most recent call last):</div><div>  File "/usr/bin/swift-proxy-server", line 22, in <module></div><div>    run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)</div>

<div>  File "/usr/lib/python2.6/site-packages/swift/common/wsgi.py", line 138, in run_wsgi</div><div>    loadapp('config:%s' % conf_file, global_conf={'log_name': log_name})</div><div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 247, in loadapp</div>

<div>    return loadobj(APP, uri, name=name, **kw)</div><div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 271, in loadobj</div><div>    global_conf=global_conf)</div>

<div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 296, in loadcontext</div><div>    global_conf=global_conf)</div><div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 320, in _loadconfig</div>

<div>    return loader.get_context(object_type, name, global_conf)</div><div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 450, in get_context</div><div>    global_additions=global_additions)</div>

<div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context</div><div>    for name in pipeline[:-1]]</div><div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 454, in get_context</div>

<div>    section)</div><div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 476, in _context_from_use</div><div>    object_type, name=use, global_conf=global_conf)</div>

<div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 406, in get_context</div><div>    global_conf=global_conf)</div><div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 296, in loadcontext</div>

<div>    global_conf=global_conf)</div><div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 328, in _loadegg</div><div>    return loader.get_context(object_type, name, global_conf)</div>

<div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 620, in get_context</div><div>    object_type, name=name)</div><div>  File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 659, in find_egg_entry_point</div>

<div>    for prot in protocol_options] or '(no entry points)'))))</div><div>LookupError: Entry point 'swift3' not found in egg 'swift' (dir: /usr/lib/python2.6/site-packages; protocols: paste.filter_factory, paste.filter_app_factory; entry_points: )</div>

</div><div style><br></div><div style><b>proxy-server.conf</b> is as follows</div><div style><div><br></div><div><div>[DEFAULT]</div><div>bind_port = 8080</div><div>workers = 8</div><div>user = swift</div></div><div><br>
</div>
<div>[pipeline:main]</div><div>pipeline = healthcheck cache swift3 tempauth proxy-logging proxy-server</div><div><br></div><div>[app:proxy-server]</div><div>use = egg:swift#proxy</div><div>allow_account_management = true</div>

<div>account_autocreate = true</div><div><br></div><div>[filter:swift3]</div><div>use = egg:swift#swift3</div><div><br></div><div>[filter:tempauth]</div><div>use = egg:swift#tempauth</div><div>user_system_root = testpass .admin <a href="http://X.X.X.X:8080/v1/AUTH_system">http://X.X.X.X:8080/v1/AUTH_system</a></div>

<div><br></div><div>[filter:healthcheck]</div><div>use = egg:swift#healthcheck</div><div><br></div><div>[filter:cache]</div><div>use = egg:swift#memcache</div><div>memcache_servers = <a href="http://127.0.0.1:11211">127.0.0.1:11211</a></div>

<div><br></div><div>[filter:catch_errors]</div><div>use = egg:swift#catch_errors</div><div><br></div><div>[filter:proxy-logging]</div><div>use = egg:swift#proxy_logging</div></div><div style><br></div><div style><br></div>

<div style><br></div><div style>Ta</div><div style><br></div><div style>Sandy</div></div>