mtcClient BMC provisioning is not cleared when BMC is deprovisioned with system command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Eric MacDonald |
Bug Description
Brief Description
-----------------
The mtcClient on controllers is provisioned with its peer controller's BMC address and credentials when that controller is provisioned through the system CLI.
However, when that controller is deprovisioned from the system CLI that same mtcClient is not deprovisioned.
Impact: If an administrator provisioned the BMC for a controller and the peer controller's mtcClient gets that BMC provisioning data and the system administrator decides to deprovision that controller's BMC then the mtcClient on that controller retains the previous provisioning info. If then SM experiences a peer controller issue that leads to wanting to reset it via the BMC through the mtcClient then that reset attempt will proceed. If the admin deprovisions a BMC then it should be deprovisioned everywhere, including the peer controller's mtcClient. Effectively under a controller failure case that unprovisioned BMC data may be used to reset that controller where the system administrator expected it not to.
Severity
--------
Minor
Steps to Reproduce
------------------
provision the BMC of both controllers and then deprovision the BMC
Expected Behavior
------------------
BMC should get deprovisioned from the mtcClient
Actual Behavior
----------------
BMC is not deprovisioned from the mtcClient
Reproducibility
---------------
100% reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
Any load built prior to the resolution of this bug report
Last Pass
---------
Test escape
Timestamp/Logs
--------------
deprovisioned case
2024-06-
Test Activity
-------------
Normal use.
Workaround
----------
sudo pmon-restart mtcClient
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.10.0 stx.metal |
Changed in starlingx: | |
assignee: | nobody → Eric MacDonald (rocksolidmtce) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /metal/ +/921301
Review: https:/