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 1779107: Fall back to machine-api check if certificate check fails #57

Merged
merged 1 commit into from Dec 6, 2019
Merged

Conversation

bison
Copy link
Contributor

@bison bison commented Dec 6, 2019

This falls back to the original machine-api based checks for serving
certificate renewals if the checks based on retrieving the current
serving certificate fail. This is needed in cases where network
interfaces are added to a machine after its initial creation, because
the SAN list in the new CSR will contain new addresses and no longer
match the current certificate exactly.

This requires the machine-controller to track all addresses on a
machine, which was recently fixed for AWS:

openshift/cluster-api-provider-aws#277

This falls back to the original machine-api based checks for serving
certificate renewals if the checks based on retrieving the current
serving certificate fail.  This is needed in cases where network
interfaces are added to a machine after its initial creation, because
the SAN list in the new CSR will contain new addresses and no longer
match the current certificate exactly.

This requires the machine-controller to track all addresses on a
machine, which was recently fixed for AWS:

  openshift/cluster-api-provider-aws#277
@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 Dec 6, 2019
@openshift-ci-robot
Copy link
Contributor

@bison: This pull request references Bugzilla bug 1779107, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Bug 1779107: Fall back to machine-api check if certificate check fails

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.

@bison
Copy link
Contributor Author

bison commented Dec 6, 2019

/cherry-pick release-4.3

@openshift-cherrypick-robot

@bison: once the present PR merges, I will cherry-pick it on top of release-4.3 in a new PR and assign it to you.

In response to this:

/cherry-pick release-4.3

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.

@michaelgugino
Copy link
Contributor

/lgtm

/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 6, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: michaelgugino

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 Dec 6, 2019
@openshift-merge-robot openshift-merge-robot merged commit 68f1c09 into openshift:master Dec 6, 2019
@openshift-cherrypick-robot

@bison: new pull request created: #58

In response to this:

/cherry-pick release-4.3

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
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants