-
Notifications
You must be signed in to change notification settings - Fork 256
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
Unable to update BMC address #1458
Comments
nevermind, I just got this error:
is there any plans this would be made possible? |
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. |
I see; in my use case I need to do it imedeately after the first inspection, so my workaround is re-creating the BMH with the new BMC address and settimg the status annotation equal to the status of the original BMH |
@sebastiaopamplona I'm curious, can you share any details why it happens? |
do you mean why I need to do to change the BMC address immediately after the first inspection? |
@sebastiaopamplona yep, that's my question. |
it's a use case where initially I need to use a temporary bmc ip because I don't know much about the server, and after inspection I need to replace it with the final one |
/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. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale Is #1549 sufficient to close this? |
@dtantsur thanks for having this implemented :) a small question: does the BMH need to be in maybe this was a small bug in the if statement that makes it so that the BMH needs to be in the |
Hi @sebastiaopamplona! |
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) |
/assign MahnoorAsghar |
/close |
@MahnoorAsghar: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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
The text was updated successfully, but these errors were encountered: