Opened 11 years ago

Closed 10 years ago

#807 closed defect (duplicate)

IZ3270: qalter with activated server side jsv throws misleading error

Reported by: ah_sunsource Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u5
Severity: minor Keywords: qmaster


[Imported from gridengine issuezilla]

        Issue #:      3270             Platform:     All      Reporter: ah_sunsource (ah_sunsource)
       Component:     gridengine          OS:        All
     Subcomponent:    qmaster          Version:      6.2u5       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    ernst (ernst)
      QA Contact:     ernst
       * Summary:     qalter with activated server side jsv throws misleading error
   Status whiteboard:

     Issue 3270 blocks:
   Votes for issue 3270:

   Opened: Thu Jul 1 23:33:00 -0700 2010 


qalter throws a misleading error in case one tries to modify a pending job's consumable resource and server side jsv is enabled. This is a
real life example:

for job in `qstat -u ahaupt -s p | egrep '[0..9]' | awk '{print $1}'`; do
    resourcelist=`qstat -j $job | grep 'hard resource' | awk -F : '{print $2}'`
    qalter -l $resourcelist -l h_vmem=2G $job

It produces error message like this:

denied: can't change consumable resource request "h_vmem" of running job
modified hard resource list of job 1349581

Well, the job isn't running - not yet. In the end it also does exactly what I want... Just the error message is wrong.


   ------- Additional comments from reuti Thu Jul 1 23:50:31 -0700 2010 -------
This isn't limited to having a JSV in the setup:

Change History (1)

comment:1 Changed 10 years ago by dlove

  • Resolution set to duplicate
  • Severity set to minor
  • Status changed from new to closed

Dusplicate of #806

Note: See TracTickets for help on using tickets.