JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for LCG-ROLLOUT Archives


LCG-ROLLOUT Archives

LCG-ROLLOUT Archives


LCG-ROLLOUT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCG-ROLLOUT Home

LCG-ROLLOUT Home

LCG-ROLLOUT  2003

LCG-ROLLOUT 2003

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: stuck on pbs

From:

Emanuele LEONARDI <[log in to unmask]>

Reply-To:

LHC Computer Grid - Rollout <[log in to unmask]>

Date:

Thu, 6 Nov 2003 09:34:36 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (154 lines)

Hi Joe.

This is strange: the "any WN must be able to ssh to any other WN"
requirement has been there at least since release 1 of the EDG software,
last year and we, meaning LCG, did not touch that part of the code,
especially not between LCG1-1_1_0 and LCG1-1_1_1.

A few changes to the pbs jobmanager were added between LCG1-1_0_1 and
LCG1-1_1_0, but in a different part of the code. In any case I will
investigate with David Smith who did the modifications to the jobmanager.

Cheers

              Emanuele


Joe Kaiser wrote:
> Hi,
>
> Thanks very much for your help.  I have been trying to figure out what I
> had done wrong in my PBS configuration.  This proved enlightening.  My
> comments are below.
>
> On Wed, 2003-11-05 at 02:53, Emanuele LEONARDI wrote:
>
>>Hi Joe.
>>
>>Let me see if I understood your problem:
>>
>>1) you logon the CE, su to a virtual account, submit a job with qsub and
>>this works fine (i.e. pbs is correctly configured)
>>2) you run a globus-job-run command from your UI to the CE using the
>>default fork jobmanager and this also works (i.e. the gatekeeper is
>>correctly configured)
>>3) you run a jdl with edg-job-submit to your CE and it works fine (i.e.
>>the whole system seems to work fine)
>>4) you run a globus-job-run command from your UI to the CE using the pbs
>>jobmanager and this fails
>>
>
>
> These are all correct.
>
>
>>If this description is correct (my tests show this, anyway) then I know
>>what is the problem. The pbs jobmanager from globus has an interesting
>>feature: when a job is submitted without specifying if it is a simple
>>job or an MPI one, the jobmanager defaults to MPI. MPI jobs are handled
>>fine buy most batch systems but not by PBS, so the jobmanager usees a
>>dirty trick: it wraps the job into a special script and then submits it
>>as a non-MPI job. When this script is started it spawns all the sub-jobs
>>composing the MPI job, sending one job per known WN. Of course it
>>assumes that each and every WN can do a passwordless ssh connection to
>>any other WN. Now, if the MPI job is in fact a simple job which appears
>>as MPI because of the jobmanager defaulting to it, then the wrapper is
>>added anyway and when the job starts on a WN it tries and uses ssh to
>>run a job on... the WN itself.
>>
>>If at your site passwordless ssh connection is completely disabled, then
>>the wrapper will not be able to run the job with ssh and you get the
>>message you see.
>>
>
> This is true for our site.  We do not have the option for ssh
> communication unless kerberos authentication becomes a part of PBS.
>
>
>>If you did not explicitly change anything on the WNs to avoid ssh
>>passwordless login, then the problem might be the
>>/etc/ssh/ssh_known_hosts file containing some old public keys which are
>>not valid anymore (this may happen if you reinstalled some of the WNs or
>>the CE). In this case, you may try and delete all
>>/etc/ssh/ssh_known_hosts files on your WNs and your CE and then run on
>>each node the /opt/edg/sbin/edg-pbs-knownhosts (this is run every 6
>>hours anyway). Please let me know if you try this.
>>
>>As for the general weirdness of the way globus-job-run handles jobs on
>>pbs, Steve Traylen (I think) posted a couple of days ago a way to force
>>jobs to be tagged as non-MPI:
>>
>>globus-job-run hotdog46.fnal.gov/jobmanager-pbs -x '&(jobType=single)'
>>/bin/pwd'&(jobType=single)'
>>
>
>
> This worked though without having to specify '&(jobType=single)' before
> I upgraded to LCG1-1_1_1.  Was there a pbs upgrade that included the MPI
> "feature"?
>
> Thanks much,
>
> Joe
>
>
>>I tested it on your system and it works fine.
>>
>>Cheers
>>
>>              Emanuele
>>Joe Kaiser wrote:
>>
>>>Hi,
>>>
>>>I am stuck on PBS again.  I have followed the setup in the
>>>lcg1-notes.txt for not using ssh, i.e. using PBS with shared home
>>>areas.  Still, when I submit a job I get a:
>>>
>>> Permission denied (external-keyx,gssapi,keyboard-interactive).
>>>
>>>Which is an ssh error.  I can run jobs on the internal PBS system, i.e.
>>>if I submit from my head node the job runs and returns correctly.
>>>
>>>NO_SHARE_HOME and CE_JM_TYPE are undefined per the instructions.
>>>
>>>Any ideas of things I should check?
>>>
>>>Thanks,
>>>
>>>Joe
>>>
>>>--
>>>===================================================================
>>>Joe Kaiser - Systems Administrator
>>>
>>>Fermi Lab
>>>CD/OSS-SCS                Never laugh at live dragons.
>>>630-840-6444
>>>[log in to unmask]
>>>===================================================================
>>
>>
>>--
>>/------------------- Emanuele Leonardi -------------------\
>>| eMail: [log in to unmask] - Tel.: +41-22-7674066 |
>>|  IT division - Bat.31 2-012 - CERN - CH-1211 Geneva 23  |
>>\---------------------------------------------------------/
>
> --
> ===================================================================
> Joe Kaiser - Systems Administrator
>
> Fermi Lab
> CD/OSS-SCS                Never laugh at live dragons.
> 630-840-6444
> [log in to unmask]
> ===================================================================


--
/------------------- Emanuele Leonardi -------------------\
| eMail: [log in to unmask] - Tel.: +41-22-7674066 |
|  IT division - Bat.31 2-012 - CERN - CH-1211 Geneva 23  |
\---------------------------------------------------------/

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
November 2023
June 2023
May 2023
April 2023
March 2023
February 2023
September 2022
June 2022
May 2022
April 2022
February 2022
December 2021
November 2021
October 2021
September 2021
July 2021
June 2021
May 2021
February 2021
January 2021
November 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
February 2018
January 2018
November 2017
October 2017
September 2017
July 2017
June 2017
May 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager