Skip to content

getProxyinfo to get group properties #7661

Answered by andresailer
zhangxiaomei asked this question in Q&A
Discussion options

You must be logged in to vote

The script pasted above wasn't the full script. The full script in fact had a large number of additional import statements, including (from memory)

from DIRAC.Interfaces.API.Dirac import DIRAC
from DIRAC.Interfaces.API.Job import Job

at the top level before parseCommandLine is called. This caused an early invocation of proxyInfo which scrubbed the group and voms information at CNAF and IN2P3. Moving the import statements into their functions fixed the use of the script at CNAF and IN2P3.

It is not clear why this script worked out of the box at IHEP, but maybe the box was different at IHEP.

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@zhangxiaomei
Comment options

Comment options

You must be logged in to vote
3 replies
@andresailer
Comment options

@zhangxiaomei
Comment options

@zhangxiaomei
Comment options

Comment options

You must be logged in to vote
2 replies
@andresailer
Comment options

@zhangxiaomei
Comment options

Comment options

You must be logged in to vote
2 replies
@zhangxiaomei
Comment options

@andresailer
Comment options

Answer selected by andresailer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants