Skip to content

Conversation

@vrutkovs
Copy link
Contributor

- What I did

Updated DR scripts to start all stopped pods.

Script won't start all stopped pods if it was terminated and restarted.
This may happen when pod-based ssh bastion is used and connection may break
when other masters are starting.

Instead start_static_pods function should re-read a list of pods in MANIFEST_STOPPED_DIR.

- How to verify it

  • Follow snapshot restore DR procedure and stop the script when master is being restored.
  • Stop the script in the middle
  • Restart the script
  • Verify all pods from /etc/kubernetes/manifests-stopped were started

- Description for the changelog

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 20, 2019
@vrutkovs
Copy link
Contributor Author

/retest

Unable to mount volumes for pod "support-operator-.."

@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 20, 2019
@cgwalters
Copy link
Member

/approve

@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 20, 2019
@vrutkovs
Copy link
Contributor Author

/test e2e-aws-upgrade

Vadim Rutkovsky added 2 commits May 20, 2019 23:11
Script won't start all stopped pods if it was terminated and restarted.
Instead it should re-read a list of pods in MANIFEST_STOPPED_DIR and
move them to MANIFEST_DIR
@vrutkovs vrutkovs force-pushed the dr-start-all-pods branch from 8c4e589 to 8554f3a Compare May 20, 2019 21:12
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label May 20, 2019
@kikisdeliveryservice
Copy link
Contributor

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, hexfusion, kikisdeliveryservice, 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:
  • OWNERS [cgwalters,kikisdeliveryservice]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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/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.

6 participants