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 actuator.Exists() to find a host in the unmanaged state #130
Allow actuator.Exists() to find a host in the unmanaged state #130
Conversation
This will enable the assisisted installer host to be linked
|
Thanks @asalkeld - since we're past feature-freeze this will need a bz to land - I think we need some further discussion with @zaneb and @dhellmann though, as although IIRC we added the unmanaged state specifically for this use-case, there was some concern that unless the host is marked externally provisioned, a day-2 action of adding BMC credentials could trigger inspection. I'm not certain if that will happen if we've already set the status via the annotation? But anyway we probably need to agree the expected provisioning status which will determine whether we need this change or not. |
Can we tell from looking at the Machine that it was created by the assisted installer? If so, we could check that the host is unmanaged and has externallyProvisioned set. If we can't tell an assisted installer Machine from a regular one, I am concerned that we might end up selecting an unprovisionable host for a real IPI case. Maybe we should use a separate loop, after this loop, to give provisionable hosts priority? |
This is fine. It's in |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: asalkeld, zaneb 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
This will enable the assisisted installer host to be linked