Project

General

Profile

Bug #6436

Client not able to find credentials first time

Added by Parag Mhashilkar almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
06/10/2014
Due date:
07/30/2014
% Done:

100%

Estimated time:
2.00 h
Spent time:
First Occurred:
Occurs In:
Stakeholders:
Duration: 51

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/
total 36K
drwx-----
. 2 root root 4.0K Jul 27 2011 pulse-yLVGxFhttUPW
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_root
rw------ 1 root root 865 Jun 10 05:00 yum.conf.security
drwx------ 2 parag docs 4.0K Jun 10 15:58 ssh-HfXgMZg691
rw------ 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/
total 40K
drwx-----
. 2 root root 4.0K Jul 27 2011 pulse-yLVGxFhttUPW
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_root
rw------ 1 root root 865 Jun 10 05:00 yum.conf.security
drwx------ 2 parag docs 4.0K Jun 10 15:58 ssh-HfXgMZg691
rw------ 1 parag docs 1.2K Jun 10 15:58 krb5cc_11017_wtzgpjp689
rw------ 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 almost 5 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 almost 5 years ago

  • Status changed from Resolved to Closed

#3 Updated by Parag Mhashilkar almost 5 years ago

  • Due date set to 07/30/2014


Also available in: Atom PDF