Opened 10 years ago

Last modified 9 years ago

#666 new defect

IZ3011: using qmon for qalter job not compatible with standard jsv settings

Reported by: crei Owned by:
Priority: low Milestone:
Component: sge Version: 6.2u3beta
Severity: Keywords: gui
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3011]

        Issue #:      3011             Platform:     All         Reporter: crei (crei)
       Component:     gridengine          OS:        All
     Subcomponent:    gui              Version:      6.2u3beta      CC:    None defined
        Status:       NEW              Priority:     P4
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    andre (andre)
      QA Contact:     andre
          URL:
       * Summary:     using qmon for qalter job not compatible with standard jsv settings
   Status whiteboard:
      Attachments:

     Issue 3011 blocks:
   Votes for issue 3011:


   Opened: Tue Apr 28 01:26:00 -0700 2009 
------------------------


When using qmon gui to modify a job the jsv_allowed_mod settings have to be set to allow all modifications when a jsv script is defined.
Otherwise the job is denied:


> qconf -sconf | grep jsv
jsv_url                      /MYPATH/simple_jsv_script.sh
jsv_allowed_mod              N

1) submit sleeper job in hold state (qsub -h $SGE_ROOT/examples/jobs/sleeper.sh 600)
2) start qmon job dialog
3) mark job and press qalter button
4) change job name and press qalter button

qmon cannot modify the name of a job. Following error message is reported:
rejected due to jsv_allowed_mod configuration which does not allow: h,t,p,js,a,cwd,l_hard,l_soft,R,j,o,i,e,m,M,notify,r,A,P,ckpt,pe_min .....

The command line qalter works:
> qalter -N blub8 1
modified job name of job 1


Here the jsv script in order to reproduce:

simple_jsv_script.sh:
#!/bin/sh
PATH=/bin:/usr/bin
jsv_on_start()
{
   return
}

jsv_on_verify()
{
   jsv_accept "Job is accepted"
}
. ${SGE_ROOT}/util/resources/jsv/jsv_include.sh
jsv_main



WORKAROUND:
To allow jsv job modifications for qmon
set jsv_allowed_mod (qconf) to the value
"h,t,N,p,js,a,cwd,l_hard,l_soft,R,j,o,i,e,m,M,q_soft,notify,r,h,t,N,p,js,a,cwd,l_hard,l_soft,R,j,o,i,e,m,M,notify,r,A,P,ckpt,pe_min,pe_name,q_hard,masterq,hold_jid,S,v,dl"

OR use the command line command "qalter".

Change History (0)

Note: See TracTickets for help on using tickets.