abhilekhsingh / gc3pie

Automatically exported from code.google.com/p/gc3pie
0 stars 0 forks source link

gtail fails on Missing attribute #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running gtail fails, see below.

mmonroe@ocikbs11:~/gtests$ gtail job.10762 -vvvvvvvvvvvvvvvvvv
gc3utils: DEBUG: readConfig adding authorization 'authorization/ssh1' 
gc3utils: DEBUG: readConfig adding authorization 'authorization/smscg' 
gc3utils: DEBUG: readConfig adding resource 'resource/ocikbpra' 
gc3utils: DEBUG: readConfig adding resource 'resource/smscg' 
gc3utils: DEBUG: readConfig adding resource 'resource/ocinh0' 
gc3utils: DEBUG: readConfig: read 3 resources from configuration file 
'/home/mmonroe/.gc3/gc3utils.conf'
gc3utils: DEBUG: creating instance of Resource object... 
gc3utils: DEBUG: Checking resource type arc
gc3utils: DEBUG: checking validity with True
gc3utils: DEBUG: creating instance of Resource object... 
gc3utils: DEBUG: Checking resource type ssh_sge
gc3utils: DEBUG: checking validity with True
gc3utils: DEBUG: creating instance of Resource object... 
gc3utils: DEBUG: Checking resource type ssh_sge
gc3utils: DEBUG: checking validity with True
gc3utils: DEBUG: Creating instance of Gcli
gc3utils: DEBUG: retrieving job from /home/mmonroe/.gc3/jobs/job.10762
gc3utils: DEBUG: Creating instance of type 1 for smscg
gc3utils: DEBUG: Checking authentication: GRID
gc3utils: CRITICAL: Missing attribute
gc3utils: CRITICAL: program failed due to: No attribute 'stdout_filename' on 
object {'status': 4, 'lrms_jobid': 
'gsiftp://idgc3grid01.uzh.ch:2811/jobs/747112837605681986531160', 
'job_local_dir': '/home/mmonroe/gtests', 'resource_name': 'smscg', 
'submission_time': '2010-09-06 10:09:28', 'unique_token': 'job.10762'}
gtail: ERROR: gkill failed
gc3utils: DEBUG: Exception: gkill failed
Traceback (most recent call last):
  File "/home/mmonroe/gc3pie/gc3utils/gc3utils/gcmd.py", line 173, in main
    rc = cmd(*sys.argv[1:], **{'opts':parser})
  File "/home/mmonroe/gc3pie/gc3utils/gc3utils/gcommands.py", line 496, in gtail
    raise Exception("gkill failed")
Exception: gkill failed

Original issue reported on code.google.com by markjmon...@gmail.com on 6 Sep 2010 at 8:13

GoogleCodeExporter commented 9 years ago
Fixed in Release 768

gtails terminates when job is in one of the following states:
UNKNOWN or SUBMITTED: fails with message 'Stdout/Stderr not ready yet' 
COMPLETED: fails with message 'Job results already retrieved'

all other cases, gtail tries to fetch results

Original comment by sergio.m...@gmail.com on 6 Sep 2010 at 10:33