Mtce is not notified of BMC password change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Eric MacDonald |
Bug Description
Brief Description
-----------------
Maintenance is not sent any notification when there is a BMC password only provisioning change.
Severity
--------
Minor:
Rare but inconvenient.
Hard to debug since password information is never logged.
Issue just shows up as a system call failure.
Customer can de-provision and re-provision as work around
Steps to Reproduce
------------------
system host-update controller-0 bm_type=bmc bm_password=root bm_username=root bm_ip=128.
sleep 30
system host-update controller-0 bm_type=bmc bm_password=root1 bm_username=root bm_ip=128.
Expected Behavior
------------------
Maintenance should get notification of BMC provisioning change.
Actual Behavior
----------------
Maintenance does not get notification of BMC provisioning change.
Reproducibility
---------------
Reproducible: 100%
System Configuration
-------
Systems with provisioned BMCs
Branch/Pull Time/Commit
-------
All
Last Pass
---------
Never - has always been broken
UT and PV test escape
Timestamp/Logs
--------------
Tail sysinv.log and mtcAgent.log file at provisioning time.
Test Activity
-------------
Unit Test
The BMC password is not included in the data that comes from sysinv.
Solution will require some means of notifying mtce that the password has changed.
Another alternative would be for maintenance to automatically re-fetch the BMC password when BMC access requests fail.