Skip to content
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

🌱 Allow BMC address to be updated #1549

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

MahnoorAsghar
Copy link
Contributor

@MahnoorAsghar MahnoorAsghar commented Feb 8, 2024

Allow BMC address to be updated if the BMH is in the Registering state or is detached.

This allows the BMC address to be updated if there are changes in the BMC network, or if a mistake was made when setting it the first time.

Fixes #1458

@metal3-io-bot metal3-io-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 8, 2024
@MahnoorAsghar
Copy link
Contributor Author

/test metal3-bmo-e2e-test-pull
/test-centos-e2e-integration-main

@kashifest
Copy link
Member

/test-centos-e2e-integration-main

@kashifest
Copy link
Member

Finally jenkins woke up

@tuminoid
Copy link
Member

tuminoid commented Feb 8, 2024

For the record, here is the original one with reviews and discussions: #1532

@elfosardo
Copy link
Member

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 8, 2024
@MahnoorAsghar MahnoorAsghar force-pushed the main branch 3 times, most recently from cb3fd22 to bb8c2a7 Compare February 21, 2024 13:36
@metal3-io-bot metal3-io-bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 21, 2024
@MahnoorAsghar MahnoorAsghar force-pushed the main branch 2 times, most recently from 28aa2b5 to 67e5290 Compare February 21, 2024 16:54
@MahnoorAsghar
Copy link
Contributor Author

/test metal3-bmo-e2e-test-pull
/test-centos-e2e-integration-main

Allow BMC address to be updated if the BMH is in the Registering state
or if it is detached.

Signed-off-by: Mahnoor Asghar <masghar@redhat.com>
@MahnoorAsghar
Copy link
Contributor Author

/test metal3-bmo-e2e-test-pull
/test-centos-e2e-integration-main

@MahnoorAsghar
Copy link
Contributor Author

/test-centos-e2e-integration-main

}
if !reflect.DeepEqual(newAddress, ironicAddress) {
bmcAddressChanged = true
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

bmcAddressChanged := !reflect.DeepEqual(newAddress, ironicAddress)

@dtantsur
Copy link
Member

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 22, 2024
@elfosardo
Copy link
Member

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 22, 2024
@dtantsur
Copy link
Member

/test-centos-e2e-integration-main

@metal3-io-bot metal3-io-bot merged commit ffad1a5 into metal3-io:main Feb 22, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to update BMC address
6 participants