)]}'
{"id":"openstack%2Fopenstack-ansible-plugins~579320","triplet_id":"openstack%2Fopenstack-ansible-plugins~master~I7a4e89c579a3e688decaeb91b9035500129c7b16","project":"openstack/openstack-ansible-plugins","branch":"master","topic":"physical-host-var","hashtags":[],"change_id":"I7a4e89c579a3e688decaeb91b9035500129c7b16","subject":"Template the physical host address","status":"MERGED","created":"2018-06-30 04:48:33.000000000","updated":"2018-07-04 17:49:49.000000000","submitted":"2018-07-04 17:49:49.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":"579320-1530726589444-f4a6aae1","meta_rev_id":"6c9367040742c21e0f20c4e18b1d002030bd467a","_number":579320,"virtual_id_number":579320,"owner":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},{"value":0,"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},{"value":2,"date":"2018-07-04 17:49:49.000000000","post_submit":true,"permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"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":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"all":[{"value":2,"date":"2018-07-04 17:27:14.000000000","_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},{"value":2,"date":"2018-07-02 08:35:38.000000000","_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"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":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"all":[{"value":1,"date":"2018-07-04 17:27:14.000000000","_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},{"value":0,"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Backport-Candidate":{"all":[{"value":0,"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},{"value":0,"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"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":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2018-07-02 08:35:38.000000000","updated_by":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"reviewer":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"state":"REVIEWER"},{"updated":"2018-07-04 17:27:14.000000000","updated_by":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"reviewer":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"state":"REVIEWER"},{"updated":"2018-07-04 17:49:49.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":"8202bdc62046d287ddd5432502a38c26ca0b6749","author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"date":"2018-06-30 04:48:33.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"b2f8d9508e1547f61445fc5fc906fec05ea34b21","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-06-30 05:08:16.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- build-openstack-sphinx-docs http://logs.openstack.org/20/579320/1/check/build-openstack-sphinx-docs/a073df8/html/ : SUCCESS in 2m 42s\n- openstack-ansible-linters http://logs.openstack.org/20/579320/1/check/openstack-ansible-linters/3a2f759/ : SUCCESS in 5m 51s\n- openstack-ansible-functional-centos-7 http://logs.openstack.org/20/579320/1/check/openstack-ansible-functional-centos-7/73e098e/ : SUCCESS in 18m 31s\n- openstack-ansible-functional-opensuse-423 http://logs.openstack.org/20/579320/1/check/openstack-ansible-functional-opensuse-423/214f837/ : SUCCESS in 13m 55s\n- openstack-ansible-functional-ubuntu-xenial http://logs.openstack.org/20/579320/1/check/openstack-ansible-functional-ubuntu-xenial/e24bd6a/ : SUCCESS in 14m 57s","accounts_in_message":[],"_revision_number":1},{"id":"ab35a8009de661cf22bbf9bdb5ee031a047635b1","author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"date":"2018-07-02 08:35:38.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"2f16c2e60e34698e3b6fad315aa98d66d2cfa194","author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"date":"2018-07-04 17:27:14.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":1},{"id":"acb4d7a138e21015f71ee5b991805e8a117794d3","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-04 17:27:27.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"d912b9e36df1f17c5c3da58588cfa8fdfbd9a3a4","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-04 17:49:49.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":1},{"id":"d07099f940fc4d814198e75355ba6a9b633b9fd7","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2018-07-04 17:49:49.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- build-openstack-sphinx-docs http://logs.openstack.org/20/579320/1/gate/build-openstack-sphinx-docs/6e0e36c/html/ : SUCCESS in 3m 31s\n- openstack-ansible-linters http://logs.openstack.org/20/579320/1/gate/openstack-ansible-linters/136bbf8/ : SUCCESS in 7m 01s\n- openstack-ansible-functional-centos-7 http://logs.openstack.org/20/579320/1/gate/openstack-ansible-functional-centos-7/f17c980/ : SUCCESS in 15m 55s\n- openstack-ansible-functional-opensuse-423 http://logs.openstack.org/20/579320/1/gate/openstack-ansible-functional-opensuse-423/da0cb8f/ : SUCCESS in 16m 44s\n- openstack-ansible-functional-ubuntu-xenial http://logs.openstack.org/20/579320/1/gate/openstack-ansible-functional-ubuntu-xenial/a40f14c/ : SUCCESS in 14m 50s","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"a743d4c81fc202633f68ebcc132bc9ae19030270","revisions":{"a743d4c81fc202633f68ebcc132bc9ae19030270":{"kind":"REWORK","_number":1,"created":"2018-06-30 04:48:33.000000000","uploader":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"ref":"refs/changes/20/579320/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-ansible-plugins","ref":"refs/changes/20/579320/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/20/579320/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/20/579320/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/20/579320/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-ansible-plugins refs/changes/20/579320/1"}}},"commit":{"parents":[{"commit":"054e50403640bc1321ef27e60b106a3ec5136622","subject":"Remove *.txt file content from py_pkgs lookup output","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/054e50403640bc1321ef27e60b106a3ec5136622"}]}],"author":{"name":"Logan V","email":"logan2211@gmail.com","date":"2018-06-30 04:44:37.000000000","tz":-300},"committer":{"name":"Logan V","email":"logan2211@gmail.com","date":"2018-06-30 04:44:37.000000000","tz":-300},"subject":"Template the physical host address","message":"Template the physical host address\n\nIn the scenario where the fallback group \u0027all\u0027 is used to find the\nphysical host address, there are typically containers present in this\ngroup with ansible_host settings like \"{{ container_name }}\".\n\nWhen this happens, you get physical_host_addrs lists like:\naiotest1 127.0.0.1\ntest1 1.1.1.1\ntest-1-zbx1 {{ container_name }}\ntest-1-cdns1 {{ container_name }}\ntest-1-lb1 {{ container_name }}\ntest-1-lb2 {{ container_name }}\nfatal: [aiotest1]: FAILED! \u003d\u003e {\"msg\": \"\u0027container_name\u0027 is undefined\"}\n\nTo avoid this we need to run the physical_host_addr through a templar\nloaded with the physical_host_vars:\n\naiotest1 127.0.0.1\ntest1 1.1.1.1\ntest-1-zbx1 test-1-zbx1\ntest-1-cdns1 test-1-cdns1\ntest-1-lb1 test-1-lb1\ntest-1-lb2 test-1-lb2\ntest-1-tpxy1 test-1-tpxy1\nok: [aiotest1]\n\nChange-Id: I7a4e89c579a3e688decaeb91b9035500129c7b16\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/a743d4c81fc202633f68ebcc132bc9ae19030270"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-ansible-plugins/commit/a743d4c81fc202633f68ebcc132bc9ae19030270"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
