baremetal-operator: Unable to update BMC address

What steps did you take and what happened: I have a use case where the BMC address changes after the BMH CRD is created (I’m manually changing it via Redfish). I tried to update the BMH CRD spec.bmc.address accordingly, but I’m unable to do it (I suspect the field is immutable, but I did not find anything in the docs about it).

What did you expect to happen: I expected the spec.bmc.address to be updated

/kind feature-request

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

/triage accepted

I must admit, your case is quite unusual. Yet, I believe that it’s good to allow changing BMC addresses in at least some cases.

hey @MahnoorAsghar , thank you for the detailed explanation and implementation; as far as i’m concerned, we can close this issue (not sure what’s the standard way to go about it, so i did not close it myself) have a nice day!

I would like to make it possible in at least some way. It’s not exactly trivial because there are many states where changing the BMC addresses can lead to weird results. Possibly, we do it through detaching.