saicb_9

updated

7 years ago

S

saicb_9

1 Rookie

•

6 Posts

0

3741

April 30th, 2020 08:00

Issues with redfish trying to set boot device, Not supporting continuous.

Using iDRAC version 

2.70.101.70

 

PowerEdge R730xd

same issue with 2.70.70.70 as well

Failed to change the boot device to disk when deploying node 03997dfa-f693-48a1-b77d-5a1f7394b1a2. Error: Redfish exception occurred. Error: Redfish set boot device failed for node 03997dfa-f693-48a1-b77d-5a1f7394b1a2. Error: HTTP PATCH https://x.x.x.x/redfish/v1/Systems/System.Embedded.1 returned code 400. Base.1.2.GeneralError: Unable to Process the request because the value entered for the parameter Continuous is not supported by the implementation."}

  • pramchan

    2 Posts

    2957

    1

    Posted May 5th, 2020 11:00

    Hi all,

    Appears this is known bug and we do not need additional details I asked earlier. The release dates are not available for 2.75.75.75 as it's a  coding + rigorous testing issue  from discovery to fix. However for now there is a work around in community listed under para

    Redfish management interface failure to set boot device workaround is as folows

     openstack baremetal node set --driver-info \ force_persistent_boot_device=Never ${node_uuid}

    Let us know if this works for your PE 730/640 servers.

    Thanks

    pramchan

     

  • DELL-Shine K

    6 Operator

    •

    3042 Posts

    3065

    0

    Posted May 1st, 2020 06:00

    This is an issue with 2.70.70.70 FW. Next release will have the fix for this. Mean time can you work with "2.63.60.61" FW.

    You can download "2.63.60.61" FW from below link

     

    https://www.dell.com/support/home/ar/en/arbsdt1/drivers/driversdetails?driverid=40t1c&oscode=w12r2&productcode=poweredge-r730xd

  • DELL-Chris H

    7 Practitioner

    •

    9682 Posts

    •

    48046 Points

    3064

    0

    Posted May 1st, 2020 06:00

    Saicb_9,

     

    The reason you're seeing this is that redfish/v1/Systems/System.Embedded.1 API has a setting called BootSourceOverrideEnabled, which if set to Continuous then you can see this error appear. You can either change it from Continuous, or it will be addressed and resolved in the future 2.75.75.75 release.  Unfortunately I do not have any details on any timeframe for its release.

     

    Hope this helps.

     

    DELL-Chris H

    Social Media and Communities Professional

    Dell Technologies | Enterprise Support Services

    #IWork4Dell

    Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!

  • saicb_9

    1 Rookie

    •

    6 Posts

    3053

    0

    Posted May 1st, 2020 10:00

    Hello Shine,

    Thanks for the response I have tries 2.63.60.61 but I am running into another issue 

    {"level":"info","ts":1588261420.3526037,"logger":"baremetalhost","msg":"publishing event","reason":"ProvisioningError","message":"Image provisioning failed: Failed to prepare to deploy: Redfish exception occurred. Error: Setting boot mode to bios failed for node 3e500592-a1b4-4345-a35f-aee286d457d3. Error: HTTP PATCH https://x.x.x.x/redfish/v1/Systems/System.Embedded.1 returned code 400. unknown error"}
    {"level":"info","ts":1588261420.355495,"logger":"baremetalhost","msg":"stopping on host error","Request.Namespace":"metal3","Request.Name":"bsr22ar07c018","provisioningState":"provisioning","message":"Image provisioning failed: Failed to prepare to deploy: Redfish exception occurred. Error: Setting boot mode to bios failed for node 3e500592-a1b4-4345-a35f-aee286d457d3. Error: HTTP PATCH https://x.x.x.x/redfish/v1/Systems/System.Embedded.1 returned code 400. unknown error"

     

  • DELL-Shine K

    6 Operator

    •

    3042 Posts

    3029

    0

    Posted May 2nd, 2020 06:00

    Can you share Method, URI and Body used to set boot mode using redfish

  • pramchan

    2 Posts

    2969

    0

    Posted May 5th, 2020 10:00

    Hi,

    DevOps folks who are facing the set boot mode through iDRAC for Refish (case 1 below) and calling image provisioning from metal3 (case 2), can you please send additional  details by seeting "level":"debug" and share either the tar.gz file or dmsg ouput for us to escalate this for expedite fix?

    "llevel":"info"
    1. Redfish exception occurred. Error: Setting boot mode to bios failed for node "xyz"
    2. stopping on host "xyz" error","Request.Namespace":"metal3","Request.Name":"bsr22ar07c018","provisioningState":"provisioning","message":"Image provisioning failed: Failed to prepare to deploy: Redfish exception occurred. Error: Setting boot mode to bios failed for node

    returned code 400. unknown error in both cases

    Thanks

    pramchan

     

  • saicb_9

    1 Rookie

    •

    6 Posts

    2909

    0

    Posted May 8th, 2020 12:00

    This seems to solve the issue after setting 

    'force_persistent_boot_device': 'Never'

    In driver_info. however i have to set up ironic client locally to interact with metal3 ironic api and set the parameter.
    this seems to be a reasonable workaround till it is fixed in 2.75.75.75. Thanks guys. Appreciate your help!

  • saicb_9

    1 Rookie

    •

    6 Posts

    2855

    0

    Posted May 11th, 2020 10:00

    Hi Prakash,

    Thanks for the workaround but this seems to be random some times though we update the driver_info, somehow it is getting updated back

    | driver                 | redfish                                                                  |

    | driver_info            | {u'redfish_verify_ca': False, u'redfish_address':                        |

    |                        | u'https://*****', u'redfish_username': u'oobAdmin',              |

    |                        | u'redfish_password': u'******', u'deploy_kernel':                        |

    |                        | u'http://******:6180/images/ironic-python-agent.kernel',            |

    |                        | u'deploy_ramdisk': u'http://*****:6180/images/ironic-python-       |

    |                        | agent.initramfs', u'redfish_system_id':                                  |

    |                        | u'/redfish/v1/Systems/System.Embedded.1'}


    The above is ironic node-show after metal3 writes the disk (/dev/sda). in some runs it works fine. I have verified it is applied earlier and node-show did show 

    u'force_persistent_boot_device': u'Never'

    but for some reason it was gone/updated later.