Swift - Nenhum anel é criado quando implantado usando juju

0

Aqui está a saída de swift-init start main no nó do proxy swift

ubuntu@fxhhr:~$ sudo swift-init -n start main
Starting proxy-server...(/etc/swift/proxy-server.conf)
Unable to locate config for container-server
Unable to locate config for account-server
Unable to locate config for object-server
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 122, 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 272, in loadobj
    return context.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 203, in invoke
    app = context.app_context.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
    return fix_call(context.object, context.global_conf, **context.local_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call
    val = callable(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/swift/proxy/server.py", line 1949, in app_factory
    return Application(conf)
  File "/usr/lib/python2.7/dist-packages/swift/proxy/server.py", line 1749, in __init__
    Ring(os.path.join(swift_dir, 'object.ring.gz'))
  File "/usr/lib/python2.7/dist-packages/swift/common/ring/ring.py", line 51, in __init__
    self._reload(force=True)
  File "/usr/lib/python2.7/dist-packages/swift/common/ring/ring.py", line 56, in _reload
    ring_data = pickle.load(GzipFile(self.pickle_gz_path, 'rb'))
  File "/usr/lib/python2.7/gzip.py", line 89, in __init__
    fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
IOError: [Errno 2] No such file or directory: '/etc/swift/object.ring.gz'
    
por Assaf Sedaka 18.11.2013 / 10:44

1 resposta

1

Os anéis rápidos não são criados e distribuídos para unidades de armazenamento rápido até que a contagem de réplicas de objetos possa ser atendida por serviços de armazenamento rápido de back-end.

Eu recomendaria ler o README do encanto do proxy swift - especificamente as seções sobre designação de zona - para entender como os feitiços de proxy rápido e armazenamento rápido interagem entre si.

    
por jamespage 18.11.2013 / 12:03

Tags