Hi,
I have added this a bug, it will be fixed soon.
https://savannah.cern.ch/bugs/?func=detailitem&item_id=6924
Laurence
Ricardo Graciani wrote:
> Hi Laurence,
>
> The problem is still on this version, variables $Enabled and
> $Started are not reset when looping over the queues (lines 122 to 143 of
> /opt/lcg/libexec/lcg-info-dynamic-pbs) thus if the first queue processed
> (ie short) is in Production ($Enabled = 1 and $Started = 1) all other
> queues will also report the same Status.
>
> I have fixed it at Barcelona adding the lines:
>
> $Enabled=0;
> $Started=0;
>
> before
>
> while(<QSTAT>) {
> if (/^\s+resources_max.cput\s+=\s+(\S+)/){
>
> Regards,
>
>
> Ricardo
>
> ========================================================================
> ========
>
> Ricardo Graciani Diaz
>
> Dept. Estructura i Constituents de la Materia
> Facultat de Fisica Tel: +34 93 403 9183
> Universitat de Barcelona Fax: +34 93 402 1198
>
> Diagonal, 647
> E-08028 Barcelona
>
> ========================================================================
> ========
>
>
>
> > -----Mensaje original-----
> > De: LHC Computer Grid - Rollout [mailto:[log in to unmask]]
> En
> > nombre de Laurence
> > Enviado el: miércoles, 16 de febrero de 2005 12:43
> > Para: [log in to unmask]
> > Asunto: Re: [LCG-ROLLOUT] New InfoProviders don't seem to set
> > GlueCEStateStatus correctly
> >
> > Hi Chris,
> >
> > This bug has already been fixed.
> >
> > https://savannah.cern.ch/bugs/index.php?func=detailitem&item_id=6245
> <https://savannah.cern.ch/bugs/index.php?func=detailitem&item_id=6245>
> >
> > Fixed lcg-info-dynamic-pbs-1.0.3-1
> >
> > Please check that you have this rpm installed.
> >
> > Laurence
> >
> >
> > Brew, CAJ (Chris) wrote:
> >
> > > Hi,
> > >
> > > I tried to disable the VO queues of on our old RH73 CE of VOs using
> our
> > > SL3 CE but it appears that the new info provider is not setting
> > > GlueCEStateStatus to Queuing or Closed when the status of the queue
> > > changes:
> > >
> > > Yours,
> > > Chris.
> > >
> > > [root@heplnx131 root]# qstat -Qf
> > > ...
> > > Queue: lhcbL
> > > queue_type = Execution
> > > Priority = 10
> > > total_jobs = 0
> > > state_count = Transit:0 Queued:0 Held:0 Waiting:0 Running:0
> > > Exiting:0
> > > from_route_only = False
> > > resources_max.cput = 168:00:00
> > > resources_max.pcput = 168:00:00
> > > resources_max.walltime = 336:00:00
> > > resources_min.cput = 30:00:00
> > > resources_default.neednodes = rh73
> > > resources_default.nodect = 1
> > > resources_default.nodes = 1
> > > resources_default.pcput = 168:00:00
> > > acl_group_enable = True
> > > acl_groups = lhcb
> > > resources_assigned.nodect = 0
> > > enabled = False
> > > started = True
> > > ...
> > >
> > > [root@heplnx131 root]# /opt/lcg/libexec/lcg-info-dynamic-pbs
> > > /opt/lcg/var/gip/lcg-info-generic.conf
> > > dn: GlueCEUniqueID=heplnx131.pp.rl.ac.uk:2119/jobmanager-lcgpbs-S,
> > > mds-vo-name=local, o=grid
> > > GlueCEInfoLRMSVersion: OpenPBS_2.4
> > > GlueCEInfoTotalCPUs: 20
> > > GlueCEStateFreeCPUs: 18
> > > ...
> > > dn:
> GlueCEUniqueID=heplnx131.pp.rl.ac.uk:2119/jobmanager-lcgpbs-lhcbL,
> > > mds-vo-name=local, o=grid
> > > GlueCEInfoLRMSVersion: OpenPBS_2.4
> > > GlueCEInfoTotalCPUs: 20
> > > GlueCEStateFreeCPUs: 18
> > > GlueCEPolicyMaxCPUTime: 10080
> > > GlueCEPolicyMaxWallClockTime: 20160
> > > GlueCEStateStatus: Production
> > > GlueCEStateTotalJobs: 0
> > > GlueCEStateWaitingJobs: 0
> > > GlueCEStateRunningJobs: 0
> > > GlueCEStateWorstResponseTime: 0
> > > GlueCEStateEstimatedResponseTime: 0
> > > ...
> > > [root@heplnx131 root]# qstop lhcbL
> > > [root@heplnx131 root]# /opt/lcg/libexec/lcg-info-dynamic-pbs
> > > /opt/lcg/var/gip/lcg-info-generic.conf
> > > ...
> > > n:
> GlueCEUniqueID=heplnx131.pp.rl.ac.uk:2119/jobmanager-lcgpbs-lhcbL,
> > > mds-vo-name=local, o=grid
> > > GlueCEInfoLRMSVersion: OpenPBS_2.4
> > > GlueCEInfoTotalCPUs: 20
> > > GlueCEStateFreeCPUs: 18
> > > GlueCEPolicyMaxCPUTime: 10080
> > > GlueCEPolicyMaxWallClockTime: 20160
> > > GlueCEStateStatus: Production
> > > GlueCEStateTotalJobs: 0
> > > GlueCEStateWaitingJobs: 0
> > > GlueCEStateRunningJobs: 0
> > > GlueCEStateWorstResponseTime: 0
> > > GlueCEStateEstimatedResponseTime: 0
> > >
> > >
> > >
> > > --
> > > Chris Brew ([log in to unmask]) +44 1235 446326
> > > Particle Physics Department
> > > Rutherford Appleton Laboratory
> > > Chilton, Didcot. Oxfordshire.
> > > OX11 0QX. United Kingdom.
> > >
>
|