-
Notifications
You must be signed in to change notification settings - Fork 462
DR: use param to populate etcd name #804
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
DR: use param to populate etcd name #804
Conversation
|
/test e2e-restore-cluster-state |
|
@vrutkovs Looks like we fail to get bastion installed correctly? |
|
/retest |
Yep, that's Route53 not replying back after 30 attempts :/ |
templates/master/00-master/_base/files/usr-local-bin-etcd-snapshot-restore-sh.yaml
Outdated
Show resolved
Hide resolved
|
@vrutkovs adding exit 1 to usage() gave us what we were expecting. |
|
This is fixed in openshift/release#3919 |
|
/test e2e-restore-cluster-state |
|
/test e2e-etcd-quorum-loss |
|
/hold cancel |
|
I think I started /test e2e-etcd-quorum-loss |
|
/test e2e-restore-cluster-state |
/cc @vrutkovs /test e2e-etcd-quorum-loss |
|
I think the issue was actually on me I wanted to check that the snapshot existed early. But if we want to use the backup the check was too soon as it did not exist yet. |
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
|
all tests passed! |
|
/cc @runcom |
|
/test e2e-etcd-quorum-loss |
|
@hexfusion: The following tests failed, say
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. DetailsInstructions 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. |
Known flake (although I assumed the fix has been merged by that time). |
|
/lgtm |
The tests are still flakey due to other issues than this code directly. The changes here are needed for DR to work properly for bare-metal so we need to merge this and then solve other problems. |
|
@kikisdeliveryservice @cgwalters could I get an approval, please. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hexfusion, runcom, vrutkovs The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherrypick release-4.1 |
|
@hexfusion: #804 failed to apply on top of branch "release-4.1": DetailsIn 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. |
The PR resolves a few issues.
ETCD_NAMEis currently populated fromhostnamebut this is not always valid. For example,hostnamein AWS returns the hostname of the node. But in baremetal hostname returns FQDN. Because we can no longer assume how etcd name is formatted we will ask for it as a mandatory param foretcd-member-recover.sh. With the addition ofvalidate_etcd_name function,we can now extract the ETCD_NAME fromETCD_INITIAL_CLUSTERforetcd-snapshot-restore.sh.ETCD_CONNSTRING is now renamed ETCD_INTIAL_CLUSTER to more accurately reflect value.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1714457
/hold