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

Don't register in Inspecting if inspection disabled #1137

Closed
wants to merge 1 commit into from

Conversation

zaneb
Copy link
Member

@zaneb zaneb commented Jun 21, 2022

When inspection is disabled, the host still passes through the
inspecting state. Previously, we would still try to register the host in
this state, which would mean that it would require a valid
PreprovisioningImage to continue. Since no image is needed if we are not
actually going to inspect, skip registration in this case.

When inspection is disabled, the host still passes through the
inspecting state. Previously, we would still try to register the host in
this state, which would mean that it would require a valid
PreprovisioningImage to continue. Since no image is needed if we are not
actually going to inspect, skip registration in this case.
@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from zaneb after the PR has been reviewed.

The full list of commands accepted by this bot can be found 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

@zaneb
Copy link
Member Author

zaneb commented Jun 21, 2022

/cc @dtantsur

@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 21, 2022
@dtantsur
Copy link
Member

I think #1128 is actually the right thing to do and has less potential side effects.

@zaneb
Copy link
Member Author

zaneb commented Jul 13, 2022

/close
Closing in favour of #1128.

@metal3-io-bot
Copy link
Contributor

@zaneb: Closed this PR.

In response to this:

/close
Closing in favour of #1128.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants