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

Help for TB-SUPPORT Archives


TB-SUPPORT Archives

TB-SUPPORT Archives


TB-SUPPORT@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

TB-SUPPORT Home

TB-SUPPORT Home

TB-SUPPORT  April 2008

TB-SUPPORT April 2008

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: LCAS Authentication problem

From:

Graeme Stewart <[log in to unmask]>

Reply-To:

Testbed Support for GridPP member institutes <[log in to unmask]>

Date:

Tue, 15 Apr 2008 17:33:51 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (239 lines)

This has also been cropping up at Glasgow. In particular we can  
identify that the gatekeeper segfaults, e.g., an excerpt from /var/log/ 
messages looks like:

Apr 15 16:23:08 svr021 GRAM gatekeeper[31646]: Authenticated globus  
user: /O=GRID-FR/C=FR/O=INSERM/OU=GEMPC/CN=Alexandru Munteanu
Apr 15 16:23:08 svr021 kernel: globus-gatekeep[31685]: segfault at  
0000000000000046 rip 0000000000b86259 rsp 00000000ffff9d68 error 4

strace doesn't seem to add much to the equation.

It doesn't segfault reliably, but it only does it when people have  
VOMS credentials. It's not one VO, but it's reasonably consistent  
about who it will segfault on at any particular time.

Restarts or reconfiguration seems to provoke it to segfault for  
different users (we iterate restarts until it doesn't fail SAM tests  
or any of our heavy users - then we tend to leave it be).

If the segfault happens when the job is being submitted it provokes a  
"10 data transfer to the server failed" when gridftp fails. If it  
happens during job polling it seems to be fairly harmless.

I have tried commenting out the lcas_voms.mod in lcas.db, but this  
doesn't seem to help. It seems that the segfault happens a while after  
this.

Does any one else see this? ("grep segfault /var/log/messages" is a  
quick way to look.)

Cheers

Graeme

