Skip to content

F1820 - Equipment Disk Limits doesn't parse data properly for some fault version #369

@pcelarek

Description

@pcelarek

(use upvote 👍 for attentions)
Describe the bug
For some specific F1820 instance we don't print usage % properly

**Script output**
[Check 32/88] Equipment Disk Limits...                                                                            FAIL - UPGRADE FAILURE!!
  Pod  Node  Code   %   Description
  ---  ----  ----   -   -----------
  1    103   F1820  NA  Disk usage for /mnt/ifc/cfg is above normal

NA is visible instead of percentage

To Reproduce
Run a script when this kind instance of F1820 is there:

# fault.Inst
code             : F1820
ack              : no
alert            : no
annotation       : 
cause            : equipment-disk-limits-exceeded
changeSet        : avail:1959076, memAlert:minor, name:ifc:cfg, path:/mnt/ifc/cfg, used:8207252
childAction      : 
created          : 2026-02-28T17:13:04.323+00:00
delegated        : no
descr            : Disk usage for /mnt/ifc/cfg is above normal
dn               : topology/pod-1/node-107/sys/eqptcapacity/fspartition-ifc:cfg/fault-F1820
domain           : access
extMngdBy        : undefined
highestSeverity  : minor
lastTransition   : 2026-02-28T17:15:33.264+00:00
lc               : raised
modTs            : never
occur            : 1
origSeverity     : minor
prevSeverity     : minor
rn               : fault-F1820
rule             : eqptcapacity-fspartition-fs-partition-limits-exceeded-minor
severity         : minor
status           : 
subject          : high-disk-usage
title            : 
type             : operational
uid              : 
userdom          : all

The issue is with:

changeSet        : avail:1959076, memAlert:minor, name:ifc:cfg, path:/mnt/ifc/cfg, used:8207252

It this case it is different than what we see for other F1820 instances:

# fault.Inst
code             : F1820
cause            : equipment-disk-limits-exceeded
changeSet        : avail (New: 1525764), memAlert (New: minor), used (New: 9509248)

Seems like we may have different format in changeSet and script should have additional regex to parse this

Expected behavior
We should see % in the output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions