-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redfish_bios: attributes not applied on reboot #231
Comments
|
Thanks @dkaser for raising this , will get back to you soon. |
@dkaser , did you get any job timeout error at the end of the log? |
@gokul-srivathsan Yes, I'll get a copy of the message shortly. |
|
I was able to pin down a more specific cause of this failure after I did some testing using the same attributes, but using Ansible instead of Terraform. I had an invalid value for one of the attributes, which the Ansible task flagged as "Invalid value for enumeration". Fixing this attribute allows the Terraform provider to run successfully, including creating the Configure BIOS task. I think the root problem is that the provider can't detect this failure (either by examining the Redfish response, or by independently validating the attributes like how the Ansible logic does). There was nothing in the Terraform output to suggest that anything was wrong with the provided attributes, and the unproductive restarts add extra confusion :( |
@dkaser, thank you for providing this information. This is very helpful. Meanwhile, could you please confirm whether the terraform apply command succeeded once you entered the correct value for the Bios resource? |
@dkaser your input will be much appreciated. |
The apply did work successfully. |
Terraform CLI and Terraform Redfish Provider Version
Terraform 1.9.5
Redfish Provider Version 1.4.0
Server(s) details and firmware version
Dell R760
iDRAC 9
BIOS Version 2.2.8
Firmware Version 7.10.50.10
Affected Resource(s)
resource "redfish_bios"
Terraform Configuration Files
Expected Behavior
Attributes should be applied to BIOS.
Actual Behavior
The attributes appear as "pending" settings in the iDRAC web interface, and the server reboots, but the settings are not applied. A "BIOS.Setup" job does not appear in the job queue.
Resource then times out after bios_job_timeout.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: