Skip to content

BUG: APIC Database Size check fails unless /debug is listed#446

Description

@mari9825

(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:

  1. Use an APIC cluster running version 5.2(2e) (15.2(2e)).
  2. Run ACI Pre-Upgrade Validation Script v4.3.0.
  3. Run the APIC Database Size validation without first running ls /debug.
  4. Observe that collection of /debug/<APIC-hostname>/<DME>/mitmocounters/mo fails with No such file or directory.
  5. Run ls /debug.
  6. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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