Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
outofband/action_handlers: introduce post install delay for BMC firmware
This fixes cases where the BMC is not yet ready to accept commands and results in failures for the next component firmware install, "err":"run: while running action to install firmware on component bios: action 'initiatingInstallFirmware' on component 'bios' with status 'failed', returned error: 3 errors occurred:\n\t* provider: gofish: unable to determine device vendor, model attributes: failed to retrieve some items: [{\"link\":\"/redfish/v1/Systems\",\"error\":\"500: \\u003c!DOCTYPE HTML PUBLIC \\\"-//IETF//DTD HTML 2.0//EN\\\"\\u003e\\n\\u003chtml\\u003e\\u003chead\\u003e\\n\\u003ctitle\\u003e500 Unknown Reason\\u003c/title\\u003e\\n\\u003c/head\\u003e\\u003cbody\\u003e\\n\\u003ch1\\u003eUnknown Reason\\u003c/h1\\u003e\\n\\u003cp\\u003eThe server encountered an internal error or\\nmisconfiguration and was unable to complete\\nyour request.\\u003c/p\\u003e\\n\\u003cp\\u003ePlease contact the server administrator at \\n [no address given] to inform them of the time this error occurred,\\n and the actions you performed just before this error.\\u003c/p\\u003e\\n\\u003cp\\u003eMore information about this error may be available\\nin the server error log.\\u003c/p\\u003e\\n\\u003c/body\\u003e\\u003c/html\\u003e\\n\"}]\n\t* unable to determine device vendor, model attributes: failed to retrieve some items: [{\"link\":\"/redfish/v1/Systems\",\"error\":\"500: \\u003c!DOCTYPE HTML PUBLIC \\\"-//IETF//DTD HTML 2.0//EN\\\"\\u003e\\n\\u003chtml\\u003e\\u003chead\\u003e\\n\\u003ctitle\\u003e500 Unknown Reason\\u003c/title\\u003e\\n\\u003c/head\\u003e\\u003cbody\\u003e\\n\\u003ch1\\u003eUnknown Reason\\u003c/h1\\u003e\\n\\u003cp\\u003eThe server encountered an internal error or\\nmisconfiguration and was unable to complete\\nyour request.\\u003c/p\\u003e\\n\\u003cp\\u003ePlease contact the server administrator at \\n [no address given] to inform them of the time this error occurred,\\n and the actions you performed just before this error.\\u003c/p\\u003e\\n\\u003cp\\u003eMore information about this error may be available\\nin the server error log.\\u003c/p\\u003e\\n\\u003c/body\\u003e\\u003c/html\\u003e\\n\"}]\n\t* failure in FirmwareInstall\n\n","file":"worker.go","function":"runTaskStatemachine","level":"warning","line":"451","msg":"task for device failed","time":"2023-07-13T07:41:47Z"
- Loading branch information