On 15 Apr 2008, at 11:15, Phil Roffe wrote:
> I deleted the file /etc/grid-security/vomsdir/atlas/lcg- 
> voms.cern.ch.lsc but no success...
>
> TIME: Tue Apr 15 11:05:47 2008
> PID: 8611 -- Notice: 5: Authenticated globus user: /C=UK/O=eScience/ 
> OU=QueenMaryLondon/L=Physics/CN=steve lloyd
> lcas client name: /C=UK/O=eScience/OU=QueenMaryLondon/L=Physics/ 
> CN=steve lloyd
> LCAS   0:
> LCAS   1: Initialization LCAS version 1.3.7.0
> allowing empty credentials
> LCAS   2: LCAS authorization request
> LCAS   0:       lcas_userban.mod-plugin_confirm_authorization():  
> checking banned users in /opt/glite/etc/lcas/ban_users.db
> LCAS   0:       lcas_plugin_voms- 
> plugin_confirm_authorization_from_x509(): Did not find a matching VO  
> entry in the authorization file
> LCAS   0: 2008-04-15.11:05:47 :         lcas_plugin_voms- 
> plugin_confirm_authorization_from_x509(): voms plugin failed
> LCAS   0: lcas.mod-lcas_run_va(): authorization failed for plugin / 
> opt/glite/lib/modules/lcas_voms.mod
> LCAS   0: lcas.mod-lcas_run_va(): failed
>
> I'm going to spend a bit of time this afternoon looking at it again  
> so I'll keep you informed with my progress.  If you have any ideas  
> let me know.
>
> Cheers,
> Phil
>
> ---
> Phil Roffe - [log in to unmask]
>
> IPPP, Department of Physics, Durham University,
> Science Laboratories, South Road, Durham, DH1 3LE
> Direct Dial: +44 (0)191 3343704
> Office: +44 (0)191 334 3811
>
>
>
> Alessandra Forti wrote:
>> Hi Phil,
>>
>> it shouldn't make any difference but lcg-voms.cern.ch as it is  
>> obsolete.
>> Could you try?
>>
>> cheers
>> alessandra
>>
>>
>>
>> Phil Roffe wrote:
>>> Hi Alessandra,
>>>
>>> [root@ce01 ~]# ls -la /etc/grid-security/vomsdir/
>>> total 144
>>> drwxr-xr-x  20 root root 4096 Apr 10 17:57 .
>>> drwxr-xr-x   6 root root 4096 Apr 14 17:16 ..
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 atlas
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 biomed
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 camont
>>> -rw-r--r--   1 root root 4627 Feb 21 03:48 cclcgvomsli01.in2p3.fr. 
>>> 1881
>>> -rw-r--r--   1 root root 4612 Feb 21 03:48 cclcgvomsli01.in2p3.fr. 
>>> 3292
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 cdf
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 cms
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 dteam
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 gridpp
>>> -rw-r--r--   1 root root 5132 Mar  5 13:32 grid-voms.desy.de
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 ilc
>>> -rw-r--r--   1 root root 5932 Feb 21 03:48 lcg-voms.cern.ch. 
>>> 2007-05-07
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 lhcb
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 mice
>>> -rw-r--r--   1 root root 2138 Apr 10 17:09  
>>> NEW.voms.gridpp.ac.uk.cert.pem
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 ngs.ac.uk
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 ops
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 pheno
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 supernemo.vo.eu-egee.org
>>> drwxr-xr-x   7 root root 4096 Mar 28 10:09 .svn
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 totalep
>>> -rw-r--r--   1 root root 5912 Feb 21 03:48 voms.cern.ch.2007-10-15
>>> -rw-r--r--   1 root root 2138 Jan  2 23:08  
>>> voms.gridpp.ac.uk.hostcert.pem
>>> -rw-r--r--   1 root root 5938 Feb 21 03:48 voms-test.cern.ch. 
>>> 2007-10-15
>>> -rw-r--r--   1 root root 4821 Feb 21 03:48 vo.racf.bnl.gov.15998
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 vo.scotgrid.ac.uk
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 zeus
>>>
>>> [root@ce01 ~]# ls -la /etc/grid-security/vomsdir/atlas/
>>> total 16
>>> drwxr-xr-x   2 root root 4096 Mar 19 20:10 .
>>> drwxr-xr-x  20 root root 4096 Apr 10 17:57 ..
>>> -rw-r--r--   1 root root  103 Apr 11 10:25 lcg-voms.cern.ch.lsc
>>> -rw-r--r--   1 root root   99 Apr 11 10:25 voms.cern.ch.lsc
>>>
>>> I investigated the certificates and even removed them all and  
>>> replaced them with the working ones from the backup before the  
>>> upgrade... but no success.  I even copied the certs from Glasgows  
>>> working CE but again to no avail.  From what I can tell the  
>>> vomsdir is correct... unless you can see something?
>>>
>>> Also, the atlas VO is configured correctly...
>>> [root@ce01 ~]# cat /opt/glite/yaim/etc/vo.d/atlas
>>> SW_DIR=$VO_SW_DIR/atlas
>>> DEFAULT_SE=$DPM_HOST
>>> STORAGE_DIR=$DPM_BASE_PATH/atlas
>>> VOMS_SERVERS="'vomss://voms.cern.ch:8443/voms/atlas?/atlas/'"
>>> VOMSES="'atlas lcg-voms.cern.ch 15001 /DC=ch/DC=cern/OU=computers/ 
>>> CN=lcg-voms.cern.ch atlas' 'atlas voms.cern.ch 15001 /DC=ch/ 
>>> DC=cern/OU=computers/CN=voms.cern.ch atlas'"
>>> VOMS_CA_DN="'/DC=ch/DC=cern/CN=CERN Trusted Certification  
>>> Authority' '/DC=ch/DC=cern/CN=CERN Trusted Certification Authority'"
>>>
>>> Cheers,
>>> Phil
>>>
>>> Alessandra Forti wrote:
>>>> Hi Phil,
>>>>
>>>> what is the content of your /etc/grid-security/vomsdir ?
>>>>
>>>> Do you have the correct configuration for the CERN VOMS DN and  
>>>> VOMS CA DNs?
>>>>
>>>> cheers
>>>> alessandra
>>>>
>>>>
>>>> Phil Roffe wrote:
>>>>> Morning all,
>>>>>
>>>>> Durham are having a problem passing Steve Lloyd's tests due to  
>>>>> LCAS authentication.  Last month performed a clean reinstall to  
>>>>> SL4 CE and WNs and the problem has occurred since.   
>>>>> Interestingly some users are authenticated fine, but others are  
>>>>> not (e.g. Steve Lloyd).  The error message is...
>>>>>
>>>>> TIME: Mon Apr 14 09:43:05 2008
>>>>> PID: 6131 -- Notice: 5: Authenticated globus user: /C=UK/ 
>>>>> O=eScience/OU=QueenMaryLondon/L=Physics/CN=steve lloyd
>>>>> lcas client name: /C=UK/O=eScience/OU=QueenMaryLondon/L=Physics/ 
>>>>> CN=steve lloyd
>>>>> LCAS   0:
>>>>> LCAS   1: Initialization LCAS version 1.3.7.0
>>>>> allowing empty credentials
>>>>> LCAS   2: LCAS authorization request
>>>>> LCAS   0:       lcas_userban.mod-plugin_confirm_authorization():  
>>>>> checking banned users in /opt/glite/etc/lcas/ban_users.db
>>>>> LCAS   0:       lcas_plugin_voms- 
>>>>> plugin_confirm_authorization_from_x509(): Did not find a  
>>>>> matching VO entry in the authorization file
>>>>> LCAS   0: 2008-04-14.09:43:05 :         lcas_plugin_voms- 
>>>>> plugin_confirm_authorization_from_x509(): voms plugin failed
>>>>> LCAS   0: lcas.mod-lcas_run_va(): authorization failed for  
>>>>> plugin /opt/glite/lib/modules/lcas_voms.mod
>>>>> LCAS   0: lcas.mod-lcas_run_va(): failed
>>>>>
>>>>> This results in the "Job RetryCount (3) hit" and "10 data  
>>>>> transfer to the server failed" error.
>>>>> http://hepwww.ph.qmul.ac.uk/~lloyd/gridpp/atest.html
>>>>>
>>>>> I have narrowed the problem down to the LCAS plugin in /opt/ 
>>>>> glite/etc/lcas/lcas.db...
>>>>> #pluginname=lcas_voms.mod,pluginargs="-vomsdir /etc/grid- 
>>>>> security/vomsdir/ -certdir /etc/grid-security/certificates/ - 
>>>>> authfile /etc/grid-security/grid-mapfile -authformat simple - 
>>>>> use_user_dn"
>>>>>
>>>>> With the above line commented out (which I tried over the w/e)  
>>>>> then the user is successfully mapped and the job runs  
>>>>> successfully.  This does not seem to be the right solution to me  
>>>>> so I put the line back in and we are failing ATLAS tests again.   
>>>>> Glasgow have seen something similar with the CE segfaulting, but  
>>>>> fixed it by reconfiguring and running YAIM... which doesn't seem  
>>>>> to work for me.
>>>>>
>>>>> Currently up-to-date with all RPMS, running 32bit SL4.6.  I have  
>>>>> tried reinstalling the RPMs and running YAIM again but to no  
>>>>> avail.  Certificates seem to be installed correctly and user is  
>>>>> in the the grid-mapfile.
>>>>> # rpm -qa | grep lcas
>>>>> glite-security-lcas-plugins-check-executable-1.2.1-1.slc4
>>>>> glite-security-lcas-interface-1.3.6-1.slc4
>>>>> glite-security-lcas-plugins-voms-1.3.3-1.slc4
>>>>> glite-security-lcas-1.3.7-0.slc4
>>>>> glite-security-lcas-plugins-basic-1.3.2-2.slc4
>>>>> glite-security-lcas-lcmaps-gt4-interface-0.0.13-1.slc4
>>>>> # rpm -qa | grep lcg-CA
>>>>> lcg-CA-1.20-1
>>>>>
>>>>> Has anyone else seen this issue? Any ideas?
>>>>>
>>>>> Cheers,
>>>>> Phil
>>>>>
>>>>
>>>
>>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 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
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 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
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002


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