Project

General

Profile

Bug #11144

Counting the idle glidein cores instead of the total

Added by Marco Mambelli over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Start date:
12/14/2015
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

When looking at the code to verify the accounting of glideins and cores I saw the following in the populate_status_dict_types(self) method of glideinFrontendElement:

        self.status_dict_types = {
            'Total': {
                'dict':self.status_dict,
                'abs':glideinFrontendLib.countCondorStatus(self.status_dict)
            },
            'Idle': {
                'dict':status_dict_idle,
                'abs':glideinFrontendLib.countCondorStatus(status_dict_idle)
            },
            'Running': {
                'dict':status_dict_running,
                'abs':glideinFrontendLib.countCondorStatus(status_dict_running)
            },
            'Failed': {
                'dict':status_dict_failed,
                'abs':glideinFrontendLib.countCondorStatus(status_dict_failed)
            },
            'TotalCores': {
                'dict':status_dict_idlecores,
                'abs':glideinFrontendLib.countCoresCondorStatus(self.status_dict)
            },
            'IdleCores': {
                'dict':status_dict_idlecores,
                'abs':glideinFrontendLib.countCoresCondorStatus(status_dict_idlecores)
            },
            'RunningCores': {
                'dict':status_dict_runningcores,
                'abs':glideinFrontendLib.countCoresCondorStatus(status_dict_runningcores)
            }
        }

TotalCores is assigned the wrong dictionary (the counting though uses the correct one).

History

#1 Updated by Marco Mambelli over 4 years ago

  • Status changed from Assigned to Feedback
  • Assignee changed from Marco Mambelli to Burt Holzman

code is in branch v3/111444

#2 Updated by Marco Mambelli over 4 years ago

  • Assignee changed from Burt Holzman to HyunWoo Kim

#3 Updated by HyunWoo Kim over 4 years ago

  • Status changed from Feedback to Assigned
  • Assignee changed from HyunWoo Kim to Marco Mambelli

I reviewed the one line that Marco changed.
There was not much for me to review as Marco found a simple bug and tested.
I am tossing this ticket back to Marco so he can close it.

#4 Updated by Marco Mambelli over 4 years ago

  • Status changed from Assigned to Resolved

#5 Updated by Parag Mhashilkar over 4 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF