-
Notifications
You must be signed in to change notification settings - Fork 45
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
Make drain timeout configurable and default to 1h #3633
Make drain timeout configurable and default to 1h #3633
Conversation
TeddyAndrieux
commented
Dec 8, 2021
- Set the default drain timeout to 3600 seconds (1 hour)
- Allow changing the drain timeout from CLI of upgrade and downgrade scripts
Hello teddyandrieux,My role is to assist you with the merge of this Status report is not available. |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/2.11/improvement/make-drain-timeout-configurable origin/development/2.11
$ git merge origin/improvement/make-drain-timeout-configurable
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/2.11/improvement/make-drain-timeout-configurable |
13f2089
to
6662b48
Compare
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
@@ -5,6 +5,7 @@ set -o pipefail | |||
|
|||
VERBOSE=${VERBOSE:-0} | |||
LOGFILE=/var/log/metalk8s/upgrade.log | |||
DRAIN_TIMEOUT=${DRAIN_TIMEOUT:-0} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC, this means that by default, the script sets the timeout to 0 seconds... Or did I miss something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I get it, you're relying on the timeout or 3600
expression, where 0
is false. OK, I guess :)
6662b48
to
423bff0
Compare
History mismatchMerge commit #f2965f6e3a5722ebbfc65d5e92daf2bd9aea23fe on the integration branch It is likely due to a rebase of the branch Please use the |
423bff0
to
5c5140c
Compare
/reset |
Reset completeI have successfully deleted this pull request's integration branches. |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/2.11/improvement/make-drain-timeout-configurable origin/development/2.11
$ git merge origin/improvement/make-drain-timeout-configurable
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/2.11/improvement/make-drain-timeout-configurable |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
The default drain timeout we set is really huge and in some cases we may want to change it to a lower value so that if drain take too much time upgrade and downgrade will stop
5c5140c
to
cb27a00
Compare
History mismatchMerge commit #ecc89bb443439f8a8bc3759c7f994aa7b0370cf7 on the integration branch It is likely due to a rebase of the branch Please use the |
/reset |
Reset completeI have successfully deleted this pull request's integration branches. |
ConflictA conflict has been raised during the creation of I have not created the integration branch. Here are the steps to resolve this conflict: $ git fetch
$ git checkout -B w/2.11/improvement/make-drain-timeout-configurable origin/development/2.11
$ git merge origin/improvement/make-drain-timeout-configurable
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/2.11/improvement/make-drain-timeout-configurable |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye teddyandrieux. |