docker: Service Startup Error
I followed this document (https://docs.softwareheritage.org/devel/getting-started.html) to run Software Heritage platform,some services are not started. and some error in the log like :
swh-vault_1 | Traceback (most recent call last):
swh-vault_1 | File "/srv/softwareheritage/venv/bin/swh", line 8, in <module>
swh-vault_1 | sys.exit(main())
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/core/cli/__init__.py", line 135, in main
swh-vault_1 | return swh(auto_envvar_prefix="SWH")
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 829, in __call__
swh-vault_1 | return self.main(*args, **kwargs)
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 782, in main
swh-vault_1 | rv = self.invoke(ctx)
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
swh-vault_1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
swh-vault_1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
swh-vault_1 | return ctx.invoke(self.callback, **ctx.params)
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 610, in invoke
swh-vault_1 | return callback(*args, **kwargs)
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/decorators.py", line 21, in new_func
swh-vault_1 | return f(get_current_context(), *args, **kwargs)
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/vault/cli.py", line 72, in serve
swh-vault_1 | app = make_app_from_configfile(config_file, debug=debug)
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/vault/api/server.py", line 228, in make_app_from_configfile
swh-vault_1 | vault = get_local_backend(cfg)
swh-vault_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/vault/api/server.py", line 205, in get_local_backend
swh-vault_1 | args = vcfg["args"]
swh-vault_1 | KeyError: 'args'
swh-indexer-journal-client_1 | Traceback (most recent call last):
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/bin/swh", line 8, in <module>
swh-indexer-journal-client_1 | sys.exit(main())
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/core/cli/__init__.py", line 135, in main
swh-indexer-journal-client_1 | return swh(auto_envvar_prefix="SWH")
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 829, in __call__
swh-indexer-journal-client_1 | return self.main(*args, **kwargs)
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 782, in main
swh-indexer-journal-client_1 | rv = self.invoke(ctx)
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
swh-indexer-journal-client_1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
swh-indexer-journal-client_1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
swh-indexer-journal-client_1 | return ctx.invoke(self.callback, **ctx.params)
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/core.py", line 610, in invoke
swh-indexer-journal-client_1 | return callback(*args, **kwargs)
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/click/decorators.py", line 21, in new_func
swh-indexer-journal-client_1 | return f(get_current_context(), *args, **kwargs)
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/indexer/cli.py", line 260, in journal_client
swh-indexer-journal-client_1 | stop_after_objects=stop_after_objects,
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/journal/client.py", line 38, in get_journal_client
swh-indexer-journal-client_1 | return JournalClient(**kwargs)
swh-indexer-journal-client_1 | File "/srv/softwareheritage/venv/lib/python3.7/site-packages/swh/journal/client.py", line 175, in __init__
swh-indexer-journal-client_1 | for topic in self.consumer.list_topics(timeout=10).topics.keys()
swh-indexer-journal-client_1 | cimpl.KafkaException: KafkaError{code=_TRANSPORT,val=-195,str="Failed to get metadata: Local: Broker transport failure"}
docker_swh-indexer-journal-client_1 exited with code 1
What has caused this? thanks
Migrated from T2854 (view on Phabricator)
Edited by Phabricator Migration user