Skip to content

Conversation

@yboaron
Copy link
Contributor

@yboaron yboaron commented Aug 30, 2020

When OPENSHIFT_INSTALL_PRESERVE_BOOTSTRAP deployment configuration parameter is set to true the
bootstrap node won't be destroyed and the infrastructure components including Keepalived on the bootstrap continue to run.

With this PR a stop message is sent to Keepalived control socket when the API server is not operational anymore on bootstrap node.
This change is important for platforms that run Keepalived in unicast mode (baremetal).

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

yboaron commented Aug 30, 2020

/retitle bug: 1866265 Stop Keepalived on bootstrap after bootstrap completed

@openshift-ci-robot openshift-ci-robot changed the title Stop Keepalived on bootstrap after bootstrap completed bug: 1866265 Stop Keepalived on bootstrap after bootstrap completed Aug 30, 2020
Copy link
Member

@bcrochet bcrochet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of comments, couple of questions.

return updateRequired, desiredModeInfo
}

func handleBootstrapApiNA(kubeconfigPath string, bootstrapApiNA chan bool) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not immediately apparent what "NA" stands for... It's used a few times here, and I sort of get that it's possibly an error condition, but I'm not totally sure from the context. Can we be more explicit here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the name

}
time.Sleep(5 * time.Second)
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra line.

@yboaron
Copy link
Contributor Author

yboaron commented Sep 6, 2020

/retest

@yboaron
Copy link
Contributor Author

yboaron commented Sep 14, 2020

/retest

2 similar comments
@yboaron
Copy link
Contributor Author

yboaron commented Sep 14, 2020

/retest

@yboaron
Copy link
Contributor Author

yboaron commented Sep 15, 2020

/retest

@yboaron yboaron requested a review from bcrochet September 15, 2020 16:52
Copy link
Member

@bcrochet bcrochet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@yboaron
Copy link
Contributor Author

yboaron commented Sep 17, 2020

/test e2e-metal-ipi

When OPENSHIFT_INSTALL_PRESERVE_BOOTSTRAP deployment configuration parameter is set to true the
bootstrap node won't be destroyed and the infrastructure components including Keepalived on the bootstrap continue to run.

With this PR a stop message is sent to Keepalived control socket when the API server is not operational anymore on bootstrap node.
This change is important for platforms that run Keepalived in unicast mode (baremetal).
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Sep 17, 2020
@yboaron
Copy link
Contributor Author

yboaron commented Sep 17, 2020

/test e2e-metal-ipi

1 similar comment
@yboaron
Copy link
Contributor Author

yboaron commented Sep 17, 2020

/test e2e-metal-ipi

@celebdor
Copy link
Contributor

/retitle Bug 1866265: Stop Keepalived on bootstrap after bootstrap completed

@openshift-ci-robot openshift-ci-robot changed the title bug: 1866265 Stop Keepalived on bootstrap after bootstrap completed Bug 1866265: Stop Keepalived on bootstrap after bootstrap completed Sep 18, 2020
@openshift-ci-robot openshift-ci-robot added the bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. label Sep 18, 2020
@openshift-ci-robot
Copy link
Contributor

@yboaron: This pull request references Bugzilla bug 1866265, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.6.0) matches configured target release for branch (4.6.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
Details

In response to this:

Bug 1866265: Stop Keepalived on bootstrap after bootstrap completed

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 openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Sep 18, 2020
Copy link
Member

@bcrochet bcrochet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bcrochet, yboaron

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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-merge-robot openshift-merge-robot merged commit 42fab51 into openshift:master Sep 21, 2020
@openshift-ci-robot
Copy link
Contributor

@yboaron: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Bugzilla bug in order for it to move to the next state.

Bugzilla bug 1866265 has not been moved to the MODIFIED state.

Details

In response to this:

Bug 1866265: Stop Keepalived on bootstrap after bootstrap completed

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/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants