-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
✨ Add sentinel file to signal successful bootstrapping #4084
✨ Add sentinel file to signal successful bootstrapping #4084
Conversation
/cc @jsturtevant @jdef |
@CecileRobertMichon: GitHub didn't allow me to request PR reviews from the following users: jdef. Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
docker e2e is failing because the docker provider is modifying runcmd to append |
c972045
to
2d2c05e
Compare
/retest |
2d2c05e
to
b3246bb
Compare
/milestone v0.4.0 |
/hold trying to add a test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@jdef: changing LGTM is restricted to collaborators 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. |
To ensure that this is working as expected, maybe integration testing looks something like:
My hunch is that the 2nd case is a bit more work, but it also tests the logic for "ONLY create the sentinel if kubeadm succeeds". Failure signal probably needs some thought. Straw man: a polling mechanism in docker/docker/machine.go::ExecBootstrap that waits X time for the sentinel file to appear in the container (since kubeadm has already finished executing (or failing) the wait time can probably be short). |
a41a0bd
to
cd3f067
Compare
test/infrastructure/docker/controllers/dockermachine_controller.go
Outdated
Show resolved
Hide resolved
0cfefb4
to
54fc4f7
Compare
54fc4f7
to
90003fc
Compare
90003fc
to
5ee066a
Compare
5ee066a
to
76c8c35
Compare
/hold cancel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/assign @fabriziopandini |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini 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 |
What this PR does / why we need it: This PR does three things:
/run/cluster-api/bootstrap-success.complete
to signal successful completion of bootstrapping to the Bootstrap Provider contract.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #3716