[torquedev] Four patches for Torque 2.3.0
ssnelgrove at clusterresources.com
Thu Apr 24 13:39:45 MDT 2008
I am sorry about causing this problem. This came about because we had
some requests that Torque should be able to work with servers with
multiple Ethernet interfaces. It seemed wrong to be using gethostbyname
to find out the IP address of the machine when this function will only
return one of the interface addresses. It seemed better to just use the
IP address from the stream. But of course, I goofed and neglected to
also fix the corresponding check against okclients.
I have corrected the code and put back in the gethostbyname call when
the server gets added. This should correct the problem. I have checked
this code in and also made snapshots for 2.3 and 2.4 when the problem
Again, sorry about the problem. Thanks for your help in tracking this down.
Glen Beane wrote:
> It looks like this change was made in SVN revision 2014. I have
> contacted the developer that made the changes rather than just
> reverting them myself.
> On Tue, Apr 22, 2008 at 6:56 PM, Chris Samuel <csamuel at vpac.org
> <mailto:csamuel at vpac.org>> wrote:
> ----- "Eygene Ryabinkin" <rea+maui at grid.kiae.ru
> <mailto:rea%2Bmaui at grid.kiae.ru>> wrote:
> > Chris, good day.
> Hello Eygene,
> > Tue, Apr 22, 2008 at 10:17:47AM +1000, Chris Samuel wrote:
> > > Unfortunately my test job won't start on that node, its
> > > failing to start as the new mom rejects jobs with:
> > >
> > > 04/22/2008 10:14:50;0080; pbs_mom;Req;req_reject;Reject reply
> > > code=15008(Access from host not allowed, or unknown host
> > > MSG=request not authorized), aux=0, type=QueueJob, from
> > > PBS_Server at tango-m.vpac.org <mailto:PBS_Server at tango-m.vpac.org>
> > Ahh, I just saw the sources of 2.3.1: mom_server_add() no longer
> > calls 'tinsert(ipaddr,&okclients);', so $clienthost/$pbsserver
> > will not behave as usual.
> Yup, that's just the symptom we're seeing here.
> > Try the '$pbsclient' directive --
> > it should work in 2.3.1 in the sence that the given host will
> > be added to the 'okclients' tree.
> Ahh - well spotted!
> Yes, that now gets the 2.3.1 pbs_mom working now, great!
> > Looks like a regression to me, but it is too late in Russia to
> > judge for sure. Will return to this tomorrow, if some other
> > person would not confirm or reject my suspicions.
> Looks like you've hit the nail on the head, and it's certainly
> a change in the expected behaviour which I suspect won't go
> down too well with folks.
> Thanks so much for spotting that, very much appreciated!
> Christopher Samuel - (03) 9925 4751 - Systems Manager
> The Victorian Partnership for Advanced Computing
> P.O. Box 201, Carlton South, VIC 3053, Australia
> VPAC is a not-for-profit Registered Research Agency
> torquedev mailing list
> torquedev at supercluster.org <mailto:torquedev at supercluster.org>
More information about the torquedev