-
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
Improve robustness of salt-master and upgrade #3125
Improve robustness of salt-master and upgrade #3125
Conversation
After kubelet upgrade all static pod may restart, so we need to wait for some "useful" pods to be running before going further in the upgrade process. NOTE: That before this PR we already sleep 20 seconds, so this commit only add a proper check after this sleep (cherry picked from commit 9ee0c53)
In upgrade script, bump the default to wait for a container to be ready from default 60s to 120s, to avoid some flakiness on environment that are a bit slow during upgrade process
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.8/improvement/improve-upgrade-robustness origin/development/2.8
$ git merge origin/improvement/improve-upgrade-robustness
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/2.8/improvement/improve-upgrade-robustness |
43c6ddf
to
a29fe17
Compare
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 |
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 following options are set: approve |
a29fe17
to
8bc1f3e
Compare
History mismatchMerge commit #d562b23cde07622357e2bd752b87ca700c3d228f on the integration branch It is likely due to a rebase of the branch Please use the The following options are set: approve |
/reset |
Reset completeI have successfully deleted this pull request's integration branches. The following options are set: approve |
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.8/improvement/improve-upgrade-robustness origin/development/2.8
$ git merge origin/improvement/improve-upgrade-robustness
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/2.8/improvement/improve-upgrade-robustness The following options are set: approve |
Time to time, especially on really slow platform, we got failure because salt state execution timeout. Increase salt-master default timeout to 20 (cherry picked from commit 73835be)
Time to time salt-master get overloaded because he receive to much query, for example during upgrade and one environment a bit slow some salt states may timeout and make the upgrade fail. To avoid that kind of issue just bump the `sock_pool_size` on salt master (from 1 to 15) to avoid blocking waiting for zeromq communications and also bump the `worker_threads` on salt master (from 5 to 10) to avoid some failure if you have too many communication with the salt master (e.g.: because of upgrade + storage operator) Sees: saltstack/salt#53147
8bc1f3e
to
59d0969
Compare
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 following options are set: approve |
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.
Code is OK, just an edit to make for the changelog entry (sorry 😇)
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 following reviewers are expecting changes from the author, or must review again: The following options are set: approve |
59d0969
to
debe85e
Compare
History mismatchMerge commit #59d096901b694558ab7a9bc40f9a77b3962f6c3c on the integration branch It is likely due to a rebase of the branch Please use the The following options are set: approve |
/reset |
Reset completeI have successfully deleted this pull request's integration branches. The following options are set: approve |
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.8/improvement/improve-upgrade-robustness origin/development/2.8
$ git merge origin/improvement/improve-upgrade-robustness
$ # <intense conflict resolution>
$ git commit
$ git push -u origin w/2.8/improvement/improve-upgrade-robustness The following options are set: approve |
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.
Build failedThe build for commit did not succeed in branch w/2.8/improvement/improve-upgrade-robustness. The following options are set: 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. |
Component:
'salt', 'lifecycle'
Context:
Upgrade get a lot of flakies on environment that are a bit slow
Summary:
sock_pool_size
(from 1 to 15) andworker_threads
(from 5 to 10)