Giter Site home page Giter Site logo

Comments (10)

Albert-IC avatar Albert-IC commented on August 14, 2024 1

Okay that appears to have solved the looping proxy issue. Thanks to you both for your assistance

from ganga.

mesmith75 avatar mesmith75 commented on August 14, 2024

What happens if you do

credential_store.create(DiracProxy())

from ganga.

Albert-IC avatar Albert-IC commented on August 14, 2024

This also spawns a proxy creation loop

from ganga.

mesmith75 avatar mesmith75 commented on August 14, 2024

What exactly is the printout?

from ganga.

Albert-IC avatar Albert-IC commented on August 14, 2024

Here is the full printout (with minor edits to remove personal information). This loop of proxies just keeps going.

[15:51:23]                                                                                                                                                                                                                                                                                                                                                                               
Ganga In [9]: credential_store.create(DiracProxy())                                                                                                                                                                                                                                                                                                                                      
Generating proxy...                                                                                                                                                                                                                                                                                                                                                                      
Enter Certificate password:                                                                                                                                                                                                                                                                                     
Contacting CS...                                                                                                                                                                                                                                                                                                                                                                         
Checking DN /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>                                                                                                                                                                                                                                                                                                                       
Username is <first>.<last>                                                                                                                                                                                                                                                                                                                                                                 
Creating proxy for <first>.<last>@<vo>_user (/C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>)                                                                                                                                                                                                                                                                                         
Added VOMS attribute /<vo>                                                                                                                                                                                                                                                                                                                                                                 
Uploading proxy..                                                                                                                                                                                                                                                                                                                                                                        
Uploading /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name> proxy to ProxyManager...                                                                                                                                                                                                                                                                                                
Loading user proxy                                                                                                                                                                                                                                                                                                                                                                       
Uploading proxy on-the-fly                                                                                                                                                                                                                                                                                                                                                               
Cert file /home/hep/<USER>/.globus/usercert.pem                                                                                                                                                                                                                                                                                                                                          
Key file  /home/hep/<USER>/.globus/userkey.pem                                                                                                                                                                                                                                                                                                                                           
Loading cert and key                                                                                                                                                                                                                                                                                                                                                                     
User credentials loaded                                                                                                                                                                                                                                                                                                                                                                  
 Uploading...                                                                                                                                                                                                                                                                                                                                                                            
Proxy uploaded                                                                                                                                                                                                                                                                                                                                                                           
Proxy generated:                                                                                                                                                                                                                                                                                                                                                                         
subject      : /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>/CN=.../CN=...                                                                                                                                                                                                                                                                                          
issuer       : /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>/CN=...                                                                                                                                                                                                                                                                                                       
identity     : /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>                                                                                                                                                                                                                                                                                                                    
timeleft     : 23:53:58                                                                                                                                                                                                                                                                                                                                                                  
DIRAC group  : <vo>_user                                                                                                                                                                                                                                                                                                                                                                   
path         : /home/hep/<USER>/.x509_proxy:<vo>_user:<vo>_user                                                                                                                                                                                                                                                                                                                              
username     : <first>.<last>                                                                                                                                                                                                                                                                                                                                                              
properties   : NormalUser, JobSharing, AccountingMonitor                                                                                                                                                                                                                                                                                                                                 
VOMS         : True
VOMS fqan    : ['/<vo>']

Proxies uploaded:
 DN                                                     | Group | Until (GMT)
 /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name> |  | 2024/12/19 16:27
Generating proxy...
Enter Certificate password:   
Contacting CS...
Checking DN /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>
Username is <first>.<last>
Creating proxy for <first>.<last>@<vo>_user (/C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>)
Added VOMS attribute /<vo>
Uploading proxy..
Uploading /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name> proxy to ProxyManager...
Loading user proxy
Uploading proxy on-the-fly
Cert file /home/hep/<USER>/.globus/usercert.pem
Key file  /home/hep/<USER>/.globus/userkey.pem
Loading cert and key
User credentials loaded
 Uploading...
Proxy uploaded
Proxy generated:
subject      : /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>/CN=..../CN=...
issuer       : /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>/CN=...
identity     : /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>
timeleft     : 23:53:59
DIRAC group  : <vo>_user
path         : /home/hep/<USER>/.x509_proxy:<vo>_user:<vo>_user:<vo>_user:<vo>_user
username     : <first>.<last>
properties   : NormalUser, JobSharing, AccountingMonitor
VOMS         : True
VOMS fqan    : ['/<vo>']

Proxies uploaded:
 DN                                                     | Group | Until (GMT)
 /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name> |  | 2024/12/19 16:27
Generating proxy...
Enter Certificate password:   
Contacting CS...
Checking DN /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>
Username is <first>.<last>
Creating proxy for <first>.<last>@<vo>_user (/C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>)
Added VOMS attribute /<vo>
Uploading proxy..
Uploading /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name> proxy to ProxyManager...
Loading user proxy
Uploading proxy on-the-fly
Cert file /home/hep/<USER>/.globus/usercert.pem
Key file  /home/hep/<USER>/.globus/userkey.pem
Loading cert and key
User credentials loaded
 Uploading...
Proxy uploaded
Proxy generated:
subject      : /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>/CN=.../CN=...
issuer       : /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>/CN=...
identity     : /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name>
timeleft     : 23:53:58
DIRAC group  : <vo>_user
path         : /home/hep/<USER>/.x509_proxy:<vo>_user:<vo>_user:<vo>_user:<vo>_user:<vo>_user:<vo>_user
username     : <first>.<last>
properties   : NormalUser, JobSharing, AccountingMonitor
VOMS         : True
VOMS fqan    : ['/<vo>']

Proxies uploaded:
 DN                                                     | Group | Until (GMT)
 /C=UK/O=eScience/OU=<OU>/L=Physics/CN=<full-name> |  | 2024/12/19 16:27
Generating proxy...
Enter Certificate password:

from ganga.

egede avatar egede commented on August 14, 2024

Can you test if you see the same behaviour when using the /cvmfs installation of Ganga. That would help us to narrow down the problem.

from ganga.

Albert-IC avatar Albert-IC commented on August 14, 2024

I observe the same behaviour when using /cvmfs/ganga.cern.ch/runGanga-dirac.sh

from ganga.

mesmith75 avatar mesmith75 commented on August 14, 2024

What do you see in ganga for:

config.DIRAC.proxyInfoCmd
config.DIRAC.proxyInitCmd

And what do the commands listed there produce on the command line?

from ganga.

Albert-IC avatar Albert-IC commented on August 14, 2024

So I see dirac-proxy-info and dirac-proxy-init as I would have expected.

dirac-proxy-info returns the information about my proxy.

dirac-proxy-init by itself does not work. I use dirac-proxy-init -g <vo>_user -M -C $HOME/.globus/usercert.pem -K $HOME/.globus/userkey.pem $@ whenever I make a proxy from the command line.

I have also just noticed that the dirac proxy does not resepct the "X509_USER_PROXY" env variable I have been using for generating voms proxies

from ganga.

mesmith75 avatar mesmith75 commented on August 14, 2024

So it sounds like you need to modify your ~/.gangarc. In there you can find the proxyInitCmd option, uncomment it and replace it with what you use on the command line.

from ganga.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.