redhat-performance / jetlag

Automation to deploy Bare-metal OpenShift leveraging the Assisted-Installer
Apache License 2.0
26 stars 39 forks source link

[BUG] Bare-metal deployment fails when R630 is used #475

Open shashank-boyapally opened 2 months ago

shashank-boyapally commented 2 months ago

When using the a mix of R640 and R630 in Scale lab to deploy bare-metal ocp 4.15.x the following error has occured

fatal: [e24-h06-000-r640.rdu2.scalelab.redhat.com]: FAILED! => {"accept_ranges": "bytes", "access_control_allow_origin": "*", "allow": "POST", "cache_control": "no-cache", "changed": false, "connection": "close", "content": "{\"error\":{\"@Message.ExtendedInfo\":[{\"Message\":\"Unable to run the method because the requested HTTP method is not allowed.\",\"MessageArgs\":[],\"MessageArgs@odata.count\":0,\"MessageId\":\"IDRAC.1.6.SYS402\",\"RelatedProperties\":[],\"RelatedProperties@odata.count\":0,\"Resolution\":\"Enter a valid HTTP method and retry the operation. For information about valid methods, see the Redfish Users Guide available on the support site.\",\"Severity\":\"Informational\"}],\"code\":\"Base.1.0.GeneralError\",\"message\":\"A general error has occurred. See ExtendedInfo for more information\"}}\n", "content_length": "560", "content_type": "application/json;odata.metadata=minimal;charset=utf-8", "date": "Fri, 12 Apr 2024 20:40:41 GMT", "elapsed": 3, "json": {"error": {"@Message.ExtendedInfo": [{"Message": "Unable to run the method because the requested HTTP method is not allowed.", "MessageArgs": [], "MessageArgs@odata.count": 0, "MessageId": "IDRAC.1.6.SYS402", "RelatedProperties": [], "RelatedProperties@odata.count": 0, "Resolution": "Enter a valid HTTP method and retry the operation. For information about valid methods, see the Redfish Users Guide available on the support site.", "Severity": "Informational"}], "code": "Base.1.0.GeneralError", "message": "A general error has occurred. See ExtendedInfo for more information"}}, "msg": "Status code was 405 and not [204]: HTTP Error 405: Method Not Allowed", "odata_version": "4.0", "redirected": false, "server": "iDRAC/8", "status": 405, "url": "https://mgmt-f24-h01-000-r630.rdu2.scalelab.redhat.com/redfish/v1/Managers/iDRAC.Embedded.1/VirtualMedia/CD/Actions/VirtualMedia.EjectMedia"}

formatted output:

{
  "accept_ranges": "bytes",
  "access_control_allow_origin": "*",
  "allow": "POST",
  "cache_control": "no-cache",
  "changed": false,
  "connection": "close",
  "content": "{\"error\":{\"@Message.ExtendedInfo\":[{\"Message\":\"Unable to run the method because the requested HTTP method is not allowed.\",\"MessageArgs\":[],\"MessageArgs@odata.count\":0,\"MessageId\":\"IDRAC.1.6.SYS402\",\"RelatedProperties\":[],\"RelatedProperties@odata.count\":0,\"Resolution\":\"Enter a valid HTTP method and retry the operation. For information about valid methods, see the Redfish Users Guide available on the support site.\",\"Severity\":\"Informational\"}],\"code\":\"Base.1.0.GeneralError\",\"message\":\"A general error has occurred. See ExtendedInfo for more information\"}}\n",
  "content_length": "560",
  "content_type": "application/json;odata.metadata=minimal;charset=utf-8",
  "date": "Fri, 12 Apr 2024 20:40:41 GMT",
  "elapsed": 3,
  "json": {
    "error": {
      "@Message.ExtendedInfo": [
        {
          "Message": "Unable to run the method because the requested HTTP method is not allowed.",
          "MessageArgs": [],
          "MessageArgs@odata.count": 0,
          "MessageId": "IDRAC.1.6.SYS402",
          "RelatedProperties": [],
          "RelatedProperties@odata.count": 0,
          "Resolution": "Enter a valid HTTP method and retry the operation. For information about valid methods, see the Redfish Users Guide available on the support site.",
          "Severity": "Informational"
        }
      ],
      "code": "Base.1.0.GeneralError",
      "message": "A general error has occurred. See ExtendedInfo for more information"
    }
  },
  "msg": "Status code was 405 and not [204]: HTTP Error 405: Method Not Allowed",
  "odata_version": "4.0",
  "redirected": false,
  "server": "iDRAC/8",
  "status": 405,
  "url": "https://mgmt-f24-h01-000-r630.rdu2.scalelab.redhat.com/redfish/v1/Managers/iDRAC.Embedded.1/VirtualMedia/CD/Actions/VirtualMedia.EjectMedia"
}
akrzos commented 2 months ago

This error sounds like the firmware doesn't support ejecting virtual media.

akrzos commented 1 month ago

@shashank-boyapally Did you happen to reach out to the lab team and see if this machine does not support the task asked? If so this isn't a jetlag bug but rather a hardware issue. Please let us know. Thanks!

shashank-boyapally commented 1 month ago

Hi @akrzos, I'll reach out to the lab team and see if this error is related to hardware. Thank you for the heads up.

akrzos commented 1 month ago

Maybe it was the virtual console plug-in type? - https://github.com/redhat-performance/jetlag/blob/main/docs/troubleshooting.md#unable-mount-virtual-media