Skip to content

Unused nxos images in Switch Node /bootflash may cause upgrade fail #375

@lingwa00

Description

@lingwa00

(use upvote 👍 for attentions)
Describe the enhancement
According to Cisco APIC Installation and ACI Upgrade and Downgrade Guide:
Beginning with the 6.0(3) release, the switch determines which image to install from the Cisco APIC based on the available memory of the switch instead of based on a static mapping. If the available memory of the switch is less than or equal to 24 GB, the switch installs the 32-bit image. If the available memory of the switch is greater than or equal to 32 GB, the switch may be upgraded to the 32-bit image first, then upgraded again to the 64-bit image, which results in two reboots during the upgrade process.

We encountered an issue where an unused nxos image left in bootflash interfered with the ACI 6.x dual step upgrade flow (32 bit → 64 bit) for switches with ≥32GB RAM, preventing the automatic 64 bit upgrade and leaving the node inactive.
The issue was recovered by removing the unused nxos image from bootflash and triggering a manual upgrade.

Current behavior/output
The ACI-Pre-Upgrade-Validation-Script includes a check for "Switch Node /bootflash usage".
It currently verifies that /bootflash utilization is below a fixed 50% threshold; however, the 32-bit to 64-bit transition requires additional capacity that this check does not currently account for.

Suggested behavior/output
For switches with ≥32GB RAM, the upgrade to 6.x requires a dual step upgrade flow (32 bit → 64 bit), the script should also check for unused nxos images in bootflash, to ensure sufficient capacity for this process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions