Ask Your Question
0

swift restart gives: No module named swiftclient

asked 2013-07-15 14:38:25 -0500

I'm bringing up swift on a new cluster that was installed using a vendors automated openStack installation product. Changes were made to use the nodes real hard drives instead of loopback devices. Restarting swift generates a complaint that swiftClient is missing. Do/Should I download a stable swift tarball and reinstall manually on all 10 swift nodes? or can I just copy the missing file to the expected location? If the 2nd what file & location? Thank, Tim

root@swift11:~# swift-init all restart Signal container-updater pid: 31021 signal: 15 Signal account-auditor pid: 31022 signal: 15 Signal object-replicator pid: 31023 signal: 15 Signal proxy-server pid: 31024 signal: 15 No proxy-server running Signal container-replicator pid: 31025 signal: 15 Signal object-auditor pid: 31026 signal: 15 No object-expirer running Signal container-auditor pid: 31027 signal: 15 Signal container-server pid: 31028 signal: 15 Signal account-server pid: 31029 signal: 15 Signal account-reaper pid: 31030 signal: 15 No account-reaper running Signal container-sync pid: 31031 signal: 15 No container-sync running Signal account-replicator pid: 31032 signal: 15 Signal object-updater pid: 31033 signal: 15 Signal object-server pid: 31034 signal: 15 container-updater (31021) appears to have stopped account-auditor (31022) appears to have stopped object-replicator (31023) appears to have stopped container-replicator (31025) appears to have stopped object-auditor (31026) appears to have stopped container-auditor (31027) appears to have stopped container-server (31028) appears to have stopped account-server (31029) appears to have stopped account-replicator (31032) appears to have stopped object-updater (31033) appears to have stopped object-server (31034) appears to have stopped Starting container-updater...(/etc/swift/container-server.conf) Starting account-auditor...(/etc/swift/account-server.conf) Starting object-replicator...(/etc/swift/object-server.conf) Starting proxy-server...(/etc/swift/proxy-server.conf) Starting container-replicator...(/etc/swift/container-server.conf) Starting object-auditor...(/etc/swift/object-server.conf) Unable to locate config for object-expirer Starting container-auditor...(/etc/swift/container-server.conf) Starting container-server...(/etc/swift/container-server.conf) Starting account-server...(/etc/swift/account-server.conf) Starting account-reaper...(/etc/swift/account-server.conf) Starting container-sync...(/etc/swift/container-server.conf) Starting account-replicator...(/etc/swift/account-server.conf) Starting object-updater...(/etc/swift/object-server.conf) Starting object-server...(/etc/swift/object-server.conf) Traceback (most recent call last): File "/usr/bin/swift-proxy-server", line 22, in <module> run_wsgi(conf_file, 'proxy-server', default_port=8080, *options) File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 138, in run_wsgi loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp return loadobj(APP, uri, name=name, *kw) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 271, in loadobj global_conf=global_conf) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext global_conf=global_conf) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig return loader.get_context(object_type, name, global_conf) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context global_additions=global_additions) File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context for name in pipeline[:-1]] File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 408, in get_context object_type, name=name ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-07-16 14:39:33 -0500

(reinstalling) swift-client resolves the problem. Why it wasn't installed originally is a different issue.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-07-15 14:38:25 -0500

Seen: 145 times

Last updated: Jul 16 '13