Skip to content

bad float/int [MachineAttrGPUs_GlobalMemoryMb0] #25

Description

@alemsh

Seeing the following in logs

INFO root : bad float/int [MachineAttrGPUs_GlobalMemoryMb0]: classad.classad.Value.Undefined
Traceback (most recent call last):
  File "/monitoring/condor_utils.py", line 633, in filter_keys
    data[k] = float(data[k])
classad.ClassAdValueError: Unable to convert expression to numeric type.

It seems that these are a classad expression, and could probably be evaluated like

data[k] = float(data[k].eval())

which would reduce the amount of errors that clog the logs

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions