)]}'
{"strategy/linear.py":[{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"5fc08fd5d0b521cbd4fc6fadd584b63830bc882a","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        _play_context \u003d copy.deepcopy(play_context)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        pha \u003d task_vars[\u0027physical_host_addrs\u0027] \u003d dict()"},{"line_number":129,"context_line":"        physical_hosts_items \u003d self._inventory.groups[\u0027physical_hosts\u0027]"},{"line_number":130,"context_line":"        if physical_host_items:"},{"line_number":131,"context_line":"            all_physical_hosts \u003d physical_hosts_items.get_hosts()"},{"line_number":132,"context_line":"            LINEAR.display.verbose("}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_566629c3","line":129,"range":{"start_line":129,"start_character":54,"end_line":129,"end_character":70},"updated":"2018-08-14 14:21:16.000000000","message":"Is this loading all of the hosts present in a hard coded group \"physical_hosts\"?","commit_id":"2c26528ada37fcafc79cc81c47c42d6ee1f07553"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"05a6fa260bfc0faf0a383755fea8a4edd285eff6","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        _play_context \u003d copy.deepcopy(play_context)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        pha \u003d task_vars[\u0027physical_host_addrs\u0027] \u003d dict()"},{"line_number":129,"context_line":"        physical_hosts_items \u003d self._inventory.groups[\u0027physical_hosts\u0027]"},{"line_number":130,"context_line":"        if physical_host_items:"},{"line_number":131,"context_line":"            all_physical_hosts \u003d physical_hosts_items.get_hosts()"},{"line_number":132,"context_line":"            LINEAR.display.verbose("}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_e95afa80","line":129,"range":{"start_line":129,"start_character":54,"end_line":129,"end_character":70},"in_reply_to":"3f79a3b5_16baf16c","updated":"2018-08-14 15:01:11.000000000","message":"I disagree. \u0027hosts\u0027 and \u0027physical_hosts\u0027 are not the only groups hosts can reside in. Also, this is essentially a partial revert of \"Correct severe performance problem\".. except instead of searching the host group \u0027all\u0027 you are now searching \u0027physical_hosts\u0027. And before we were only searching \u0027all\u0027 only in some cases.. this will _always_ search the group. Basically reintroducing, in a worse way, the \"severe performance problem\" that was fixed by https://github.com/openstack/openstack-ansible-plugins/commit/94c93e533f533206611ed70934b5819d7a318289","commit_id":"2c26528ada37fcafc79cc81c47c42d6ee1f07553"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"d298be0b9f088dc988aacfbe2b5e7ec570685b57","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        _play_context \u003d copy.deepcopy(play_context)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        pha \u003d task_vars[\u0027physical_host_addrs\u0027] \u003d dict()"},{"line_number":129,"context_line":"        physical_hosts_items \u003d self._inventory.groups[\u0027physical_hosts\u0027]"},{"line_number":130,"context_line":"        if physical_host_items:"},{"line_number":131,"context_line":"            all_physical_hosts \u003d physical_hosts_items.get_hosts()"},{"line_number":132,"context_line":"            LINEAR.display.verbose("}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_d67b1925","line":129,"range":{"start_line":129,"start_character":54,"end_line":129,"end_character":70},"in_reply_to":"3f79a3b5_566629c3","updated":"2018-08-14 14:26:45.000000000","message":"yes","commit_id":"2c26528ada37fcafc79cc81c47c42d6ee1f07553"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"83d9050f5eb78b2330b4491724bc081c4904dd8e","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        _play_context \u003d copy.deepcopy(play_context)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        pha \u003d task_vars[\u0027physical_host_addrs\u0027] \u003d dict()"},{"line_number":129,"context_line":"        physical_hosts_items \u003d self._inventory.groups[\u0027physical_hosts\u0027]"},{"line_number":130,"context_line":"        if physical_host_items:"},{"line_number":131,"context_line":"            all_physical_hosts \u003d physical_hosts_items.get_hosts()"},{"line_number":132,"context_line":"            LINEAR.display.verbose("}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_16baf16c","line":129,"range":{"start_line":129,"start_character":54,"end_line":129,"end_character":70},"in_reply_to":"3f79a3b5_d67b1925","updated":"2018-08-14 14:37:25.000000000","message":"Yes, and I think it\u0027s fine, as physical_hosts is currently wired to all \"hosts\" in inventory.ini. The \"hosts\" as physical hosts should go away in the future, as this is a reserved keyword for ansible, and therefore having a group with that (or a variable with that) is a bad idea.","commit_id":"2c26528ada37fcafc79cc81c47c42d6ee1f07553"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"eb086637a6286f427ab98df917b3d6c38ce9660b","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        _play_context \u003d copy.deepcopy(play_context)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        pha \u003d task_vars[\u0027physical_host_addrs\u0027] \u003d dict()"},{"line_number":129,"context_line":"        physical_hosts_items \u003d self._inventory.groups[\u0027physical_hosts\u0027]"},{"line_number":130,"context_line":"        if physical_host_items:"},{"line_number":131,"context_line":"            all_physical_hosts \u003d physical_hosts_items.get_hosts()"},{"line_number":132,"context_line":"            LINEAR.display.verbose("}],"source_content_type":"text/x-python","patch_set":4,"id":"3f79a3b5_692d8aa6","line":129,"range":{"start_line":129,"start_character":54,"end_line":129,"end_character":70},"in_reply_to":"3f79a3b5_e95afa80","updated":"2018-08-14 15:05:03.000000000","message":"2nd read thru that commit and it looks like we\u0027re not introducing the former behavior in a worse way.. its almost exactly the same thing we were doing before, searching \u0027hosts\u0027. This misses the fallback to \u0027all\u0027 if \u0027hosts\u0027 is not present. But it is still a reintroduction of the same behavior Kevin just fixed.","commit_id":"2c26528ada37fcafc79cc81c47c42d6ee1f07553"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"9672cb69a4ed8eac9d0470c68e33bd3ce58413eb","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        _play_context \u003d copy.deepcopy(play_context)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        pha \u003d task_vars[\u0027physical_host_addrs\u0027] \u003d dict()"},{"line_number":129,"context_line":"        physical_host_items \u003d []"},{"line_number":130,"context_line":"        physical_host_items.append(task_vars.get(\u0027physical_host\u0027))"},{"line_number":131,"context_line":"        if task.delegate_to:"},{"line_number":132,"context_line":"            # For delegated tasks, we also need the information from the delegated hosts"},{"line_number":133,"context_line":"            delegated_vars \u003d task_vars.get(\u0027ansible_delegated_vars\u0027)"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_125067d4","line":130,"range":{"start_line":129,"start_character":0,"end_line":130,"end_character":66},"updated":"2018-08-17 14:42:52.000000000","message":"given this is the first item in the list, we might as well just put it there.\n\n  physical_host_items \u003d [task_vars.get(\u0027physical_host\u0027)]","commit_id":"d95c7ab94ca86d148bcafd27f909e4c3b1016a71"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"512d4c2a9c626fe25bdeb0dba17d96479661b291","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        _play_context \u003d copy.deepcopy(play_context)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        pha \u003d task_vars[\u0027physical_host_addrs\u0027] \u003d dict()"},{"line_number":129,"context_line":"        physical_host_items \u003d []"},{"line_number":130,"context_line":"        physical_host_items.append(task_vars.get(\u0027physical_host\u0027))"},{"line_number":131,"context_line":"        if task.delegate_to:"},{"line_number":132,"context_line":"            # For delegated tasks, we also need the information from the delegated hosts"},{"line_number":133,"context_line":"            delegated_vars \u003d task_vars.get(\u0027ansible_delegated_vars\u0027)"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_f2ee0bec","line":130,"range":{"start_line":129,"start_character":0,"end_line":130,"end_character":66},"in_reply_to":"3f79a3b5_125067d4","updated":"2018-08-17 14:45:15.000000000","message":"yeah good point. I will fix that if I need to spin another revision of this patchset.","commit_id":"d95c7ab94ca86d148bcafd27f909e4c3b1016a71"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"411dc43cbe5a2a0ec00d65f8613bec5efa260613","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        _play_context \u003d copy.deepcopy(play_context)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        pha \u003d task_vars[\u0027physical_host_addrs\u0027] \u003d dict()"},{"line_number":129,"context_line":"        physical_host_items \u003d []"},{"line_number":130,"context_line":"        physical_host_items.append(task_vars.get(\u0027physical_host\u0027))"},{"line_number":131,"context_line":"        if task.delegate_to:"},{"line_number":132,"context_line":"            # For delegated tasks, we also need the information from the delegated hosts"},{"line_number":133,"context_line":"            delegated_vars \u003d task_vars.get(\u0027ansible_delegated_vars\u0027)"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_020fdd2d","line":130,"range":{"start_line":129,"start_character":0,"end_line":130,"end_character":66},"in_reply_to":"3f79a3b5_32cfa358","updated":"2018-08-28 09:15:33.000000000","message":"Done","commit_id":"d95c7ab94ca86d148bcafd27f909e4c3b1016a71"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"55e12eff6e70c818401313a5de606e40e588400f","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        _play_context \u003d copy.deepcopy(play_context)"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"        pha \u003d task_vars[\u0027physical_host_addrs\u0027] \u003d dict()"},{"line_number":129,"context_line":"        physical_host_items \u003d []"},{"line_number":130,"context_line":"        physical_host_items.append(task_vars.get(\u0027physical_host\u0027))"},{"line_number":131,"context_line":"        if task.delegate_to:"},{"line_number":132,"context_line":"            # For delegated tasks, we also need the information from the delegated hosts"},{"line_number":133,"context_line":"            delegated_vars \u003d task_vars.get(\u0027ansible_delegated_vars\u0027)"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_32cfa358","line":130,"range":{"start_line":129,"start_character":0,"end_line":130,"end_character":66},"in_reply_to":"3f79a3b5_f2ee0bec","updated":"2018-08-17 14:50:09.000000000","message":"Thats a total nit, if nobody has anything else they want changed, ignore me :)","commit_id":"d95c7ab94ca86d148bcafd27f909e4c3b1016a71"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"c8f2b1780370e1504d313df3a6a74988f693becf","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        physical_host_items.append(task_vars.get(\u0027physical_host\u0027))"},{"line_number":131,"context_line":"        if task.delegate_to:"},{"line_number":132,"context_line":"            # For delegated tasks, we also need the information from the delegated hosts"},{"line_number":133,"context_line":"            delegated_vars \u003d task_vars.get(\u0027ansible_delegated_vars\u0027)"},{"line_number":134,"context_line":"            if delegated_vars:"},{"line_number":135,"context_line":"                for delegated_host in delegated_vars.keys():"},{"line_number":136,"context_line":"                    LINEAR.display.verbose("},{"line_number":137,"context_line":"                       u\u0027Task is delegated to %s.\u0027 % delegated_host,"},{"line_number":138,"context_line":"                       host\u003dhost,"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_98cb3971","line":135,"range":{"start_line":133,"start_character":0,"end_line":135,"end_character":60},"updated":"2018-08-17 16:02:29.000000000","message":"nit: you can also skip the assignment test and loop \nby simply\nfor delegated_host in task_vars.get(\u0027ansible_delegated_vars\u0027, dict()).keys():","commit_id":"d95c7ab94ca86d148bcafd27f909e4c3b1016a71"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"411dc43cbe5a2a0ec00d65f8613bec5efa260613","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        physical_host_items.append(task_vars.get(\u0027physical_host\u0027))"},{"line_number":131,"context_line":"        if task.delegate_to:"},{"line_number":132,"context_line":"            # For delegated tasks, we also need the information from the delegated hosts"},{"line_number":133,"context_line":"            delegated_vars \u003d task_vars.get(\u0027ansible_delegated_vars\u0027)"},{"line_number":134,"context_line":"            if delegated_vars:"},{"line_number":135,"context_line":"                for delegated_host in delegated_vars.keys():"},{"line_number":136,"context_line":"                    LINEAR.display.verbose("},{"line_number":137,"context_line":"                       u\u0027Task is delegated to %s.\u0027 % delegated_host,"},{"line_number":138,"context_line":"                       host\u003dhost,"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_c2148543","line":135,"range":{"start_line":133,"start_character":0,"end_line":135,"end_character":60},"in_reply_to":"3f79a3b5_98cb3971","updated":"2018-08-28 09:15:33.000000000","message":"Done","commit_id":"d95c7ab94ca86d148bcafd27f909e4c3b1016a71"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"c8f2b1780370e1504d313df3a6a74988f693becf","unresolved":false,"context_lines":[{"line_number":143,"context_line":"                    # in the inventory (possibly using its IP address)"},{"line_number":144,"context_line":"                    if delegated_host_info is None:"},{"line_number":145,"context_line":"                        continue"},{"line_number":146,"context_line":"                    delegated_physical_host \u003d delegated_host_info.get_vars().get(\u0027physical_host\u0027)"},{"line_number":147,"context_line":"                    physical_host_items.append(delegated_physical_host)"},{"line_number":148,"context_line":"                    if delegated_physical_host:"},{"line_number":149,"context_line":"                        LINEAR.display.verbose("}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_f8bcad6d","line":146,"range":{"start_line":146,"start_character":20,"end_line":146,"end_character":97},"updated":"2018-08-17 16:02:29.000000000","message":"Have we ensured that this work when you delegate to a bare metal node that\u0027s in the inventory but doesn\u0027t have the physical_host property (static inventory for example)?\n\nI think it should work because our connection plugin will automatically re-use SSH plugin which will handle the delegated bare metal node ansible_host info.","commit_id":"d95c7ab94ca86d148bcafd27f909e4c3b1016a71"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"411dc43cbe5a2a0ec00d65f8613bec5efa260613","unresolved":false,"context_lines":[{"line_number":143,"context_line":"                    # in the inventory (possibly using its IP address)"},{"line_number":144,"context_line":"                    if delegated_host_info is None:"},{"line_number":145,"context_line":"                        continue"},{"line_number":146,"context_line":"                    delegated_physical_host \u003d delegated_host_info.get_vars().get(\u0027physical_host\u0027)"},{"line_number":147,"context_line":"                    physical_host_items.append(delegated_physical_host)"},{"line_number":148,"context_line":"                    if delegated_physical_host:"},{"line_number":149,"context_line":"                        LINEAR.display.verbose("}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_0266fded","line":146,"range":{"start_line":146,"start_character":20,"end_line":146,"end_character":97},"in_reply_to":"3f79a3b5_f8bcad6d","updated":"2018-08-28 09:15:33.000000000","message":"Yes I think it would work but I haven\u0027t tried it to be honest.","commit_id":"d95c7ab94ca86d148bcafd27f909e4c3b1016a71"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"c8f2b1780370e1504d313df3a6a74988f693becf","unresolved":false,"context_lines":[{"line_number":144,"context_line":"                    if delegated_host_info is None:"},{"line_number":145,"context_line":"                        continue"},{"line_number":146,"context_line":"                    delegated_physical_host \u003d delegated_host_info.get_vars().get(\u0027physical_host\u0027)"},{"line_number":147,"context_line":"                    physical_host_items.append(delegated_physical_host)"},{"line_number":148,"context_line":"                    if delegated_physical_host:"},{"line_number":149,"context_line":"                        LINEAR.display.verbose("},{"line_number":150,"context_line":"                            u\u0027Task is delegated to %s. Adding its physical host %s\u0027"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_18cba91e","line":147,"range":{"start_line":147,"start_character":20,"end_line":147,"end_character":71},"updated":"2018-08-17 16:02:29.000000000","message":"nit: why do you want to append None to the list if later you only intend to skip None (@L156-157)?","commit_id":"d95c7ab94ca86d148bcafd27f909e4c3b1016a71"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"411dc43cbe5a2a0ec00d65f8613bec5efa260613","unresolved":false,"context_lines":[{"line_number":144,"context_line":"                    if delegated_host_info is None:"},{"line_number":145,"context_line":"                        continue"},{"line_number":146,"context_line":"                    delegated_physical_host \u003d delegated_host_info.get_vars().get(\u0027physical_host\u0027)"},{"line_number":147,"context_line":"                    physical_host_items.append(delegated_physical_host)"},{"line_number":148,"context_line":"                    if delegated_physical_host:"},{"line_number":149,"context_line":"                        LINEAR.display.verbose("},{"line_number":150,"context_line":"                            u\u0027Task is delegated to %s. Adding its physical host %s\u0027"}],"source_content_type":"text/x-python","patch_set":15,"id":"3f79a3b5_6229f187","line":147,"range":{"start_line":147,"start_character":20,"end_line":147,"end_character":71},"in_reply_to":"3f79a3b5_18cba91e","updated":"2018-08-28 09:15:33.000000000","message":"Done","commit_id":"d95c7ab94ca86d148bcafd27f909e4c3b1016a71"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"2dd4c75ec5640922a43fcab68764cd98b09bc7cf","unresolved":false,"context_lines":[{"line_number":140,"context_line":"                # in the inventory (possibly using its IP address)"},{"line_number":141,"context_line":"                if delegated_host_info is None:"},{"line_number":142,"context_line":"                    continue"},{"line_number":143,"context_line":"                delegated_physical_host \u003d delegated_host_info.get_vars().get(\u0027physical_host\u0027)"},{"line_number":144,"context_line":"                if delegated_physical_host:"},{"line_number":145,"context_line":"                    physical_host_items.append(delegated_physical_host)"},{"line_number":146,"context_line":"                    LINEAR.display.verbose("}],"source_content_type":"text/x-python","patch_set":16,"id":"3f79a3b5_5c20159c","line":143,"range":{"start_line":143,"start_character":16,"end_line":143,"end_character":93},"updated":"2018-08-30 17:03:19.000000000","message":"One small proposal in case there is jinja in the physical_host:\n                physical_host_vars \u003d delegated_host_info.get_vars()\n                physical_host_templar \u003d LINEAR.Templar(\n                    loader\u003dself._loader,\n                    variables\u003dphysical_host_vars)\n                delegated_physical_host \u003d physical_host_templar.template(\n                    physical_host_vars.get(\u0027physical_host\u0027)\n                )","commit_id":"f73689bead2aaa12357c5e0edb42988ba31eaa5e"},{"author":{"_account_id":23163,"name":"Markos Chandras (hwoarang)","email":"markos@chandras.me","username":"mchandras"},"change_message_id":"ce69da281f6c140b17ccf0fb7ef952f45eac247f","unresolved":false,"context_lines":[{"line_number":140,"context_line":"                # in the inventory (possibly using its IP address)"},{"line_number":141,"context_line":"                if delegated_host_info is None:"},{"line_number":142,"context_line":"                    continue"},{"line_number":143,"context_line":"                delegated_physical_host \u003d delegated_host_info.get_vars().get(\u0027physical_host\u0027)"},{"line_number":144,"context_line":"                if delegated_physical_host:"},{"line_number":145,"context_line":"                    physical_host_items.append(delegated_physical_host)"},{"line_number":146,"context_line":"                    LINEAR.display.verbose("}],"source_content_type":"text/x-python","patch_set":16,"id":"3f79a3b5_7c9ab162","line":143,"range":{"start_line":143,"start_character":16,"end_line":143,"end_character":93},"in_reply_to":"3f79a3b5_5c20159c","updated":"2018-08-30 17:20:14.000000000","message":"Done","commit_id":"f73689bead2aaa12357c5e0edb42988ba31eaa5e"}]}
