Page MenuHomeSoftware Heritage
Paste P473

swh storage logs
ActivePublic

Authored by nahimilega on Jul 14 2019, 1:21 PM.
(swh) archit@work-pc:~/swh-environment$ doco logs swh-storage
swh-storage_1 | [2019-07-14 11:13:33 +0000] [39] [DEBUG] POST /origin/add
swh-storage_1 | ERROR:root:KafkaTimeoutError: Failed to update metadata after 60.0 secs.
swh-storage_1 | Traceback (most recent call last):
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
swh-storage_1 | rv = self.dispatch_request()
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
swh-storage_1 | return self.view_functions[rule.endpoint](**req.view_args)
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/storage/api/server.py", line 36, in d
swh-storage_1 | return f(*a, **kw)
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/storage/api/server.py", line 44, in d
swh-storage_1 | r = f(*a, **kw)
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/storage/api/server.py", line 387, in origin_add_one
swh-storage_1 | origin = get_storage().origin_add_one(**decode_request(request))
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/core/db/common.py", line 49, in _meth
swh-storage_1 | return meth(self, *args, db=db, cur=cur, **kwargs)
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/storage/storage.py", line 1638, in origin_add_one
swh-storage_1 | self.journal_writer.write_addition('origin', origin)
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/journal/direct_writer.py", line 69, in write_addition
swh-storage_1 | self.send(topic, key=key, value=object_)
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/journal/direct_writer.py", line 32, in send
swh-storage_1 | self.producer.send(topic=topic, key=key, value=value)
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/kafka/producer/kafka.py", line 564, in send
swh-storage_1 | self._wait_on_metadata(topic, self.config['max_block_ms'] / 1000.0)
swh-storage_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/kafka/producer/kafka.py", line 691, in _wait_on_metadata
swh-storage_1 | "Failed to update metadata after %.1f secs." % (max_wait,))
swh-storage_1 | kafka.errors.KafkaTimeoutError: KafkaTimeoutError: Failed to update metadata after 60.0 secs.
swh-storage_1 | [2019-07-14 11:14:33 +0000] [39] [DEBUG] Closing connection.
swh-storage_1 | [2019-07-14 11:14:52 +0000] [41] [DEBUG] GET /stat/counters
swh-storage_1 | [2019-07-14 11:18:15 +0000] [41] [DEBUG] POST /origin/search
swh-storage_1 | [2019-07-14 11:18:15 +0000] [41] [DEBUG] POST /snapshot/latest
swh-storage_1 | [2019-07-14 11:18:15 +0000] [39] [DEBUG] POST /snapshot/latest
swh-storage_1 | [2019-07-14 11:18:15 +0000] [41] [DEBUG] POST /snapshot/latest
swh-storage_1 | [2019-07-14 11:18:15 +0000] [41] [DEBUG] POST /snapshot/latest
swh-storage_1 | [2019-07-14 11:18:15 +0000] [41] [DEBUG] POST /snapshot/latest
swh-storage_1 | [2019-07-14 11:18:15 +0000] [41] [DEBUG] POST /snapshot/latest
swh-storage_1 | [2019-07-14 11:18:15 +0000] [39] [DEBUG] POST /snapshot/latest
swh-storage_1 | [2019-07-14 11:18:16 +0000] [41] [DEBUG] POST /snapshot/latest
swh-storage_1 | [2019-07-14 11:19:17 +0000] [39] [DEBUG] POST /origin/get_range
swh-storage_1 | [2019-07-14 11:19:17 +0000] [39] [DEBUG] Closing connection.
swh-storage_1 | [2019-07-14 11:19:42 +0000] [41] [DEBUG] POST /origin/search
swh-storage_1 | [2019-07-14 11:19:42 +0000] [41] [DEBUG] POST /snapshot/latest
swh-storage_1 |

Event Timeline

nahimilega created this object in space S1 Public.