Closed jayeshmpatel closed 1 year ago
Hi @jayeshmpatel Following your steps, I am unable to reproduce the problem.
The error type you encountered seems to only occur in the following situations, indicating that your accountTypes are incorrect, but I have checked your request accountTypes and they are correct. This looks strange. https://github.com/ibm-openbmc/bmcweb/blob/1050/redfish-core/lib/account_service.hpp#L202
for (const auto& accountType : *accountTypes)
{
if (accountType == "Redfish")
{
isRedfish = true;
}
else if (accountType == "IPMI")
{
isIPMI = true;
}
else if (accountType == "WebUI")
{
isWebUI = true;
}
else if ((accountType == "HostConsole"))
{
isHostConsole = true;
}
else if (accountType == "ManagerConsole")
{
isManagerConsole = true;
}
else
{
// set false if accountTypes not found and return
isFoundAccountTypes = false;
messages::propertyValueNotInList(asyncResp->res, "AccountTypes",
accountType);
return isFoundAccountTypes;
}
}
@gkeishin can you pls comment on recreate?
There may have been some recent changes in this area that might've helped this. @ninadpalsule , I could be wrong but were you involved in any changes in this area?
@mzipse, No I have not done any changes in this area. I am working on hostconsole group related changes but those are not yet merged.
Confirm with @gkeishin that we are not able to re-create this with the latest level of 1050 fw. so closing.
Expected Behavior:
Post factory reset, IPMI by default is Disabled.
User should be able to enable network IPMI and IPMI tool should be able to query or perform operation on BMC over LAN.
Actual Behavior
IPMI enable procedure failed with firmware 1050 release code post factory reset. Failed at below procedure step 4) Output:
Steps to Reproduce the Problem
++++++++++++++++++++++++++++++++++++++++++ Steps to enable and add new IPMI admin user ++++++++++++++++++++++++++++++++++++++++++
Create user ipmi_admin_user/0penBmc0 using GUI
Create a session using a new user admin and enable IPMI out of band protocol
Confirm over GUI that the IPMI button is enabled
Add ipmi_admin_user to the IPMI group
Specifications
Version: Both Firefox or chrome works. This is NOT browser dependent failure.
Note: This is an issue only with FW1050 release..