Summary: | Не подключается к x2gobroker | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Nikita Obukhov <nickf> |
Component: | pyhoca-cli | Assignee: | ekorneechev <ekorneechev> |
Status: | ASSIGNED --- | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P5 | CC: | ekorneechev, ekorneechev, sotor |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Nikita Obukhov
2021-01-15 18:00:32 MSK
(Ответ для Nikita Obukhov на комментарий #0) > При проверке подключения к x2gobroker по ssh через pyhoca-cli возникает > ошибка. > > $ pyhoca-cli --session-profile=ALTW > --broker-url=ssh://test@10.88.14.244:22/usr/bin/x2gobroker > * * * > pyhoca-cli[7993] NOTICE: preparing requested X2Go session > pyhoca-cli[7993] (PyHocaCLI) NOTICE: preparing requested X2Go session > Traceback (most recent call last): > File "/usr/bin/pyhoca-cli", line 453, in <module> > thisPyHocaCLI = PyHocaCLI(args, logger=logger, liblogger=liblogger) > File "/usr/lib/python3/site-packages/pyhoca/cli/frontend.py", line 380, in > __init__ > x2go.X2GoClient.__init__(self, broker_url=self.args.broker_url, > broker_password=self.args.broker_password, logger=liblogger, > **_backend_kwargs) > File "/usr/lib/python3/site-packages/x2go/client.py", line 314, in __init__ > self.session_profiles = > self.profiles_backend(config_files=[_sessions_config_file], > logger=self.logger, broker_url=broker_url, broker_password=broker_password, > broker_noauth=broker_noauth) > TypeError: __init__() got an unexpected keyword argument 'config_files > * * * SSH брокер еще не поддерживается: https://code.x2go.org/gitweb?p=python-x2go.git;a=blob;f=x2go/backends/profiles/sshbroker.py;h=2fdbd8ab664d803a1bf8b868fd8a2af20645ad43;hb=HEAD#l62 >raise X2GoNotImplementedYetException('HTTPSBROKER backend support is not implemented yet') Пропатчил в python3-module-x2go 0.6.1.3-alt2 |