Bug #6436
Client not able to find credentials first time
Description
This happens only first time when you login into the node and dont have any X509 credentials. Any invocation of jobsub client commands after this work. This is a bug and client should generate the credentials if required and use them.
[parag@fermicloud337 jobsub]$ ls altrh /tmp/. 2 root root 4.0K Jul 27 2011 pulse-yLVGxFhttUPW
total 36K
drwx-----
drwx------. 2 root root 4.0K Jul 27 2011 .esd-0
drwxrwxrwt 2 root root 4.0K Mar 27 21:28 .ICE-unix
dr-xr-xr-x. 45 root root 4.0K Apr 19 03:08 ..
drwxr-xr-x 2 root root 4.0K Apr 24 05:00 hsperfdata_rootrw------ 1 root root 865 Jun 10 05:00 yum.conf.security
drwx------ 2 parag docs 4.0K Jun 10 15:58 ssh-HfXgMZg691rw------ 1 parag docs 765 Jun 10 15:58 krb5cc_11017_wtzgpjp689
drwxrwxrwt. 7 root root 4.0K Jun 10 15:58 .
[parag@fermicloud337 jobsub]$ ./client/jobsub_q.py
Traceback (most recent call last):
File "./client/jobsub_q.py", line 134, in <module>
sys.exit(main(sys.argv))
File "./client/jobsub_q.py", line 118, in main
js_client = JobSubClient(options.jobsubServer, options.acctGroup, None, [])
File "/cloud/login/parag/wspace/jobsub/code/jobsub/client/jobsubClient.py", line 54, in init
self.acctRole = get_acct_role(acct_role, self.credentials.get('env_cert', self.credentials.get('cert')))
File "/cloud/login/parag/wspace/jobsub/code/jobsub/client/jobsubClient.py", line 467, in get_acct_role
voms_proxy = jobsubClientCredentials.VOMSProxy(proxy)
File "/cloud/login/parag/wspace/jobsub/code/jobsub/client/jobsubClientCredentials.py", line 105, in init
X509Proxy.__init__(self, proxy_file=proxy_file)
File "/cloud/login/parag/wspace/jobsub/code/jobsub/client/jobsubClientCredentials.py", line 78, in init
self.proxy_file = self.getDefaultProxyFile()
File "/cloud/login/parag/wspace/jobsub/code/jobsub/client/jobsubClientCredentials.py", line 97, in getDefaultProxyFile
raise CredentialsNotFoundError()
jobsubClientCredentials.CredentialsNotFoundError: Credentials not found
[parag@fermicloud337 jobsub]$ ls altrh /tmp/. 2 root root 4.0K Jul 27 2011 pulse-yLVGxFhttUPW
total 40K
drwx-----
drwx------. 2 root root 4.0K Jul 27 2011 .esd-0
drwxrwxrwt 2 root root 4.0K Mar 27 21:28 .ICE-unix
dr-xr-xr-x. 45 root root 4.0K Apr 19 03:08 ..
drwxr-xr-x 2 root root 4.0K Apr 24 05:00 hsperfdata_rootrw------ 1 root root 865 Jun 10 05:00 yum.conf.security
drwx------ 2 parag docs 4.0K Jun 10 15:58 ssh-HfXgMZg691rw------ 1 parag docs 1.2K Jun 10 15:58 krb5cc_11017_wtzgpjp689rw------ 1 parag docs 2.7K Jun 10 15:58 jobsub_x509up_u11017
drwxrwxrwt. 7 root root 4.0K Jun 10 15:58 .
[parag@fermicloud337 jobsub]$
History
#1 Updated by Dennis Box over 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Estimated time set to 2.00 h
- First Occurred set to v0.3.1
verified that change fixes bug 6436
#2 Updated by Parag Mhashilkar over 6 years ago
- Status changed from Resolved to Closed
#3 Updated by Parag Mhashilkar over 6 years ago
- Due date set to 07/30/2014