Bug 38901

Summary: Проблема с запуском Openstack swift-client
Product: Альт Сервер Reporter: Artem Rogov <rogar>
Component: Ошибки работыAssignee: Anton V. Boyarshinov <boyarsh>
Status: NEW --- QA Contact: qa-p8 <qa-p8>
Severity: critical    
Priority: P5 Keywords: docs
Version: 8.0   
Hardware: x86_64   
OS: Linux   

Description Artem Rogov 2020-09-08 16:58:31 MSK
На нодах хранения при запуске командой swift-init all start появляется следующие ошибки: 
Настраивал по официальной документации OpenStack Swift: 
https://docs.openstack.org/swift/pike/getting_started.html. Так как в официальной документации нет инструкции как устанавливать OpenStack Swift.
 
Starting account-server...(/etc/swift/account-server.conf)
Traceback (most recent call last):
  File "/usr/bin/swift-object-replicator", line 17, in <module>
    from swift.obj.replicator import ObjectReplicator
  File "/usr/lib/python2.7/site-packages/swift/obj/replicator.py", line 40, in <module>
    from swift.obj.diskfile import DiskFileManager, get_data_dir, get_tmp_dir
  File "/usr/lib/python2.7/site-packages/swift/obj/diskfile.py", line 54, in <module>
    from swift.common.request_helpers import is_sys_meta
  File "/usr/lib/python2.7/site-packages/swift/common/request_helpers.py", line 38, in <module>
    from swift.common.wsgi import make_subrequest
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 32, in <module>
    from paste.deploy import loadwsgi
ImportError: No module named deploy

Traceback (most recent call last):
  File "/usr/bin/swift-container-sync", line 17, in <module>
    from swift.container.sync import ContainerSync
  File "/usr/lib/python2.7/site-packages/swift/container/sync.py", line 29, in <module>
    from swift.common.internal_client import (
  File "/usr/lib/python2.7/site-packages/swift/common/internal_client.py", line 31, in <module>
    from swift.common.wsgi import loadapp, pipeline_property
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 32, in <module>
    from paste.deploy import loadwsgi
ImportError: No module named deploy

Traceback (most recent call last):
  File "/usr/bin/swift-container-replicator", line 17, in <module>
    from swift.container.replicator import ContainerReplicator
  File "/usr/lib/python2.7/site-packages/swift/container/replicator.py", line 23, in <module>
    from swift.container.reconciler import (
  File "/usr/lib/python2.7/site-packages/swift/container/reconciler.py", line 27, in <module>
    from swift.common.internal_client import InternalClient, UnexpectedResponse
  File "/usr/lib/python2.7/site-packages/swift/common/internal_client.py", line 31, in <module>
    from swift.common.wsgi import loadapp, pipeline_property
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 32, in <module>
    from paste.deploy import loadwsgi
ImportError: No module named deploy

Traceback (most recent call last):
  File "/usr/bin/swift-object-auditor", line 17, in <module>
    from swift.obj.auditor import ObjectAuditor
  File "/usr/lib/python2.7/site-packages/swift/obj/auditor.py", line 25, in <module>
    from swift.obj import diskfile
  File "/usr/lib/python2.7/site-packages/swift/obj/diskfile.py", line 54, in <module>
    from swift.common.request_helpers import is_sys_meta
  File "/usr/lib/python2.7/site-packages/swift/common/request_helpers.py", line 38, in <module>
    from swift.common.wsgi import make_subrequest
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 32, in <module>
    from paste.deploy import loadwsgi
ImportError: No module named deploy

Traceback (most recent call last):
  File "/usr/bin/swift-container-server", line 19, in <module>
    from swift.common.wsgi import run_wsgi
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 32, in <module>
    from paste.deploy import loadwsgi
ImportError: No module named deploy

Traceback (most recent call last):
  File "/usr/bin/swift-object-reconstructor", line 17, in <module>
    from swift.obj.reconstructor import ObjectReconstructor
  File "/usr/lib/python2.7/site-packages/swift/obj/reconstructor.py", line 41, in <module>
    from swift.obj.diskfile import DiskFileRouter, get_data_dir, \
  File "/usr/lib/python2.7/site-packages/swift/obj/diskfile.py", line 54, in <module>
    from swift.common.request_helpers import is_sys_meta
  File "/usr/lib/python2.7/site-packages/swift/common/request_helpers.py", line 38, in <module>
    from swift.common.wsgi import make_subrequest
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 32, in <module>
    from paste.deploy import loadwsgi
ImportError: No module named deploy

Traceback (most recent call last):
  File "/usr/bin/swift-object-server", line 19, in <module>
    from swift.common.wsgi import run_wsgi
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 32, in <module>
    from paste.deploy import loadwsgi
ImportError: No module named deploy

Traceback (most recent call last):
  File "/usr/bin/swift-object-updater", line 17, in <module>
    from swift.obj.updater import ObjectUpdater
  File "/usr/lib/python2.7/site-packages/swift/obj/updater.py", line 33, in <module>
    from swift.obj.diskfile import get_tmp_dir, ASYNCDIR_BASE
  File "/usr/lib/python2.7/site-packages/swift/obj/diskfile.py", line 54, in <module>
    from swift.common.request_helpers import is_sys_meta
  File "/usr/lib/python2.7/site-packages/swift/common/request_helpers.py", line 38, in <module>
    from swift.common.wsgi import make_subrequest
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 32, in <module>
    from paste.deploy import loadwsgi
ImportError: No module named deploy

Traceback (most recent call last):
  File "/usr/bin/swift-account-server", line 19, in <module>
    from swift.common.wsgi import run_wsgi
  File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 32, in <module>
    from paste.deploy import loadwsgi
ImportError: No module named deploy

Есть какие нибудь идеи?