)]}'
{"id":"openstack%2Fopenstack-ansible-plugins~581893","triplet_id":"openstack%2Fopenstack-ansible-plugins~master~I76af71ffe19b2a8afb18ed731f1362a4e399c613","project":"openstack/openstack-ansible-plugins","branch":"master","hashtags":[],"change_id":"I76af71ffe19b2a8afb18ed731f1362a4e399c613","subject":"Correct severe performance problem","status":"MERGED","created":"2018-07-11 21:51:33.000000000","updated":"2018-07-12 14:41:31.000000000","submitted":"2018-07-12 14:41:31.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"581893-1531406491299-b9dc39a5","meta_rev_id":"6bbf91be318a3e56381a86b0fa096ef52f16a05a","_number":581893,"virtual_id_number":581893,"owner":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},{"value":0,"date":"2018-07-12 02:06:03.000000000","_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},{"value":0,"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},{"value":2,"date":"2018-07-12 14:41:31.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":25022,"name":"Rick Box","email":"box.rick@gmail.com","username":"rickbox"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"all":[{"value":2,"date":"2018-07-12 14:14:12.000000000","_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},{"value":0,"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},{"value":2,"date":"2018-07-12 14:14:31.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":1,"date":"2018-07-12 08:19:38.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":25022,"name":"Rick Box","email":"box.rick@gmail.com","username":"rickbox"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"all":[{"value":0,"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},{"value":0,"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},{"value":1,"date":"2018-07-12 14:14:39.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":25022,"name":"Rick Box","email":"box.rick@gmail.com","username":"rickbox"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Backport-Candidate":{"all":[{"value":0,"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},{"value":0,"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},{"value":0,"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":25022,"name":"Rick Box","email":"box.rick@gmail.com","username":"rickbox"}],"values":{"-1":"Not A Backport Candidate"," 0":"Backport Review Needed","+1":"Proposed Backport"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":25022,"name":"Rick Box","email":"box.rick@gmail.com","username":"rickbox"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2018-07-12 02:06:03.000000000","updated_by":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"reviewer":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"state":"REVIEWER"},{"updated":"2018-07-12 08:19:38.000000000","updated_by":{"_account_id":25022,"name":"Rick Box","email":"box.rick@gmail.com","username":"rickbox"},"reviewer":{"_account_id":25022,"name":"Rick Box","email":"box.rick@gmail.com","username":"rickbox"},"state":"REVIEWER"},{"updated":"2018-07-12 14:14:12.000000000","updated_by":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"reviewer":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"state":"REVIEWER"},{"updated":"2018-07-12 14:14:39.000000000","updated_by":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"reviewer":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"state":"REVIEWER"},{"updated":"2018-07-12 14:41:31.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"cedfcdbdb4e1a039b21189a3bb463408d786601a","author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"date":"2018-07-11 21:51:33.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"600d7f25377596e82f8c0f6d11faca6a521d3253","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-11 22:14:54.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttp://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n\n- build-openstack-sphinx-docs http://logs.openstack.org/93/581893/1/check/build-openstack-sphinx-docs/f624b51/html/ : SUCCESS in 3m 31s\n- openstack-ansible-linters http://logs.openstack.org/93/581893/1/check/openstack-ansible-linters/d1cf10f/ : SUCCESS in 5m 09s\n- openstack-ansible-functional-centos-7 http://logs.openstack.org/93/581893/1/check/openstack-ansible-functional-centos-7/f343d8f/ : FAILURE in 13m 27s\n- openstack-ansible-functional-opensuse-423 http://logs.openstack.org/93/581893/1/check/openstack-ansible-functional-opensuse-423/ebd0cac/ : FAILURE in 14m 25s\n- openstack-ansible-functional-ubuntu-bionic http://logs.openstack.org/93/581893/1/check/openstack-ansible-functional-ubuntu-bionic/1602925/ : FAILURE in 12m 17s\n- openstack-ansible-functional-ubuntu-xenial http://logs.openstack.org/93/581893/1/check/openstack-ansible-functional-ubuntu-xenial/b3596de/ : FAILURE in 10m 24s","accounts_in_message":[],"_revision_number":1},{"id":"d867561c02701944f26fa4957f9ef30b094b18e0","author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"date":"2018-07-11 22:41:41.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"ae24493fab89aafff5383a6e52d69bad8419a328","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-11 23:02:18.000000000","message":"Patch Set 2: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttp://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n\n- build-openstack-sphinx-docs http://logs.openstack.org/93/581893/2/check/build-openstack-sphinx-docs/c93ddee/html/ : SUCCESS in 2m 12s\n- openstack-ansible-linters http://logs.openstack.org/93/581893/2/check/openstack-ansible-linters/ad16d3b/ : SUCCESS in 6m 50s\n- openstack-ansible-functional-centos-7 http://logs.openstack.org/93/581893/2/check/openstack-ansible-functional-centos-7/32d6147/ : FAILURE in 15m 27s\n- openstack-ansible-functional-opensuse-423 http://logs.openstack.org/93/581893/2/check/openstack-ansible-functional-opensuse-423/b9ac84b/ : FAILURE in 12m 11s\n- openstack-ansible-functional-ubuntu-bionic http://logs.openstack.org/93/581893/2/check/openstack-ansible-functional-ubuntu-bionic/172d3cc/ : FAILURE in 14m 28s\n- openstack-ansible-functional-ubuntu-xenial http://logs.openstack.org/93/581893/2/check/openstack-ansible-functional-ubuntu-xenial/fd77933/ : FAILURE in 12m 16s","accounts_in_message":[],"_revision_number":2},{"id":"341e15f4c82b75f98607a4b79222ba2a8c83a33a","author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"date":"2018-07-11 23:16:42.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"5f13c6afdceffb8fc3737df4eb18691615362fa9","author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"date":"2018-07-11 23:17:21.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"829079345d0e0772369c5adef48f927991a5ce3c","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-11 23:38:29.000000000","message":"Patch Set 4: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttp://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n\n- build-openstack-sphinx-docs http://logs.openstack.org/93/581893/4/check/build-openstack-sphinx-docs/2790f75/html/ : SUCCESS in 2m 48s\n- openstack-ansible-linters http://logs.openstack.org/93/581893/4/check/openstack-ansible-linters/7d15c73/ : SUCCESS in 4m 55s\n- openstack-ansible-functional-centos-7 http://logs.openstack.org/93/581893/4/check/openstack-ansible-functional-centos-7/b1ffb8b/ : FAILURE in 12m 05s\n- openstack-ansible-functional-opensuse-423 http://logs.openstack.org/93/581893/4/check/openstack-ansible-functional-opensuse-423/2a5c359/ : FAILURE in 10m 00s\n- openstack-ansible-functional-ubuntu-bionic http://logs.openstack.org/93/581893/4/check/openstack-ansible-functional-ubuntu-bionic/cac6f78/ : SUCCESS in 13m 59s\n- openstack-ansible-functional-ubuntu-xenial http://logs.openstack.org/93/581893/4/check/openstack-ansible-functional-ubuntu-xenial/8b30016/ : FAILURE in 10m 50s","accounts_in_message":[],"_revision_number":4},{"id":"4eabe643ccd1bc0bfd295481046919e154fd886a","author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"date":"2018-07-11 23:56:07.000000000","message":"Uploaded patch set 5.","accounts_in_message":[],"_revision_number":5},{"id":"864766330945960a3327de66da20c501493c8e65","author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"date":"2018-07-12 00:04:16.000000000","message":"Uploaded patch set 6: Commit message was updated.","accounts_in_message":[],"_revision_number":6},{"id":"2f27fabc56b7bac3aed6b6486d86473901a4c020","author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"date":"2018-07-12 00:06:09.000000000","message":"Uploaded patch set 7.","accounts_in_message":[],"_revision_number":7},{"id":"e883a4ee9b2cd683b475a4c322b23f743e0a5b0a","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-12 00:30:03.000000000","message":"Patch Set 7: Verified+1\n\nBuild succeeded (check pipeline).\n\n- build-openstack-sphinx-docs http://logs.openstack.org/93/581893/7/check/build-openstack-sphinx-docs/69af862/html/ : SUCCESS in 2m 52s\n- openstack-ansible-linters http://logs.openstack.org/93/581893/7/check/openstack-ansible-linters/d0a4c1a/ : SUCCESS in 7m 52s\n- openstack-ansible-functional-centos-7 http://logs.openstack.org/93/581893/7/check/openstack-ansible-functional-centos-7/8f21656/ : SUCCESS in 19m 24s\n- openstack-ansible-functional-opensuse-423 http://logs.openstack.org/93/581893/7/check/openstack-ansible-functional-opensuse-423/aae767f/ : SUCCESS in 12m 43s\n- openstack-ansible-functional-ubuntu-bionic http://logs.openstack.org/93/581893/7/check/openstack-ansible-functional-ubuntu-bionic/5a96e70/ : SUCCESS in 14m 57s\n- openstack-ansible-functional-ubuntu-xenial http://logs.openstack.org/93/581893/7/check/openstack-ansible-functional-ubuntu-xenial/10e4408/ : SUCCESS in 12m 52s","accounts_in_message":[],"_revision_number":7},{"id":"10d359bb39750b33171fec78f9400cf122b2fb72","author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"date":"2018-07-12 02:06:03.000000000","message":"Patch Set 7:\n\ncheck experimental","accounts_in_message":[],"_revision_number":7},{"id":"53283a155e05f6fb06f22d91f86693cb3dac0b67","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-12 03:57:44.000000000","message":"Patch Set 7:\n\nBuild succeeded (experimental pipeline).\n\n- openstack-ansible-integrated-deploy-aio http://logs.openstack.org/93/581893/7/experimental/openstack-ansible-integrated-deploy-aio/5ba45ae/ : SUCCESS in 1h 51m 12s (non-voting)","accounts_in_message":[],"_revision_number":7},{"id":"4239919527071f73d63fb57523f91e48e7fd535d","author":{"_account_id":25022,"name":"Rick Box","email":"box.rick@gmail.com","username":"rickbox"},"date":"2018-07-12 08:19:38.000000000","message":"Patch Set 7: Code-Review+1\n\nWe make use of the OSA linear strategy plugin in our own Ansible world. A quick fix of this patch increased performance approximately 3x at the minimum points and considerably more in other cases!","accounts_in_message":[],"_revision_number":7},{"id":"ee42d86dec491542d0fb9353b5dd928018b65486","author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"date":"2018-07-12 14:14:12.000000000","message":"Patch Set 7: Code-Review+2\n\nSeems fine, doesn\u0027t break anything - thanks to Rick for real world feedback!","accounts_in_message":[],"_revision_number":7},{"id":"4a7f7f44581f5ac82e706d7dfa3341b02fa8af80","author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"date":"2018-07-12 14:14:31.000000000","message":"Patch Set 7: Code-Review+2","accounts_in_message":[],"_revision_number":7},{"id":"1ef2411f9d9c6ecca13c1ff88b0beed2fdfcd218","author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"date":"2018-07-12 14:14:39.000000000","message":"Patch Set 7: Workflow+1","accounts_in_message":[],"_revision_number":7},{"id":"6cf68338f533ee3c9c9888619fd6af46242b4e94","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-12 14:14:51.000000000","message":"Patch Set 7: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":7},{"id":"4e365e6671a813d93a479782d1005a625d86e395","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-12 14:41:31.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":7},{"id":"6bbf91be318a3e56381a86b0fa096ef52f16a05a","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-12 14:41:31.000000000","message":"Patch Set 7: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- build-openstack-sphinx-docs http://logs.openstack.org/93/581893/7/gate/build-openstack-sphinx-docs/02efe51/html/ : SUCCESS in 4m 33s\n- openstack-ansible-linters http://logs.openstack.org/93/581893/7/gate/openstack-ansible-linters/97f41de/ : SUCCESS in 7m 22s\n- openstack-ansible-functional-centos-7 http://logs.openstack.org/93/581893/7/gate/openstack-ansible-functional-centos-7/69cdd63/ : SUCCESS in 19m 54s\n- openstack-ansible-functional-opensuse-423 http://logs.openstack.org/93/581893/7/gate/openstack-ansible-functional-opensuse-423/98d1e8f/ : SUCCESS in 16m 02s\n- openstack-ansible-functional-ubuntu-bionic http://logs.openstack.org/93/581893/7/gate/openstack-ansible-functional-ubuntu-bionic/f9d3416/ : SUCCESS in 18m 57s\n- openstack-ansible-functional-ubuntu-xenial http://logs.openstack.org/93/581893/7/gate/openstack-ansible-functional-ubuntu-xenial/04fc497/ : SUCCESS in 14m 33s","accounts_in_message":[],"_revision_number":7}],"current_revision_number":7,"current_revision":"94c93e533f533206611ed70934b5819d7a318289","revisions":{"46f7117783af36b34b2eda15928a023602f303aa":{"kind":"REWORK","_number":1,"created":"2018-07-11 21:51:33.000000000","uploader":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"ref":"refs/changes/93/581893/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-ansible-plugins","ref":"refs/changes/93/581893/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/1"}}},"commit":{"parents":[{"commit":"408d1f28d0bb0774e453e76ae1a238cc0a061f17","subject":"Merge \"Fix connection plugin to work with Ansible 2.6.0\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/408d1f28d0bb0774e453e76ae1a238cc0a061f17"}]}],"author":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 21:19:39.000000000","tz":-300},"committer":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 21:51:08.000000000","tz":-300},"subject":"Correct severe performance problem","message":"Correct severe performance problem\n\nWhen running our plugins we\u0027re seeing a severe performance impact in\nthe ansible run-time. As it turns out, within the linear strategy we\u0027re\nlooping over all physical hosts in an environment and pulling address\ninformation out to store as a task variable. This action causes all\ntasks to reload all {group,host}_vars for all hosts and that repetitive\naction results in a massive slowdown, especially when there are many\nhosts within the inventory.\n\nResults from a normal OSA playbook run on 50 hosts:\n  time openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    37m44.263s\n  user    35m30.984s\n  sys     2m23.252s\n\nResults with the strategy plugin disabled on 50 hosts:\n  time ANSIBLE_STRATEGY_PLUGINS\u003dfalse openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    5m8.641s\n  user    6m30.792s\n  sys     1m32.512s\n\nThis change scopes the physical host look up to the task and target host\nand adds conditionals around the process to ensure we\u0027re not forcing a lookup\nthat has no chance of succeeding.\n\nResults with this patch applied on 50 hosts and no forks:\n  time openstack-ansible openstack-hosts-setup.yml\n  real    5m3.236s\n  user    6m23.820s\n  sys     1m22.344s\n\nChange-Id: I76af71ffe19b2a8afb18ed731f1362a4e399c613\nSigned-off-by: Kevin Carter \u003ckevin.carter@rackspace.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/46f7117783af36b34b2eda15928a023602f303aa"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/46f7117783af36b34b2eda15928a023602f303aa"}]},"branch":"refs/heads/master"},"c4650e88dee90f2cc5bb7d93daf4d2090aa08825":{"kind":"REWORK","_number":2,"created":"2018-07-11 22:41:41.000000000","uploader":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"ref":"refs/changes/93/581893/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-ansible-plugins","ref":"refs/changes/93/581893/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/2"}}},"commit":{"parents":[{"commit":"408d1f28d0bb0774e453e76ae1a238cc0a061f17","subject":"Merge \"Fix connection plugin to work with Ansible 2.6.0\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/408d1f28d0bb0774e453e76ae1a238cc0a061f17"}]}],"author":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 21:19:39.000000000","tz":-300},"committer":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 22:41:23.000000000","tz":-300},"subject":"Correct severe performance problem","message":"Correct severe performance problem\n\nWhen running our plugins we\u0027re seeing a severe performance impact in\nthe ansible run-time. As it turns out, within the linear strategy we\u0027re\nlooping over all physical hosts in an environment and pulling address\ninformation out to store as a task variable. This action causes all\ntasks to reload all {group,host}_vars for all hosts and that repetitive\naction results in a massive slowdown, especially when there are many\nhosts within the inventory.\n\nResults from a normal OSA playbook run on 50 hosts:\n  time openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    37m44.263s\n  user    35m30.984s\n  sys     2m23.252s\n\nResults with the strategy plugin disabled on 50 hosts:\n  time ANSIBLE_STRATEGY_PLUGINS\u003dfalse openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    5m8.641s\n  user    6m30.792s\n  sys     1m32.512s\n\nThis change scopes the physical host look up to the task and target host\nand adds conditionals around the process to ensure we\u0027re not forcing a lookup\nthat has no chance of succeeding.\n\nResults with this patch applied on 50 hosts and no forks:\n  time openstack-ansible openstack-hosts-setup.yml\n  real    5m3.236s\n  user    6m23.820s\n  sys     1m22.344s\n\nChange-Id: I76af71ffe19b2a8afb18ed731f1362a4e399c613\nSigned-off-by: Kevin Carter \u003ckevin.carter@rackspace.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/c4650e88dee90f2cc5bb7d93daf4d2090aa08825"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/c4650e88dee90f2cc5bb7d93daf4d2090aa08825"}]},"branch":"refs/heads/master"},"6e405eab96fd054f0eb2fc17480cad17ac6e69f1":{"kind":"REWORK","_number":3,"created":"2018-07-11 23:16:42.000000000","uploader":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"ref":"refs/changes/93/581893/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-ansible-plugins","ref":"refs/changes/93/581893/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/3"}}},"commit":{"parents":[{"commit":"408d1f28d0bb0774e453e76ae1a238cc0a061f17","subject":"Merge \"Fix connection plugin to work with Ansible 2.6.0\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/408d1f28d0bb0774e453e76ae1a238cc0a061f17"}]}],"author":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 21:19:39.000000000","tz":-300},"committer":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 23:16:26.000000000","tz":-300},"subject":"Correct severe performance problem","message":"Correct severe performance problem\n\nWhen running our plugins we\u0027re seeing a severe performance impact in\nthe ansible run-time. As it turns out, within the linear strategy we\u0027re\nlooping over all physical hosts in an environment and pulling address\ninformation out to store as a task variable. This action causes all\ntasks to reload all {group,host}_vars for all hosts and that repetitive\naction results in a massive slowdown, especially when there are many\nhosts within the inventory.\n\nResults from a normal OSA playbook run on 50 hosts:\n  time openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    37m44.263s\n  user    35m30.984s\n  sys     2m23.252s\n\nResults with the strategy plugin disabled on 50 hosts:\n  time ANSIBLE_STRATEGY_PLUGINS\u003dfalse openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    5m8.641s\n  user    6m30.792s\n  sys     1m32.512s\n\nThis change scopes the physical host look up to the task and target host\nand adds conditionals around the process to ensure we\u0027re not forcing a lookup\nthat has no chance of succeeding.\n\nResults with this patch applied on 50 hosts and no forks:\n  time openstack-ansible openstack-hosts-setup.yml\n  real    5m3.236s\n  user    6m23.820s\n  sys     1m22.344s\n\nChange-Id: I76af71ffe19b2a8afb18ed731f1362a4e399c613\nSigned-off-by: Kevin Carter \u003ckevin.carter@rackspace.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/6e405eab96fd054f0eb2fc17480cad17ac6e69f1"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/6e405eab96fd054f0eb2fc17480cad17ac6e69f1"}]},"branch":"refs/heads/master"},"4250c065638f64b692be5de058694b83f5674e8a":{"kind":"REWORK","_number":4,"created":"2018-07-11 23:17:21.000000000","uploader":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"ref":"refs/changes/93/581893/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-ansible-plugins","ref":"refs/changes/93/581893/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/4"}}},"commit":{"parents":[{"commit":"408d1f28d0bb0774e453e76ae1a238cc0a061f17","subject":"Merge \"Fix connection plugin to work with Ansible 2.6.0\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/408d1f28d0bb0774e453e76ae1a238cc0a061f17"}]}],"author":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 21:19:39.000000000","tz":-300},"committer":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 23:17:15.000000000","tz":-300},"subject":"Correct severe performance problem","message":"Correct severe performance problem\n\nWhen running our plugins we\u0027re seeing a severe performance impact in\nthe ansible run-time. As it turns out, within the linear strategy we\u0027re\nlooping over all physical hosts in an environment and pulling address\ninformation out to store as a task variable. This action causes all\ntasks to reload all {group,host}_vars for all hosts and that repetitive\naction results in a massive slowdown, especially when there are many\nhosts within the inventory.\n\nResults from a normal OSA playbook run on 50 hosts:\n  time openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    37m44.263s\n  user    35m30.984s\n  sys     2m23.252s\n\nResults with the strategy plugin disabled on 50 hosts:\n  time ANSIBLE_STRATEGY_PLUGINS\u003dfalse openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    5m8.641s\n  user    6m30.792s\n  sys     1m32.512s\n\nThis change scopes the physical host look up to the task and target host\nand adds conditionals around the process to ensure we\u0027re not forcing a lookup\nthat has no chance of succeeding.\n\nResults with this patch applied on 50 hosts and no forks:\n  time openstack-ansible openstack-hosts-setup.yml\n  real    5m3.236s\n  user    6m23.820s\n  sys     1m22.344s\n\nChange-Id: I76af71ffe19b2a8afb18ed731f1362a4e399c613\nSigned-off-by: Kevin Carter \u003ckevin.carter@rackspace.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/4250c065638f64b692be5de058694b83f5674e8a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/4250c065638f64b692be5de058694b83f5674e8a"}]},"branch":"refs/heads/master"},"f8db5027102a0465498c55de87c500f70a4f4e77":{"kind":"REWORK","_number":5,"created":"2018-07-11 23:56:07.000000000","uploader":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"ref":"refs/changes/93/581893/5","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-ansible-plugins","ref":"refs/changes/93/581893/5","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/5"}}},"commit":{"parents":[{"commit":"408d1f28d0bb0774e453e76ae1a238cc0a061f17","subject":"Merge \"Fix connection plugin to work with Ansible 2.6.0\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/408d1f28d0bb0774e453e76ae1a238cc0a061f17"}]}],"author":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 21:19:39.000000000","tz":-300},"committer":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 23:54:59.000000000","tz":-300},"subject":"Correct severe performance problem","message":"Correct severe performance problem\n\nWhen running our plugins we\u0027re seeing a severe performance impact in\nthe ansible run-time. As it turns out, within the linear strategy we\u0027re\nlooping over all physical hosts in an environment and pulling address\ninformation out to store as a task variable. This action causes all\ntasks to reload all {group,host}_vars for all hosts and that repetitive\naction results in a massive slowdown, especially when there are many\nhosts within the inventory.\n\nResults from a normal OSA playbook run on 50 hosts:\n  time openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    37m44.263s\n  user    35m30.984s\n  sys     2m23.252s\n\nResults with the strategy plugin disabled on 50 hosts:\n  time ANSIBLE_STRATEGY_PLUGINS\u003dfalse openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    5m8.641s\n  user    6m30.792s\n  sys     1m32.512s\n\nThis change scopes the physical host look up to the task and target host\nand adds conditionals around the process to ensure we\u0027re not forcing a lookup\nthat has no chance of succeeding.\n\nResults with this patch applied on 50 hosts and no forks:\n  time openstack-ansible openstack-hosts-setup.yml\n  real    5m3.236s\n  user    6m23.820s\n  sys     1m22.344s\n\nShould anything like this come up again debug statements have been added\nto the method so that we can enable verbose mode and know what is being\nparsed.\n\nChange-Id: I76af71ffe19b2a8afb18ed731f1362a4e399c613\nSigned-off-by: Kevin Carter \u003ckevin.carter@rackspace.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/f8db5027102a0465498c55de87c500f70a4f4e77"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/f8db5027102a0465498c55de87c500f70a4f4e77"}]},"branch":"refs/heads/master"},"dbcd9f115ca8ebde5aede3db7787bf7bfed76026":{"kind":"NO_CODE_CHANGE","_number":6,"created":"2018-07-12 00:04:16.000000000","uploader":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"ref":"refs/changes/93/581893/6","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-ansible-plugins","ref":"refs/changes/93/581893/6","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/6 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/6 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/6 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/6"}}},"commit":{"parents":[{"commit":"408d1f28d0bb0774e453e76ae1a238cc0a061f17","subject":"Merge \"Fix connection plugin to work with Ansible 2.6.0\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/408d1f28d0bb0774e453e76ae1a238cc0a061f17"}]}],"author":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 21:19:39.000000000","tz":-300},"committer":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-12 00:03:48.000000000","tz":-300},"subject":"Correct severe performance problem","message":"Correct severe performance problem\n\nWhen running our plugins we\u0027re seeing a severe performance impact in\nthe ansible run-time. As it turns out, within the linear strategy we\u0027re\nlooping over all physical hosts in an environment and pulling address\ninformation out to store as a task variable. This action causes all\ntasks to reload all {group,host}_vars for all hosts and that repetitive\naction results in a massive slowdown, especially when there are many\nhosts within the inventory.\n\nResults from a normal OSA playbook run on 50 hosts:\n  time openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    37m44.263s\n  user    35m30.984s\n  sys     2m23.252s\n\nResults with the strategy plugin disabled on 50 hosts:\n  time ANSIBLE_STRATEGY_PLUGINS\u003dfalse openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    5m8.641s\n  user    6m30.792s\n  sys     1m32.512s\n\nThis change scopes the physical host look up to the task and target host\nand adds conditionals around the process to ensure we\u0027re not forcing a lookup\nthat has no chance of succeeding.\n\nResults with this patch applied on 50 hosts and no forks:\n  time openstack-ansible openstack-hosts-setup.yml\n  real    6m40.573s\n  user    7m53.336s\n  sys     1m25.828s\n\nShould anything like this come up again debug statements have been added\nto the method so that we can enable verbose mode and know what is being\nparsed.\n\nChange-Id: I76af71ffe19b2a8afb18ed731f1362a4e399c613\nSigned-off-by: Kevin Carter \u003ckevin.carter@rackspace.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/dbcd9f115ca8ebde5aede3db7787bf7bfed76026"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/dbcd9f115ca8ebde5aede3db7787bf7bfed76026"}]},"branch":"refs/heads/master"},"94c93e533f533206611ed70934b5819d7a318289":{"kind":"REWORK","_number":7,"created":"2018-07-12 00:06:09.000000000","uploader":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"ref":"refs/changes/93/581893/7","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-ansible-plugins","ref":"refs/changes/93/581893/7","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/7 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/7 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/7 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/93/581893/7"}}},"commit":{"parents":[{"commit":"408d1f28d0bb0774e453e76ae1a238cc0a061f17","subject":"Merge \"Fix connection plugin to work with Ansible 2.6.0\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/408d1f28d0bb0774e453e76ae1a238cc0a061f17"}]}],"author":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-11 21:19:39.000000000","tz":-300},"committer":{"name":"Kevin Carter","email":"kevin.carter@rackspace.com","date":"2018-07-12 00:06:00.000000000","tz":-300},"subject":"Correct severe performance problem","message":"Correct severe performance problem\n\nWhen running our plugins we\u0027re seeing a severe performance impact in\nthe ansible run-time. As it turns out, within the linear strategy we\u0027re\nlooping over all physical hosts in an environment and pulling address\ninformation out to store as a task variable. This action causes all\ntasks to reload all {group,host}_vars for all hosts and that repetitive\naction results in a massive slowdown, especially when there are many\nhosts within the inventory.\n\nResults from a normal OSA playbook run on 50 hosts:\n  time openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    37m44.263s\n  user    35m30.984s\n  sys     2m23.252s\n\nResults with the strategy plugin disabled on 50 hosts:\n  time ANSIBLE_STRATEGY_PLUGINS\u003dfalse openstack-ansible openstack-hosts-setup.yml --forks 15\n  real    5m8.641s\n  user    6m30.792s\n  sys     1m32.512s\n\nThis change scopes the physical host look up to the task and target host\nand adds conditionals around the process to ensure we\u0027re not forcing a lookup\nthat has no chance of succeeding.\n\nResults with this patch applied on 50 hosts and no forks:\n  time openstack-ansible openstack-hosts-setup.yml\n  real    6m40.573s\n  user    7m53.336s\n  sys     1m25.828s\n\nShould anything like this come up again debug statements have been added\nto the method so that we can enable verbose mode and know what is being\nparsed.\n\nChange-Id: I76af71ffe19b2a8afb18ed731f1362a4e399c613\nSigned-off-by: Kevin Carter \u003ckevin.carter@rackspace.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/94c93e533f533206611ed70934b5819d7a318289"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/94c93e533f533206611ed70934b5819d7a318289"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
