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

Bug 1795776: data/bootstrap: delay the removal of bootstrap mcs #3007

Merged
merged 1 commit into from Jan 28, 2020
Merged

Conversation

crawford
Copy link
Contributor

@crawford crawford commented Jan 28, 2020

The bootstrap MCS is responsible for serving Ignition configs to the
booting control plane machines while we wait for the full control plane
(which will host the in-cluster MCS). If we remove this too early, it
will prevent the control plane machines from booting and the control
plane from starting. The etcd health check, which is the gate before we
remove the MCS, reports healthly (since the one-node, bootstrap etcd
cluster is actually up) before the control plane machines had a chance
to boot. The result is that one or more of the control plane machines
get stuck during boot (because Ignition is still trying to fetch a
config) and the cluster fails to bootstrap.

This moves the bootstrap MCS removal after bootkube has finished, which
will ensure that all of the initial manifests have been loaded into the
cluster (including the MCO/MCS manifests).

Thank you, @abhinavdahiya, for identifying the culprit.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 28, 2020
@crawford
Copy link
Contributor Author

/test e2e-aws-upi

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 28, 2020
The bootstrap MCS is responsible for serving Ignition configs to the
booting control plane machines while we wait for the full control plane
(which will host the in-cluster MCS). If we remove this too early, it
will prevent the control plane machines from booting and the control
plane from starting. The etcd health check, which is the gate before we
remove the MCS, reports healthly (since the one-node, bootstrap etcd
cluster is actually up) before the control plane machines had a chance
to boot. The result is that one or more of the control plane machines
get stuck during boot (because Ignition is still trying to fetch a
config) and the cluster fails to bootstrap.

This moves the bootstrap MCS removal after bootkube has finished, which
will ensure that all of the initial manifests have been loaded into the
cluster (including the MCO/MCS manifests).
@crawford
Copy link
Contributor Author

All three of the IPI installs and the UPI install all completed. I'm going to force push to clean up the commit message and get in another round of testing, but I think this is probably ready to go.

@crawford crawford changed the title WIP: data/bootstrap: delay the removal of bootstrap mcs data/bootstrap: delay the removal of bootstrap mcs Jan 28, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 28, 2020
@hexfusion
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 28, 2020
@crawford
Copy link
Contributor Author

/test aws-e2e-upi

@crawford
Copy link
Contributor Author

No one saw that typo...

/test e2e-aws-upi

@crawford crawford changed the title data/bootstrap: delay the removal of bootstrap mcs Bug 1795776: data/bootstrap: delay the removal of bootstrap mcs Jan 28, 2020
@openshift-ci-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Jan 28, 2020
@openshift-ci-robot
Copy link
Contributor

@crawford: This pull request references Bugzilla bug 1795776, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Bug 1795776: data/bootstrap: delay the removal of bootstrap mcs

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.

@abhinavdahiya
Copy link
Contributor

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 28, 2020
@crawford
Copy link
Contributor Author

The two AWS jobs that failed, both bootstrapped properly. In the FIPS case, tests failed because of OLM. In the other, the installation failed because two of the workers failed to come up. While we dig into that further (we don't think it's related to this PR), I want to get the CI machine rolling again.

/test e2e-aws

@openshift-merge-robot openshift-merge-robot merged commit 993c8ce into openshift:master Jan 28, 2020
@openshift-ci-robot
Copy link
Contributor

@crawford: All pull requests linked via external trackers have merged. Bugzilla bug 1795776 has been moved to the MODIFIED state.

In response to this:

Bug 1795776: data/bootstrap: delay the removal of bootstrap mcs

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.

@openshift-ci-robot
Copy link
Contributor

@crawford: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-ovirt 6f6d2f5 link /test e2e-ovirt
ci/prow/e2e-aws-fips 6f6d2f5 link /test e2e-aws-fips
ci/prow/e2e-aws-upi 6f6d2f5 link /test e2e-aws-upi
ci/prow/e2e-aws-scaleup-rhel7 6f6d2f5 link /test e2e-aws-scaleup-rhel7
ci/prow/e2e-libvirt 6f6d2f5 link /test e2e-libvirt

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged. 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

5 participants