[X2Go-User] testing session broker in WSGI/plain/inifile configuration
Short, Kermit
k_short at lanl.gov
Sat Nov 2 22:14:01 CET 2013
Thanks Mike! That brings up a few questions for me, though. I'm at home, and don't have to contend with the firewalls on the workplace networks, but I can never seem to clone any of the source repos. More than likely, I'm doing something wrong with the git command, but whenever I try to clone through our (mandatory) http proxy, the clone command just sits there for about 5 minutes, and then errors out.
I just tried to clone the x2gobroker.git project (at home) as follows:
git clone http://git.x2go.org/projects x2gobroker.git
or subsequently:
git clone http://git.x2go.org x2gobroker.git
and I get the following error (from either repository path):
Initialized empty Git repository in /lclhome/k_short/work/x2gobroker.git/.git/
warning: remote HEAD refers to nonexistent ref, unable to checkout.
If you can help me remove the idiot factor with my clone attempts, I'd appreciate it!
Once I do manage to get a clone of the source, should I be uninstalling the existing x2gobroker-* packages installed on my session broker server? How would I then go about installing the binaries after configure/make/make install from source? Can I leave at least something that I've done or do I blow it all away and start over with nightly build codes?
________________________________________
From: Mike Gabriel [mike.gabriel at das-netzwerkteam.de]
Sent: Saturday, November 02, 2013 2:23 AM
To: Short, Kermit; x2go-user at lists.berlios.de
Subject: RE: [X2Go-User] testing session broker in WSGI/plain/inifile configuration
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
> iterable
>
> Do 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 at das-netzwerkteam.de, http://das-netzwerkteam.de
More information about the x2go-user
mailing list