dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
329 stars 162 forks source link

dellemc_configure_bios module fails to reboot after setting boot sources #92

Closed pkolakow closed 4 years ago

pkolakow commented 4 years ago

dellemc_configure_bios module fails to reboot after setting applicable boot sources.

Problem occurred on iDRAC9 (FW: 3.36.36.36) on DELL PowerEdge R640 platform.

Ansible Task

- name: Configure Boot Sources
  dellemc_configure_bios:
    idrac_ip: "{{ net_info.bmc.ip }}"
    idrac_user: "{{ oob_user }}"
    idrac_password: "{{ oob_pass }}"
    boot_sources:
    - Name: "NIC.PxeDevice.1-1"
      Enabled: True
      Index: 0
    - Name: "AHCI.Slot.1-2"
      Enabled: True
      Index: 1

Execution Output

TASK [idrac-host : Configure Boot Sources] ********************************************************************************************************************
Thursday 16 January 2020  14:07:14 +0000 (0:00:00.031)       0:00:00.297 ******
fatal: [compute-1-3]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": false, "msg": {"Message": "Failed to trigger reboot. Please reboot the system to apply changes.", "Status": "Failed"}}

Possible problem cause:

Trying to reboot with "GracefulRestart" command while it is no longer available with firmware version: 3.36.36.36.

omsdk/omdrivers/lifecycle/iDRAC/iDRACConfig.py

    def reboot_system(self):
        rjson = self.entity._reboot_system_redfish(reboot_type="GracefulRestart")
        return rjson
rajeevarakkal commented 4 years ago

@pkolakow we are analyzing this issue. we will get back to as soon as possible

rajeevarakkal commented 4 years ago

@pkolakow This is fixed in the latest "devel"