[Ironic] [Kolla Ansible] [Yoga] Redfish Drive
Hello Everyone, We are having issue deploying Ironic baremental image to compute using Ironic(Yoga). The Baremetal machine is enrolled using Redfish driver. It goes to Available state as well. Once we attempt to deploy it the following exception is thrown. Error: Detected change in error condition on node “BMNode1”. Deploy step deploy.deploy failed: Redfish exception occurred. Error: Setting boot mode to uefi failed for node <UUID>. Error: HTTP PATCH http://IP/redfish/v1/Systems/1 returned code 400. Base.v1_10_3.GeneralError: The service detected a malformed request body that it was unable to interpret. Extended information: [{'MessageId': 'Base.1.10.*UnrecognizedRequestBody*', 'Severity': 'Warning', 'Resolution': 'Correct the request body and resubmit the request if it failed.', 'Message': 'The service detected a malformed request body that it was unable to interpret.', 'MessageArgs': [''], 'RelatedProperties': ['']}]. This is issue with Ironic used with Kolla Ansible but if we try with Bifrost the image booting goes fine. Any help or suggestion would be helpful to us. Best regards, Ali Hussain
Greetings, Without knowing the hardware being used, along with the firmware on the BMC (meaning version), there really is not much we can do to assist. Ultimately setting a machine to UEFI is a standard procedure defined in the Redfish protocol, and if the remote BMC is not liking that request, then some research needs to be performed. There *is* a distinct possibility that it could be something like ETAG handling with the request that it doesn't like. I'd recommend using a more recent, supported, version of Ironic to see. -Julia On Wed, Jul 31, 2024 at 11:26 PM Ali Hussain <alihussain448@gmail.com> wrote:
Hello Everyone,
We are having issue deploying Ironic baremental image to compute using Ironic(Yoga). The Baremetal machine is enrolled using Redfish driver. It goes to Available state as well. Once we attempt to deploy it the following exception is thrown.
Error: Detected change in error condition on node “BMNode1”.
Deploy step deploy.deploy failed: Redfish exception occurred.
Error: Setting boot mode to uefi failed for node <UUID>.
Error: HTTP PATCH http://IP/redfish/v1/Systems/1 returned code 400. Base.v1_10_3.GeneralError: The service detected a malformed request body that it was unable to interpret.
Extended information:
[{'MessageId': 'Base.1.10.*UnrecognizedRequestBody*', 'Severity': 'Warning', 'Resolution': 'Correct the request body and resubmit the request if it failed.', 'Message': 'The service detected a malformed request body that it was unable to interpret.', 'MessageArgs': [''], 'RelatedProperties': ['']}].
This is issue with Ironic used with Kolla Ansible but if we try with Bifrost the image booting goes fine.
Any help or suggestion would be helpful to us.
Best regards,
Ali Hussain
Hi Julia, Appreciate your reply and suggestions. We have been struggling with Kolla Ansible to boot an image with Yoga release. However, Bifrost Yoga (unmaintained branch Feb/2024) works well. But Kolla Ansible (yoga release Oct 2022) is giving the exceptions. Here are the details about our BMC controller and IPMI Redfish driver details. 1. SuperMicro BMC https://www.supermicro.com/manuals/other/IPMI_Users_Guide.pdf 2. Redfish driver 3. Kolla Ansible (Yoga codebase released Oct 2022) Kindly let me know the research questions to get more information of whats actually wrong with Kolla Ansible to administer our SuperMicro machines and provisioning them. Looking forward to hearing from you. Best regards, Ali Hussain On Thu, Aug 1, 2024 at 11:27 AM Julia Kreger <juliaashleykreger@gmail.com> wrote:
Greetings,
Without knowing the hardware being used, along with the firmware on the BMC (meaning version), there really is not much we can do to assist. Ultimately setting a machine to UEFI is a standard procedure defined in the Redfish protocol, and if the remote BMC is not liking that request, then some research needs to be performed.
There *is* a distinct possibility that it could be something like ETAG handling with the request that it doesn't like. I'd recommend using a more recent, supported, version of Ironic to see.
-Julia
On Wed, Jul 31, 2024 at 11:26 PM Ali Hussain <alihussain448@gmail.com> wrote:
Hello Everyone,
We are having issue deploying Ironic baremental image to compute using Ironic(Yoga). The Baremetal machine is enrolled using Redfish driver. It goes to Available state as well. Once we attempt to deploy it the following exception is thrown.
Error: Detected change in error condition on node “BMNode1”.
Deploy step deploy.deploy failed: Redfish exception occurred.
Error: Setting boot mode to uefi failed for node <UUID>.
Error: HTTP PATCH http://IP/redfish/v1/Systems/1 returned code 400. Base.v1_10_3.GeneralError: The service detected a malformed request body that it was unable to interpret.
Extended information:
[{'MessageId': 'Base.1.10.*UnrecognizedRequestBody*', 'Severity': 'Warning', 'Resolution': 'Correct the request body and resubmit the request if it failed.', 'Message': 'The service detected a malformed request body that it was unable to interpret.', 'MessageArgs': [''], 'RelatedProperties': ['']}].
This is issue with Ironic used with Kolla Ansible but if we try with Bifrost the image booting goes fine.
Any help or suggestion would be helpful to us.
Best regards,
Ali Hussain
Greetings Julia, I’m still struck in using Ironic with kolla-ansible. The node enrollment went fine with Redfish driver. Its goes all the way to the available state. But when i deploy the node it throw following exception. Detected change in error condition on node. Failed to prepare to deploy. No VIGs found for node <> when attempting to update DHCP BOOT options. In my globals.conf file I have set settings as per following documentation. ironic_dnsmasq_interface: "eth1"ironic_dnsmasq_dhcp_range: "192.168.5.100,192.168.5.110,255.255.255.0"ironic_cleaning_network: "public1" https://docs.openstack.org/kolla-ansible/yoga/reference/bare-metal/ironic-gu... I’m attaching VIF to node using OpenStack baremetal node vif attach <nodeuuid> <vif uiid> However, VIF is not getting listed when i issue following vif list command. Openstack baremetal node vif list <nodeuuid> Appreciate any suggestions. Best regards, Ali Hussain On Thu, Aug 1, 2024 at 11:27 AM Julia Kreger <juliaashleykreger@gmail.com> wrote:
Greetings,
Without knowing the hardware being used, along with the firmware on the BMC (meaning version), there really is not much we can do to assist. Ultimately setting a machine to UEFI is a standard procedure defined in the Redfish protocol, and if the remote BMC is not liking that request, then some research needs to be performed.
There *is* a distinct possibility that it could be something like ETAG handling with the request that it doesn't like. I'd recommend using a more recent, supported, version of Ironic to see.
-Julia
On Wed, Jul 31, 2024 at 11:26 PM Ali Hussain <alihussain448@gmail.com> wrote:
Hello Everyone,
We are having issue deploying Ironic baremental image to compute using Ironic(Yoga). The Baremetal machine is enrolled using Redfish driver. It goes to Available state as well. Once we attempt to deploy it the following exception is thrown.
Error: Detected change in error condition on node “BMNode1”.
Deploy step deploy.deploy failed: Redfish exception occurred.
Error: Setting boot mode to uefi failed for node <UUID>.
Error: HTTP PATCH http://IP/redfish/v1/Systems/1 returned code 400. Base.v1_10_3.GeneralError: The service detected a malformed request body that it was unable to interpret.
Extended information:
[{'MessageId': 'Base.1.10.*UnrecognizedRequestBody*', 'Severity': 'Warning', 'Resolution': 'Correct the request body and resubmit the request if it failed.', 'Message': 'The service detected a malformed request body that it was unable to interpret.', 'MessageArgs': [''], 'RelatedProperties': ['']}].
This is issue with Ironic used with Kolla Ansible but if we try with Bifrost the image booting goes fine.
Any help or suggestion would be helpful to us.
Best regards,
Ali Hussain
participants (2)
-
Ali Hussain
-
Julia Kreger