-
Notifications
You must be signed in to change notification settings - Fork 80
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
Remove duplicated ansible.cfg configurations #1653
Conversation
This patch removes duplicated Ansible configurations that match OSA's defaults. The ssh timeout was left in the file since it differs from the OSA default (120 seconds in RPC vs 5 seconds in OSA). RPC previously set forks at 15 for all deployments, but OSA uses a safer mechanism to determine the maximum amount of forks. It sets a hard limit of 10 but it lowers that limit to the maximum amount of CPUs in the system if the CPU count is under 10. Connects rcbops/rpc-openstack#1639
recheck_ceph |
That darned tempest test!
Thanks, @alextricity25. ;) |
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.
LGTM 👍 when ceph test passed
|
||
# SSH timeout | ||
# NOTE: The ssh timeout is increased here to 120 (OSA's default is 5) to | ||
# avoid transient ssh errors in some environments. | ||
timeout = 120 |
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.
Is there a reason we need this timeout?
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.
Which transient errors? can they be fixed so we don't have to be 'special'?
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.
Not sure exactly what they were, but I remember @andymcc proposed those patches. We had some ssh connectivity issues to newly built containers and increasing the timeouts got us over the hump.
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.
Ya, looked at the blame/commit for it and it didn't explain it much.
This patch removes duplicated Ansible configurations that match OSA's
defaults. The ssh timeout was left in the file since it differs from
the OSA default (120 seconds in RPC vs 5 seconds in OSA).
RPC previously set forks at 15 for all deployments, but OSA uses a
safer mechanism to determine the maximum amount of forks. It sets a
hard limit of 10 but it lowers that limit to the maximum amount of
CPUs in the system if the CPU count is under 10.
Connects rcbops/rpc-openstack#1639