-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
add strategy mitogen_linear when installed mitogen #5985
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LuckySB The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign |
I didn't see any differences on the CI jobs duration with these changes, is it expected? |
@EppO it's expected since there is no CI for mitogen. I'm wondering if we could use Mitogen in some (all?) CI jobs (maybe part1?) to accelerate things? |
So I did some tests between this PR (a2f4eaa) and master (d7df577). All done using vagrant and the Kubespray
In those test conditions (Vagrant with libvirt driver, 2 different servers with each test in parallel), mitogen was a little slower :( Not sure if/what I am doing wrong, but if we don't see a performance improvement (yet?) in CI, then I suggest to enable mitogen only on 1 job? |
3 master + 3 worker node try to play to avoid heavy time tasks on installed cluster: |
ok deploy1 packet_ubuntu18-calico-aio ? |
Interesting! I didn't check on a retry of @LuckySB which ever job you think is most suitable. |
After looking further in molecule, it looks like it helps when there is a latency between the ansible host and the inventory nodes. In my testing procedure that latency was minimal since running with vagrant, so that could explain why I didn't see any improvement. |
Rename playbook file The raw action executes as a regular Mitogen connection, which requires Python on the target, so add strategy: linear to bootstrap-os role playbook.
fix typo
change version from master to release download tar.gz archive
(get error /usr/bin/python: No such file or directory)
Ansible 2.8 interpreter discovery and become plugins are not yet supported. todo: set |
I did another set of tests with 30ms between the Ansible host and the cluster:
/lgtm |
) * add strategy mitogen_linear when installed mitogen * add small docs Rename playbook file The raw action executes as a regular Mitogen connection, which requires Python on the target, so add strategy: linear to bootstrap-os role playbook. * add mitogen to CI test fix typo * enable mitogen test on deploy-part1 tests change version from master to release download tar.gz archive * run all CI tests with mitogen * disable mitogen with upgrade CI tests * enable mitogen on CI tests via env vars * disable mitogen on CI test by default, enable on some different OS * disable mitogen CI test on centos8 (get error /usr/bin/python: No such file or directory)
/kind feature
What this PR does / why we need it:
enable mitogen when installed via playbook