Description of problem: Não estava fazendo nenhuma tarefa quando o alerta foi informado. Version-Release number of selected component: glusterfs-swift-proxy-3.3.1-15.fc18 Additional info: reporter: libreport-2.1.6 cmdline: /usr/bin/python /usr/bin/swift-proxy-server /etc/swift/proxy-server.conf executable: /usr/bin/swift-proxy-server kernel: 3.10.6-200.fc19.i686.PAE runlevel: N 5 type: Python uid: 160 Truncated backtrace: gzip.py:94:__init__:IOError: [Errno 2] No such file or directory: '/etc/swift/object.ring.gz' 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/site-packages/swift/common/wsgi.py", line 119, in run_wsgi init_request_processor(conf_file, app_section, *args, **kwargs) File "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 246, in init_request_processor app = loadapp('config:%s' % conf_file, global_conf={'log_name': log_name}) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp return loadobj(APP, uri, name=name, **kw) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj return context.create() File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create return self.object_type.invoke(self) File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 203, in invoke app = context.app_context.create() File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create return self.object_type.invoke(self) File "/usr/lib/python2.7/site-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/site-packages/paste/deploy/util.py", line 56, in fix_call val = callable(*args, **kw) File "/usr/lib/python2.7/site-packages/swift/proxy/server.py", line 284, in app_factory return Application(conf) File "/usr/lib/python2.7/site-packages/swift/proxy/server.py", line 80, in __init__ self.object_ring = object_ring or Ring(swift_dir, ring_name='object') File "/usr/lib/python2.7/site-packages/swift/common/ring/ring.py", line 141, in __init__ self._reload(force=True) File "/usr/lib/python2.7/site-packages/swift/common/ring/ring.py", line 146, in _reload ring_data = RingData.load(self.serialized_path) File "/usr/lib/python2.7/site-packages/swift/common/ring/ring.py", line 63, in load gz_file = GzipFile(filename, 'rb') File "/usr/lib/python2.7/gzip.py", line 94, in __init__ fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb') IOError: [Errno 2] No such file or directory: '/etc/swift/object.ring.gz' Local variables in innermost frame:
Created attachment 824559 [details] File: backtrace
Created attachment 824560 [details] File: dso_list
Created attachment 824561 [details] File: environ
Hi I am not sure what version of swift or gluster you are using. But it looks like to me that the environment is missing the ring files. Please read: https://github.com/gluster/gluster-swift/blob/master/doc/markdown/quick_start_guide.md#generate-ring-files
The previous comment assumed you are using gluster-swift, but it looks like to me that you are just using regular openstack swift. OpenStack ring configuration can be found here: http://docs.openstack.org/developer/swift/deployment_guide.html#preparing-the-ring