Skip to content

feat(ironic): make target_datetime optional for set_bmc_clock step#1904

Merged
haseebsyed12 merged 1 commit intomainfrom
target_datetime_982261
Apr 2, 2026
Merged

feat(ironic): make target_datetime optional for set_bmc_clock step#1904
haseebsyed12 merged 1 commit intomainfrom
target_datetime_982261

Conversation

@haseebsyed12
Copy link
Copy Markdown
Contributor

Allow the set_bmc_clock management setup in the redfish interface to set the time to the conductor if the time is not explicitly provided. This makes it possible to call this step and get an accurate time. For Ironic to manage the BMC, the time must be inline with the conductor so this is a better reasonable default. This also makes it possible to use the set_bmc_clock in runbooks, as originally intended, because users cannot supply a time for the runbooks without this fix the runbook could only ever set the time to a fixed value which isn't useful.

Closes-Bug: 2146355
Change-Id: I54ce06b7025f174946b957df2c6fc2bedff11c37
Signed-off-by: Doug Goldstein cardoe@cardoe.com

Allow the ``set_bmc_clock`` management setup in the redfish interface to
set the time to the conductor if the time is not explicitly provided. This
makes it possible to call this step and get an accurate time. For Ironic to
manage the BMC, the time must be inline with the conductor so this is a
better reasonable default. This also makes it possible to use the ``set_bmc_clock``
in runbooks, as originally intended, because users cannot supply a time
for the runbooks without this fix the runbook could only ever set the time
to a fixed value which isn't useful.

Closes-Bug: 2146355
Change-Id: I54ce06b7025f174946b957df2c6fc2bedff11c37
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
@haseebsyed12 haseebsyed12 requested a review from a team April 1, 2026 14:51
@haseebsyed12 haseebsyed12 changed the title make target_datetime optional for set_bmc_clock step feat(ironic): make target_datetime optional for set_bmc_clock step Apr 1, 2026
@haseebsyed12 haseebsyed12 added this pull request to the merge queue Apr 2, 2026
Merged via the queue into main with commit b53561a Apr 2, 2026
80 of 84 checks passed
@haseebsyed12 haseebsyed12 deleted the target_datetime_982261 branch April 2, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants