Skip to content
labnotes.sh
ES

> note

Rebuilding a Cisco APIC on ACI 6.1(6g) after an MRAID scare and a duplicate LVM volume

·7 min read# networking# datacenter# storage
Contents · 8 sections
  1. The initial scare in HUU
  2. The hardware was fine; LVM wasn't
  3. Mounting the ISO when the firewall blocks reverse HTTP
  4. Clean install from vDVD
  5. First boot from disk
  6. Decommissioning the node even though it's the same chassis
  7. The new 6.1(6g) bringup portal and the password catch-22
  8. Cluster back at 3/3

Some maintenance windows wrap up in twenty minutes and others snowball until you end up rebuilding a controller from scratch. This was the second kind, on a physical APIC-SERVER-L4 (UCS C225 M6) in a three-node production ACI cluster, handled entirely remotely without stepping into the datacenter.

I'm writing it down because four issues collided here that either sit in separate corners of the docs or aren't documented at all: an MRAID controller that looks bricked in HUU when it isn't, a duplicate LVM volume group in initramfs, having to force-decommission the exact same physical server, and a password catch-22 in the new ACI 6.1(6g) bringup portal that will burn half an hour if you don't know what the backend is checking.

Item Reference
Server APIC-SERVER-L4 (UCS C225 M6, AMD EPYC 7443P, 192 GB RAM)
Cluster LAB-ACI, 3 nodes (APIC-01, APIC-02, APIC-03), Infra VLAN 3960
Node rebuilt APIC-01 (Controller ID 1, Pod 1, serial WZP2742XXXX)
Management CIMC 10.0.10.21 (APIC-01-CIMC), active peer APIC 10.0.10.12
Software ACI 6.1(6g), HUU 6.0.2.260143, CIMC 6.0(2.260094), BIOS C225M6.6.0.2c
Storage MRAID (UCSC-RAID-M6T + 480 GB SATA SSD), MSTOR-RAID (240 GB M.2), FRONT-NVME-1 (1.6 TB P5620)

The initial scare in HUU#

It started with a routine firmware upgrade using Cisco Host Upgrade Utility 6.0.2.260143. Midway through, the Cisco 12G SAS RAID Controller with 4GB FBWC (UCSC-RAID-M6T, slot MRAID) flipped to Running Version N/A and Firmware Update Failed. Worse, it vanished from CIMC's Storage inventory.

HUU 6.0.2.260143 showing MRAID as N/A and Firmware Update Failed

The reflex there is to re-flash immediately, which is a good way to actually break something. Before touching it I checked storaged logs on the CIMC and found the real error:

rc 0x802f: FW cannot resume the CMD over OOB since it is not active

The card wasn't dead. During the hot flash, MRAID actually finished writing 52.34.0-6415, then lost out-of-band communication while CIMC and BIOS were still running 4.3(4).

I let CIMC 6.0(2.260094) finish activating and ran a full PowerCycle so BIOS C225M6.6.0.2c could come up. Right after POST, MRAID came back on its own in Optimal / OK, already running 52.34.0-6415. The CVPM05 battery (100% Optimal), 480 GB SATA SSD (VD0 RAID0 Optimal), MSTOR-RAID M.2 (2.3.17.1019), and FRONT-NVME-1 P5620 (9CV10510) all showed 0 active faults.

CIMC 6.0(2.260094) summary with BIOS 6.0.2c and Good health CIMC Storage inventory with every controller healthy

The hardware was fine; LVM wasn't#

With the storage back in green, I tried booting the existing APIC 6.1(6g) installation (Linux 6.6.141atom-1 with UEFI Secure Boot and TPM2/LUKS). It unlocked /config cleanly, then died inside initramfs:

WARNING: VG name atom0 is used by VGs O0ycXl-... and Ew9gOd-...
Volume group "atom0_nvme" not found
Cannot process volume group atom0_nvme
[ERROR] create-boot-partition failed with exit code 1.
dracut: FATAL: Atomix boot failed. Boot with rd.shell to debug.
reboot: System halted

I checked the <F6> UEFI boot menu and tried both Atomix and Previous. Neither booted: atom0 was duplicated across /dev/sda1 (480 GB SATA) and /dev/nvme0n1p1 (1.6 TB NVMe), and atom0_nvme wasn't there at all. With the disk layout broken like that, hacking around in rd.shell wasn't worth it; a clean ISO install was the safe move.

UEFI boot menu in vKVM with Atomix and Previous

Mounting the ISO when the firewall blocks reverse HTTP#

In segmented management networks this comes up all the time: your jump host reaches CIMC fine, but the firewall drops reverse HTTP from CIMC back to the box hosting the ISO (CIMC -> Jump Host). Trying to mount the image over CIMC HTTP just hangs with zero return packets.

Rather than waiting on temporary firewall rules, I mapped aci-apic-dk9.6.1.6g.iso directly through HTML5 vKVM Virtual Media (vKVM-Mapped vDVD). That tunnels the ISO over the outbound ports already open for the console (443/TCP and 2068/TCP). It's slower than local HTTP, but it works immediately without touching perimeter rules.

