dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
335 stars 163 forks source link

idrac_os_deployment failed to boot the host #414

Closed lianzxu closed 2 years ago

lianzxu commented 2 years ago

Here is my task:

Here are the logs:

msg: { Key: , DeleteOnCompletion: false, InstanceID: DCIM_OSDConcreteJob:1, JobName: BootToNetworkISO, JobStatus: Failed, Message: General failure, MessageID: OSD2, Name: BootToNetworkISO, Status: Failed, retval: false, file: 10.x.y.z:/path/to/rhcos-4.9.0-x86_64-live.x86_64.iso }

Are there any other helpful logs I can check for the failures?

Another question about "expose_duration". If I set "expose_duration=120", does it imply that I can't boot the host AGAIN with "idrac_os_deployment" until 2-hour timer expires?

Thank you.

anupamaloke commented 2 years ago

@lianzxu, expose_duration argument controls the amount of time the ISO is attached to the iDRAC licecycle controller. After expiry of expose_duration, idrac will automatically disconnect the ISO.

As to why the idrac_os_deployment module is failing, it could be that an ISO image is already attached. You will have to detach the ISO image before attempting another run. At present, idrac_os_deployment module does not support detaching an already attached ISO image. This is among one of many TODO things for this module. So, in the meanwhile, we have also provided an ansible role that you can use to detach the image. This role supports both booting from an ISO image as well as detaching an ISO image. Following is the link: https://github.com/dell/redfish-ansible-module/tree/master/roles/idrac_os_deployment

lianzxu commented 2 years ago

Thank you very much for the information. It is very helpful.