bmcweb
bmcweb copied to clipboard
InternalError while uploading invalid certificate
Hitting InternalError while uploading invalid certificate. This should be better handled. I think we should be getting better message id like "Message id : Base.1.0.SettingsFailed". Also the message text should be more meaningful in such cases.
bash-4.1$ curl c cjar -b cjar -k -H "X-Auth-Token: $bmc_token" -X POST https://${BMC_IP}/redfish/v1/CertificateService/Actions/CertificateService.ReplaceCertificate/ -d @certificate_https_invalid.json
{
"error": {
"@Message.ExtendedInfo": [
{
"@odata.type": "/redfish/v1/$metadata#Message.v1_0_0.Message",
"Message": "The request failed due to an internal service error. The service is still operational.",
"MessageArgs": [],
"MessageId": "Base.1.4.0.InternalError",
"Resolution": "Resubmit the request. If the problem persists, consider resetting the service.",
"Severity": "Critical"
}
],
"code": "Base.1.4.0.InternalError",
"message": "The request failed due to an internal service error. The service is still operational."
}
}bash-4.1$
System info: System - Witherspoon
@rahulmah Still a problem?
I don't think it has been fixed. Let me cross-check and get back by tomorrow.
21 months later, I'm guessing this either wasn't a priority problem, or was in fact fixed. Please let me know if you'd like this reopened.