Selecting aci-apic-dk9.6.1.6g.iso in Virtual Media ISO mapped in HTML5 vKVM Virtual Media

Clean install from vDVD#

I set boot-order CDROM,HDD with one-time boot to Cd and rebooted. The server picked up Cisco vKVM-Mapped vDVD under UEFI Secure Boot.

BIOS C225M6.6.0.2c POST with the ISO attached

Once ATOMIX-INSTALL loads, it asks for an optional HTTP URL to speed up the install. Since reverse HTTP was blocked anyway, I typed skip to read straight from /dev/sr0.

Installer HTTP URL prompt

This is the slow part: copying and SHA-256 verifying 2.75 GB over vKVM took roughly 28 minutes at around 1.6 MB/s.

ISO copy progress over vKVM-Mapped vDVD

Right after manifestCert.pem passed verification and before wiping the drives, do_partitioning --wipe-disks printed the exact proof of why the old boot had failed:

PV             VG      PSize    PFree
/dev/nvme0n1p1 atom0   <1.46t   <76.29g
/dev/sda1      atom0   445.97g  45.97g
/dev/sdb5      vg_ifc0 149.87g  0

Both the NVMe and the SATA drive were claiming atom0. From there the installer handled everything on its own: cleared the duplicate volume groups, left the factory partitions sdb1 (pbf) and sdb2 (sbf) untouched, rebuilt encrypted vg_ifc0 (LUKS + TPM2), unpacked all 9 OCI layers of apic-6.1.6g, installed uefi-smoosh on /dev/sdb3 and /dev/sdb4, and ended with atomix installation complete.

manifestCert verification and partitioning start Extracting the 9 OCI layers of apic-6.1.6g Installing uefi-smoosh onto /dev/sdb3 and /dev/sdb4 Install finished: atomix installation complete

First boot from disk#

At the end, the installer starts a 120-second countdown. Before it ran out, I unmounted the ISO from Virtual Media and set boot-order HDD back. When the timer finished, the server powered down (Host power is off); powering it back on from CIMC went cleanly through BIOS 6.0.2c POST with UEFI Secure Boot, booted with zero LVM complaints, and stopped at Press any key to continue....

BIOS 6.0.2c POST loading the kernel with UEFI Secure Boot First clean boot waiting at Press any key to continue

Decommissioning the node even though it's the same chassis#

The same question always comes up when you reinstall the exact same physical server (same chassis, same serial WZP2742XXXX): do you actually need to decommission it from the cluster before rejoining?

Yes. The hardware serial stays identical, but a bare-metal ISO install wipes the local database (DME/MIT shards) and generates a brand-new chassisId:

As far as ACI's internal identity is concerned, that's a different appliance. And there is a second catch: running a normal decommission controller 1 from a healthy peer while node 1 is down gets rejected:

Attempt to decommission an appliance while cluster is not healthy [code: 150]

Once I confirmed both surviving peers (APIC-02 and APIC-03) were fully-fit and no upgrade was running, ACI 6.0(2)+ lets you push it through with force:

configure
decommission controller 1 force

That clears chassisId and cntrlSbst and puts slot 1 in Out of Service / Unregistered, ready for the rebuilt node.

APIC-01 in Out of Service / Unregistered after decommission force

The new 6.1(6g) bringup portal and the password catch-22#

In ACI 6.1(6g), the Day-0 SOL Setup Utility is no longer the long interactive quiz from 4.x and 5.x. Over serial console you only set the admin password and OOB network (IP, mask, and gateway). From there the box spins up a web portal on https://<apic-oob-ip> (APIC Cluster Bringup) with a guided APIC replacement workflow.

APIC Cluster Bringup 6.1(6g) portal Selecting the APIC replacement workflow

The trap hits if your production cluster started on an older release with an admin password that fails 6.1(6g)'s stricter password rules:

  1. The Day-0 console on the fresh node rejects the existing cluster password (Error: Password is not strong enough) and forces you to set a stronger temporary one.
  2. Later, after validating the live cluster and hitting Deploy (POST /api/workflows/v1/cluster/controller/commission), the portal asks for one single password and checks it against both sides at once. Enter the old cluster password and local bootx throws HTTP 400. Enter the temporary local password and the active cluster APIC throws HTTP 401.

You cannot get past that screen while the two passwords disagree. The clean way out is to temporarily change admin on the active cluster to match the strong password the new node accepted, click Deploy, let the workflow run through Validate Cluster Config, Push Config Objects, Push Workflow Changes, Mgmt Network Bringup, Bootstrap, and automatic commission, and once all three APICs are Fully Fit, restore the original password (temporarily relaxing historyCount and noChangeInterval under aaaPwdProfile if needed).

Active cluster validation and password confirmation Step 3: Controller ID 1, name, Pod ID, and detected serial Step 4: summary before clicking Deploy Bringup complete: Bootstrap and APIC Bringup green

Cluster back at 3/3#

A few minutes after bringup finished, shard sync caught up and the fabric settled back to healthy:

Final dashboard with all 3 APICs Available / Fully Fit


← all notes