Hi Kermit
----- Original message -----
OK made a bit of progress. I've got the session profile defined in the config file, and I'm getting the x2go client to communicate with the session broker. It seems though, that things are breaking when the session broker tries to communicate with the broker agent.
I get an internal server error console message on the terminal where I'm trying to launch x2goclient. When I look in the apache logs, I see the following error from the virtual host for the wsgi session broker:
<VirtualHost *:443> ServerName broker.lanl.gov [Fri Nov 01 11:12:51 2013] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming no[Sat Nov 02 00:48:11 2013] [error]
[Sat Nov 02 00:48:11 2013] [error] [Sat Nov 02 00:48:11 2013] [error] [Sat Nov 02 00:48:11 2013] [error] Authentication (publickey) successful! [Sat Nov 02 00:48:11 2013] [error] [chan 1] Max packet in: 34816 bytes [Sat Nov 02 00:48:11 2013] [error] [chan 1] Max packet out: 32768 bytes [Sat Nov 02 00:48:11 2013] [error] Secsh channel 1 opened. [Sat Nov 02 00:48:11 2013] [error] [chan 1] Sesch channel 1 request ok [Sat Nov 02 00:48:11 2013] [error] [chan 1] EOF received (1) [Sat Nov 02 00:48:11 2013] [error] Uncaught exception POST /plain/inifile (xxx.xxx.xxx.xxx) [Sat Nov 02 00:48:11 2013] [error] <tornado.wsgi.HTTPRequest object at 0x7fc8c0927dd0> [Sat Nov 02 00:48:11 2013] [error] Traceback (most recent call last): [Sat Nov 02 00:48:11 2013] [error] File "/usr/lib/python2.7/dist-packages/tornado/web.py", line 954, in _execute [Sat Nov 02 00:48:11 2013] [error]
getattr(self, self.request.method.lower())(*args, **kwargs) [Sat Nov 02 00:48:11 2013] [error] File "/usr/lib/python2.7/dist-packages/x2gobroker/web/plain.py", line 136, in post [Sat Nov 02 00:48:11 2013] [error] profiles = broker_backend.list_profiles(username) [Sat Nov 02 00:48:11 2013] [error] File "/usr/lib/python2.7/dist-packages/x2gobroker/brokers/base_broker.py", line 862, in list_profiles [Sat Nov 02 00:48:11 2013] [error]
running_sessions, suspended_sessions = x2gobroker.agent.has_sessions(username, query_mode=agent_query_mode, remote_agent=remote_agent) [Sat Nov 02 00:48:11 2013] [error] File "/usr/lib/python2.7/dist-packages/x2gobroker/agent.py", line 230, in has_sessions [Sat Nov 02 00:48:11 2013] [error] return ([ s.split('|')[3] for s in _session_list if s.split('|')[4] == 'R' ], [ s.split('|')[3] for s in _session_list if s.split('|')[4] == 'S' ]) [Sat Nov 02 00:48:11 2013] [error] TypeError: 'NoneType' object is not iterableDo I have to actually modify something in the broker agent's configuration? What might I have done wrong in a configuration file on the session broker server?
Thanks!!! -Kermit
I really have to release 0.0.3.0 which is currently in x2gobroker.git master branch and in our nightly builds.
Please use that version (which still is a development snapshot and a preview, but in terms of the agent more robust).
Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976148
GnuPG Key ID 0x25771B13 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de