Project

General

Profile

Bug #6882

rrdSupport broken when using the cmdline version

Added by Igor Sfiligoi over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Igor Sfiligoi
Category:
-
Target version:
Start date:
08/28/2014
Due date:
% Done:

0%

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

Description

The cmdline version of rrdSupport, i.e.rrdtool_exe is broken.
This is especially a problem since it is needed by the -fix-rrd reconfig option.

The problem is in the logic that determines the location of the cmdline tool.


Related issues

Related to GlideinWMS - Bug #6899: Frontend fix_rrd not reliableClosed08/29/2014

History

#1 Updated by Igor Sfiligoi over 5 years ago

  • Subject changed from rrdSupport broken when using the cmsline version to rrdSupport broken when using the cmdline version

Here is the offending code:

class rrdtool_exe:
    def __init__(self):
        self.rrd_bin = (subprocessSupport.iexe_cmd("which rrdtool")[0]).strip()

And here is the result:

$ dump_obj=rrdSupport.rrdtool_exe()
$ print  dump_obj.rrd_bin
'/'

with the rrdtool being in

$ which rrdtool
/usr/bin/rrdtool

#2 Updated by Igor Sfiligoi over 5 years ago

  • Status changed from New to Feedback
  • Assignee changed from Igor Sfiligoi to Parag Mhashilkar

Fixed in v3/6882.

Please review.

#3 Updated by Parag Mhashilkar over 5 years ago

  • Assignee changed from Parag Mhashilkar to Igor Sfiligoi

Changes look ok. Feel free to merge.

#4 Updated by Igor Sfiligoi over 5 years ago

  • Status changed from Feedback to Resolved

Merged into branch_v3_2 and master.

#5 Updated by Parag Mhashilkar over 5 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF