(use upvote 馃憤 for attentions)
Describe the bug
On APIC version 5.2(2e) (15.2(2e)), the APIC Database Size validation fails because the script cannot read the mitmocounters/mo files for eventmgr, policydist, policymgr, and vmmmgr.
The counter files can be accessed only after running "ls /debug" first. Without this preliminary command, the script receives No such file or directory for paths.
This behavior prevents the validation from collecting APIC database object counters.
Script output
[Check 102/103] APIC Database Size... Unable to collect APIC database object counters ERROR !!
APIC ID DME Collection Error
------- --- ----------------
1 eventmgr Counter file is unavailable after 3 attempts: cat: /debug/<APIC-1>/eventmgr/mitmocounters/mo: No such file or directory
1 policydist Counter file is unavailable after 3 attempts: cat: /debug/<APIC-1>/policydist/mitmocounters/mo: No such file or directory
1 policymgr Counter file is unavailable after 3 attempts: cat: /debug/<APIC-1>/policymgr/mitmocounters/mo: No such file or directory
1 vmmmgr Counter file is unavailable after 3 attempts: cat: /debug/<APIC-1>/vmmmgr/mitmocounters/mo: No such file or directory
(reproduced on all five APICs and for all four DMEs)
To Reproduce
Steps to reproduce the behavior such as:
- Use an APIC cluster running version 5.2(2e) (15.2(2e)).
- Run ACI Pre-Upgrade Validation Script v4.3.0.
- Run the APIC Database Size validation without first running ls /debug.
- Observe that collection of /debug/<APIC-hostname>/<DME>/mitmocounters/mo fails with No such file or directory.
- Run ls /debug.
- Retry access to the same counter-file paths and observe that they become accessible.
Expected behavior
The APIC Database Size validation should collect the required mitmocounters/mo files without requiring a manual ls /debug command beforehand.
Additional context
Add any other context about the problem here.
(use upvote 馃憤 for attentions)
Describe the bug
On APIC version 5.2(2e) (15.2(2e)), the APIC Database Size validation fails because the script cannot read the mitmocounters/mo files for eventmgr, policydist, policymgr, and vmmmgr.
The counter files can be accessed only after running "ls /debug" first. Without this preliminary command, the script receives No such file or directory for paths.
This behavior prevents the validation from collecting APIC database object counters.
Script output
(reproduced on all five APICs and for all four DMEs)
To Reproduce
Steps to reproduce the behavior such as:
Expected behavior
The APIC Database Size validation should collect the required mitmocounters/mo files without requiring a manual ls /debug command beforehand.
Additional context
Add any other context about the problem here.