Skip to content

[bug] At the first start TypeError: 'bytes' object is not callable #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tri0L opened this issue Apr 26, 2022 · 1 comment
Closed

[bug] At the first start TypeError: 'bytes' object is not callable #34

Tri0L opened this issue Apr 26, 2022 · 1 comment

Comments

@Tri0L
Copy link

Tri0L commented Apr 26, 2022

At the first start or start with clean volumes of ydb docker image TypeError: 'bytes' object is not callable happens.

Run:

docker run -it --rm  \
 --name ydb-local  -h 127.0.0.1  -p 2135:2135   -p 8765:8765   -p 2136:2136 \
 -e YDB_DEFAULT_LOG_LEVEL=NOTICE   -e GRPC_TLS_PORT=2135  \
-e GRPC_PORT=2136   -e MON_PORT=8765  \
 cr.yandex/yc/yandex-docker-local-ydb:latest

Logs:

Starting periodic command scheduler: cron.
Starting enhanced syslogd: rsyslogdrsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
rsyslogd: activation of module imklog failed [v8.2102.0 try https://www.rsyslog.com/e/2145 ]
.
Traceback (most recent call last):
  File "contrib/tools/python3/src/Lib/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "contrib/tools/python3/src/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "ydb/public/tools/local_ydb/__main__.py", line 140, in <module>
    arguments.command(arguments)
  File "ydb/public/tools/lib/cmds/__init__.py", line 327, in deploy
    recipe.write_certificates_path(configuration.grpc_tls_ca())
TypeError: 'bytes' object is not callable

Image: cr.yandex/yc/yandex-docker-local-ydb@sha256:39915662b73c1e4bd4aa87a0405f50db8a8246c1da84fb29a66270fdc484288e

@gridnevvvit
Copy link
Member

Thank you for the report. Fixed in the new release of the container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants