Skip to content

Conversation

@vrutkovs
Copy link
Contributor

This enables etcd restore script restore the multimember cluster. This is required for CI where a 3 member cluster needs to be restored.

/cc @hexfusion @runcom

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 17, 2019
@vrutkovs
Copy link
Contributor Author

/hold

Requires manual verification

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 17, 2019
…ection string

This enables etcd restore script restore the multimember cluster
@vrutkovs vrutkovs force-pushed the dr-etcd-restore-connstring branch from 2801123 to a1bbc59 Compare May 17, 2019 10:38
@hexfusion
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 17, 2019
@runcom
Copy link
Member

runcom commented May 17, 2019

/approve

@openshift-ci-robot
Copy link
Contributor

[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

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-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 17, 2019
@vrutkovs
Copy link
Contributor Author

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 17, 2019
@hexfusion
Copy link
Contributor

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 17, 2019
--initial-cluster ${ETCD_CONNSTRING} \
--initial-cluster-token etcd-cluster-1 \
--skip-hash-check=true \
--initial-advertise-peer-urls https://${ETCD_IPV4_ADDRESS}:2380 \
Copy link
Contributor

Choose a reason for hiding this comment

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

Since we are here we should really make this a param as well for flexability?

if [ -z "${ETCD_INIT_PEERS_URLS}" ]; then
ETCD_INITIAL_PEERS="https://${ETCD_IPV4_ADDRESS}:2380
fi

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, I'll address that in the next PR and make sure CI uses this param

@hexfusion
Copy link
Contributor

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 17, 2019
@openshift-merge-robot openshift-merge-robot merged commit 6fb0179 into openshift:master May 17, 2019
@runcom
Copy link
Member

runcom commented May 17, 2019

cherry-picked in #771

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. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants