Skip to content

check tries to parse files which don't exist in 6.0.8 #327

@thomas-stocker-rft

Description

@thomas-stocker-rft

(use upvote 👍 for attentions)
Describe the bug
There seems to be an issue with the dbsize check, trying to parse files which don't exist in this version.

Script output
APIC# python aci-preupgrade-validation-script.py
==== 2026-01-12T15-15-18+0000, Script Version v4.0.1 ====

!!!! Check https://github.com/datacenter/ACI-Pre-Upgrade-Validation-Script for Latest Release !!!!

To use a non-default Login Domain, enter apic#DOMAIN\USERNAME
Enter username for APIC login : admin
Enter password for corresponding User :

Gathering Node Information...

Current APIC Version...6.0(8f)
Lowest Switch Version...6.0(8f)

Gathering APIC Versions from Firmware Repository...

What is the Target Version? : 2

You have chosen version "6.1(5e)"

.....

cat: /debug/APIC/vmmmgr/mitmocounters/mo: No such file or directory
cat: /debug/APIC/policymgr/mitmocounters/mo: No such file or directory
cat: /debug/APIC/eventmgr/mitmocounters/mo: No such file or directory
cat: /debug/APIC/policydist/mitmocounters/mo: No such file or directory

.....
To Reproduce
Steps to reproduce the behavior such as:
Run the script on version 6.0.8 with the target version 6.1.5

Expected behavior
if the files are not there they should not be parsed or errors suppressed if expected not to be there

Additional context
Add any other context about the problem here.

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