[AG-TECH] Problem with run BridgeServer in AG3.0.2

Andrew A Rowley Andrew.Rowley at manchester.ac.uk
Fri Mar 2 03:18:43 CST 2007


Hi,

It looks like your registry at "http://ag-mox.uniandes.edu.co/accessgrid/peers.txt" doesn't contain your peer aquel:8030; when I connect to it, it only contains 157.253.42.72:8030.  This may be the ip address of aquel, but you need to put the host name in the peers.txt file, and you need to make sure that this resolves correctly on windows (e.g. make sure that windows thinks your host name is aquel.uniandes.edu.co rather than just aquel).

Andrew :)

============================================
Access Grid Support Centre,
RSS Group,
Manchester Computing,
Kilburn Building,
University of Manchester,
Oxford Road,
Manchester, 
M13 9PL, 
UK
Tel: +44(0)161-275 0685
Email: Andrew.Rowley at manchester.ac.uk 

> -----Original Message-----
> From: owner-ag-tech at mcs.anl.gov [mailto:owner-ag-tech at mcs.anl.gov] On
> Behalf Of Eddy Diaz
> Sent: 02 March 2007 00:36
> To: 'Christoph Willing'
> Cc: ag-tech at mcs.anl.gov
> Subject: RE: [AG-TECH] Problem with run BridgeServer in AG3.0.2
> 
> 
> Christoph,
> 
> I tried with:
> 
> C:\Archivos de programa\AGTk-3\bin>Bridge3.py --name="Prueba"
> --location="Bogota, Colombia" --qbexec="C:\Archivos de
> programa\AGTk-3\bin\QuickBridge.exe"
> Traceback (most recent call last):
> File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 187, in ?
>     main()
> File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 182, in main
> bridgeServer = QuickBridgeServer(name=options.name,
> location=options.locatio
> n, listenPort=options.listenPort, qbexec=options.qbexec,
> portRange=options.portRange, registryUrl=options.registryUrl)
> File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 47, in __init__
>     self._RegisterWithRegistry()
> File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 84, in
> _RegisterWithRegistry
>     self.validSecs =
> self.registryClient.RegisterBridge(self.bridgeDescription)
>   File
> "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\Registry\RegistryCl
> ient.py", line 56, in RegisterBridge
>     return self.serverProxy.RegisterBridge(registeredServerInfo)
> AttributeError: 'NoneType' object has no attribute 'RegisterBridge'
> 
> 
> Then I tried with my own registry
> 
> C:\Python23\Lib\site-
> packages\AccessGrid3\AccessGrid\Registry>RegistryPeer.p
> y --port=8030
> --peerListUrl=http://ag-mox.uniandes.edu.co/accessgrid/peers.txt
> 
> Traceback (most recent call last):
>   File
> "C:\Python23\Lib\site-
> packages\AccessGrid3\AccessGrid\Registry\RegistryPeer.
> py", line 9, in ?
>     from AccessGrid.AGXMLRPCServer import AsyncAGXMLRPCServer
> ImportError: No module named AccessGrid.AGXMLRPCServer
> 
> I fix the problem adding at the beginning of the file RegistryPeer.py this
> lines
> 
> import agversion
> agversion.select(3)
> 
> Then I ran the registry again
> 
> C:\Python23\Lib\site-
> packages\AccessGrid3\AccessGrid\Registry>RegistryPeer.p
> y --port=8030
> --peerListUrl=http://ag-mox.uniandes.edu.co/accessgrid/peers.txt
> 
> Traceback (most recent call last):
>   File
> "C:\Python23\Lib\site-
> packages\AccessGrid3\AccessGrid\Registry\RegistryPeer.
> py", line 185, in ?
>     r = RegistryPeer(peerListUrl=options.peerListUrl, port=options.port)
>   File
> "C:\Python23\Lib\site-
> packages\AccessGrid3\AccessGrid\Registry\RegistryPeer.
> py", line 150, in __init__
>     RegistryBase.__init__(self, port, peerListUrl)
>   File
> "C:\Python23\Lib\site-
> packages\AccessGrid3\AccessGrid\Registry\RegistryPeer.
> py", line 44, in __init__
>     self._readPeerList(url=self.peerListUrl)
>   File
> "C:\Python23\Lib\site-
> packages\AccessGrid3\AccessGrid\Registry\RegistryPeer.
> py", line 59, in _readPeerList
>     raise Exception ("Error: this peer " + localPeerName + " is not listed
> in the master list.  The current registry requires all peers to know about
> each other.")
> Exception: Error: this peer aquel:8030 is not listed in the master list.
> The current registry requires all peers to know about each other.
> 
> 
> Thanks.
> 
> Eddy Johel Diaz Murcia edd-diaz at uniandes.edu.co
> Estudiante de Maestría Murcia en Ingeniería de Sistemas y computación
> Asistente graduado del Grupo IMAGINE Universidad de los Andes
> Carrera 1 N° 18A-10 Bloque W, Bogotá, Colombia
> Laboratorio de Informática Gráfica Teléfono: +57(1) 339 4949 Extensión
> 3462
> 
> -----Mensaje original-----
> De: Christoph Willing [mailto:willing at vislab.uq.edu.au]
> Enviado el: Jueves, 01 de Marzo de 2007 06:43 p.m.
> Para: Eddy Diaz
> CC: ag-tech at mcs.anl.gov
> Asunto: Re: [AG-TECH] Problem with run BridgeServer in AG3.0.2
> 
> 
> On 02/03/2007, at 12:35 PM, Eddy Diaz wrote:
> 
> > Hi, now I try in Windows XP with several options, and I try with my
> > own
> > registry too.
> >  I have the same Problem.
> 
> Eddy,
> 
> Try quoting the name, same as you did for location i.e. --
> name="Prueba" ....
> 
> 
> Also, I just noticed that you sometimes used --registryUrl=https://
> aquel.uniandes.edu.co:8000/Venues/default, which is incorrect - you
> need something like --registryUrl=http://ag-mox.uniandes.edu.co/
> accessgrid/peers.txt (as you previously tried).
> 
> So, I think what you need for Linux is:
>      Bridge --name="Prueba" --registryUrl=http://ag-
> mox.uniandes.edu.co/accessgrid/peers.txt --location="Bogota, Columbia"
> 
> where the peers.txt file should contain the name:port of the the
> machine running your registry; at the moment, that appears to be
> aquel.uniandes.edu.co:8030 - that machine needs to be running
> RegistryPeer.py with --port=8030 (thats the default anyway) and --
> peerListUrl=http://ag-mox.uniandes.edu.co/accessgrid/peers.txt
> (whatever you specified for --registryUrl for Bridge)
> 
> 
> chris
> 
> 
> 
> > C:\Archivos de programa\AGTk-3\bin>Bridge3.py --name=Prueba
> > --location="Bogota,
> > Colombia" --qbexec="C:\Archivos de programa\AGTk-3\bin
> > \QuickBridge.exe"
> >
> > Traceback (most recent call last):
> > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 187, in ?
> >     main()
> > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 182, in
> > main
> > bridgeServer = QuickBridgeServer(name=options.name,
> > location=options.locatio
> > n, listenPort=options.listenPort, qbexec=options.qbexec,
> > portRange=options.portRange, registryUrl=options.registryUrl)
> > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 47, in
> > __init__
> > self._RegisterWithRegistry()
> > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 84, in
> > _RegisterWithRegistry
> > self.validSecs = self.registryClient.RegisterBridge
> > (self.bridgeDescription)
> > File
> > "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\Registry
> > \RegistryClien
> > t.py", line 56, in RegisterBridge
> > return self.serverProxy.RegisterBridge(registeredServerInfo)
> > AttributeError: 'NoneType' object has no attribute 'RegisterBridge'
> >
> >
> > C:\Archivos de programa\AGTk-3\bin>Bridge3.py --name=Prueba
> > --registryUrl=http://ag-mox.uniandes.edu.co/accessgrid/peers.txt
> > --location="Bogota, Colombia" --qbexec="C:\Archivos de
> > programa\AGTk-3\bin\QuickBridge.exe"
> >
> > Traceback (most recent call last):
> > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 187, in ?
> >     main()
> > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 182, in
> > main
> > bridgeServer = QuickBridgeServer(name=options.name,
> > location=options.location, listenPort=options.listenPort,
> > qbexec=options.qbexec, portRange=options.portRange,
> > registryUrl=options.registryUrl)
> > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 47, in
> > __init__
> >     self._RegisterWithRegistry()
> > File "C:\Archivos de programa\AGTk-3\bin\Bridge3.py", line 84, in
> > _RegisterWithRegistry
> > self.validSecs = self.registryClient.RegisterBridge
> > (self.bridgeDescription)
> >   File
> > "C:\Python23\lib\sitepackages\AccessGrid3\AccessGrid\Registry
> > \RegistryCl
> > ient.py", line 56, in RegisterBridge
> >     return self.serverProxy.RegisterBridge(registeredServerInfo)
> > AttributeError: 'NoneType' object has no attribute 'RegisterBridge'
> >
> > Eddy Johel Diaz Murcia edd-diaz at uniandes.edu.co
> > Estudiante de Maestría Murcia en Ingeniería de Sistemas y computación
> > Asistente graduado del Grupo IMAGINE Universidad de los Andes
> > Carrera 1 N° 18A-10 Bloque W, Bogotá, Colombia
> > Laboratorio de Informática Gráfica Teléfono: +57(1) 339 4949
> > Extensión 3462
> >
> > -----Mensaje original-----
> > De: Eddy Diaz [mailto:eddy at uniandes.edu.co]
> > Enviado el: Martes, 20 de Febrero de 2007 09:05 a.m.
> > Para: Christoph Willing
> > CC: Eddy Diaz; ag-tech at mcs.anl.gov
> > Asunto: Re: [AG-TECH] Problem with run BridgeServer in AG3.0.2
> >
> > Hi Christoph
> >
> > I tried with this
> >
> > [eddy at aquel ~]$
> > Bridge --name=Prueba --url=https://aquel.uniandes.edu.co:8000/
> > Venues/default
> > --location="Bogota,
> > Colombia"
> > usage: Bridge [options]
> > Bridge: error: no such option: --url
> >
> > Then I tried with this
> >
> > [eddy at aquel ~]$
> > Bridge --name=Prueba
> > --registryUrl=https://aquel.uniandes.edu.co:8000/Venues/default
> > --location="Bogota,
> > Colombia"
> > Traceback (most recent call last):
> >   File "/usr/bin/Bridge", line 187, in ?
> >     main()
> >   File "/usr/bin/Bridge", line 182, in main
> >     bridgeServer = QuickBridgeServer(name=options.name,
> > location=options.location, listenPort=options.listenPort,
> > qbexec=options.qbexec, portRange=options.portRange,
> > registryUrl=options.registryUrl)
> >   File "/usr/bin/Bridge", line 47, in __init__
> >     self._RegisterWithRegistry()
> >   File "/usr/bin/Bridge", line 84, in _RegisterWithRegistry
> >     self.validSecs =
> > self.registryClient.RegisterBridge(self.bridgeDescription)
> > File
> > "/usr/lib/python2.4/site-packages/AccessGrid3/AccessGrid/Registry/
> > RegistryCl
> > ient.py",
> > line 108, in RegisterBridge
> >     return self.serverProxy.RegisterBridge(registeredServerInfo)
> > AttributeError: 'NoneType' object has no attribute 'RegisterBridge'
> >
> > The options provided by my bridge are:
> >
> > [eddy at aquel ~]$ Bridge
> > Error: No name specified
> > usage: Bridge [options]
> > options:
> >   -h, --help            show this help message and exit
> >   -p LISTENPORT, --listenPort=LISTENPORT
> >                         Port to listen on.
> >   -u REGISTRYURL, --registryUrl=REGISTRYURL
> >                         Url to the registry.  Bridge will register
> > with it.
> >   -r PORTRANGE, --portRange=PORTRANGE
> >                         Minimum and maximum port, space-separated.
> >   -q QBEXEC, --qbexec=QBEXEC
> >                         Location of QuickBridge executable.
> >   -n NAME, --name=NAME  Name.
> >   -l LOCATION, --location=LOCATION
> >                         Location.
> >
> > El Monday 19 February 2007 20:02:25 Christoph Willing escribió:
> >> On 20/02/2007, at 2:51 PM, Eddy Diaz wrote:
> >>> I'm trying to run a bridge in Fedora core 6 and AccessGrid 3.0.2
> >>> but an error appears.
> >>>
> >>> $ Bridge --name=Prueba --location=https://aquel.uniandes.edu.co:
> >>> 8000/Venues/default
> >>
> >> Eddy,
> >>
> >> The --location option is for a descriptive string, not the server
> >> url. You should run with something like:
> >> 	Bridge --name=Prueba
> > --url=https://aquel.uniandes.edu.co:8000/Venues/
> >> default --location="Bogota, Colombia"
> >>
> >> chris
> >>
> >>> Traceback (most recent call last):
> >>> File "/usr/bin/Bridge", line 187, in ?
> >>> main()
> >>> File "/usr/bin/Bridge", line 182, in main
> >>> bridgeServer = QuickBridgeServer(name=options.name,
> >>> location=options.location, listenPort=options.listenPort,
> >>> qbexec=options.qbexec, portRange=options.portRange,
> >>> registryUrl=options.registryUrl)
> >>> File "/usr/bin/Bridge", line 47, in __init__
> >>> self._RegisterWithRegistry()
> >>> File "/usr/bin/Bridge", line 84, in _RegisterWithRegistry
> >>> self.validSecs = self.registryClient.RegisterBridge
> >>> (self.bridgeDescription)
> >>> File "/usr/lib/python2.4/site-packages/AccessGrid3/AccessGrid/
> >>> Registry/RegistryClient.py", line 107, in RegisterBridge
> >>> return self.serverProxy.RegisterBridge(registeredServerInfo)
> >>> AttributeError: 'NoneType' object has no attribute 'RegisterBridge'
> >>>
> >>>
> >>>
> >>> Eddy Johel Diaz edd-diaz at uniandes.edu.co
> >>>
> >>> Estudiante de Maestría  Murcia en Ingeniería de Sistemas y
> >>> computación
> >>>
> >>> Asistente graduado del Grupo IMAGINE Universidad de los Andes
> >>>
> >>> Carrera 1 N° 18A-10 Bloque W, Bogotá, Colombia
> >>>
> >>> Laboratorio de Informática Gráfica Teléfono: +57(1) 339 4949
> >>> Extensión 3462
> >>
> >> Christoph Willing                       +61 7 3365 8350
> >> QCIF Access Grid Manager
> >> University of Queensland
> >
> >
> >
> > --
> > Eddy Johel Diaz
> > edd-diaz at uniandes.edu.co
> > Estudiante de Maestría en Ingeniería de Sistemas y computación
> > Asistente graduado del Grupo IMAGINE
> > Universidad de los Andes
> > Carrera 1 Nro 18A-10 Bloque W, Bogotá, Colombia
> > Laboratorio de Informática Gráfica
> > Teléfono: +57(1) 339 4949 Extensión 3462
> >
> 
> Christoph Willing                       +61 7 3365 8350
> QCIF Access Grid Manager
> University of Queensland
> 
> 
> 
> 




More information about the ag-tech mailing list