)]}'
{"rally/plugins/openstack/scenarios/nova/hosts.py":[{"author":{"_account_id":10475,"name":"Alexander Maretskiy","email":"amaretskiy@mirantis.com","username":"maretskiy"},"change_message_id":"2acc7f63dff1e54b3b2640f809aad6ff34980a15","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"da6895a0_bee39804","line":61,"updated":"2016-10-24 11:00:29.000000000","message":"It would be nice to have information how many hosts are actually listed/got, for example in atomic action name:\n\n with atomic.ActionTimer(self, \"nova.get_%i_hosts\" % len(hosts)): ...","commit_id":"7ddd6659cdd778c9b569e80dca3d9459ce64bf0c"},{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"62ad3aa38cffad3b6ad2f1c176aa435e7a115be3","unresolved":false,"context_lines":[{"line_number":55,"context_line":"                     availability-zones"},{"line_number":56,"context_line":"        \"\"\""},{"line_number":57,"context_line":"        hosts \u003d self._list_hosts(zone)"},{"line_number":58,"context_line":"        with atomic.ActionTimer(self, \"nova.get_%s_host\" % len(hosts)):"},{"line_number":59,"context_line":"            for host in hosts:"},{"line_number":60,"context_line":"                self._get_host(host.host_name, atomic_action\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_00c7f112","line":58,"updated":"2016-10-27 08:48:37.000000000","message":"get_%s_hosts","commit_id":"c45bbed59f382f97d8cbbb905ea81a37da82b5da"},{"author":{"_account_id":23435,"name":"zhangzhihui","email":"zhangzh.fnst@cn.fujitsu.com","username":"zhangzhang"},"change_message_id":"4ca6b945a9e32edb6ccb05bbc368315c1c04d2ea","unresolved":false,"context_lines":[{"line_number":55,"context_line":"                     availability-zones"},{"line_number":56,"context_line":"        \"\"\""},{"line_number":57,"context_line":"        hosts \u003d self._list_hosts(zone)"},{"line_number":58,"context_line":"        with atomic.ActionTimer(self, \"nova.get_%s_host\" % len(hosts)):"},{"line_number":59,"context_line":"            for host in hosts:"},{"line_number":60,"context_line":"                self._get_host(host.host_name, atomic_action\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_8f631b1a","line":58,"in_reply_to":"ba5da102_00c7f112","updated":"2016-10-28 02:19:46.000000000","message":"Done","commit_id":"c45bbed59f382f97d8cbbb905ea81a37da82b5da"}],"rally/plugins/openstack/scenarios/nova/utils.py":[{"author":{"_account_id":10475,"name":"Alexander Maretskiy","email":"amaretskiy@mirantis.com","username":"maretskiy"},"change_message_id":"34c376346519757e78b943cef8efd216733f02e7","unresolved":false,"context_lines":[{"line_number":976,"context_line":"        \"\"\""},{"line_number":977,"context_line":"        return self.admin_clients(\"nova\").hosts.list(zone)"},{"line_number":978,"context_line":""},{"line_number":979,"context_line":"    def _get_host(self, host_name, atomic_action\u003dFalse):"},{"line_number":980,"context_line":"        \"\"\"Describe a specific host."},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"        :param host_name: host name to get."}],"source_content_type":"text/x-python","patch_set":2,"id":"da6895a0_9d67a724","line":979,"updated":"2016-10-25 08:29:08.000000000","message":"Parameter atomic_ation is not used.","commit_id":"4fab85227776407611a19e27a64bd0e122cab2d0"},{"author":{"_account_id":10475,"name":"Alexander Maretskiy","email":"amaretskiy@mirantis.com","username":"maretskiy"},"change_message_id":"f5896240b62a4db72469e1dbce3d0c2e0295b76b","unresolved":false,"context_lines":[{"line_number":976,"context_line":"        \"\"\""},{"line_number":977,"context_line":"        return self.admin_clients(\"nova\").hosts.list(zone)"},{"line_number":978,"context_line":""},{"line_number":979,"context_line":"    def _get_host(self, host_name, atomic_action\u003dFalse):"},{"line_number":980,"context_line":"        \"\"\"Describe a specific host."},{"line_number":981,"context_line":""},{"line_number":982,"context_line":"        :param host_name: host name to get."}],"source_content_type":"text/x-python","patch_set":2,"id":"da6895a0_80273cb5","line":979,"in_reply_to":"da6895a0_9d67a724","updated":"2016-10-25 08:35:01.000000000","message":"To make this parameter working, add decorator https://github.com/openstack/rally/blob/0.7.0/rally/task/atomic.py#L90","commit_id":"4fab85227776407611a19e27a64bd0e122cab2d0"},{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"62ad3aa38cffad3b6ad2f1c176aa435e7a115be3","unresolved":false,"context_lines":[{"line_number":977,"context_line":"        return self.admin_clients(\"nova\").hosts.list(zone)"},{"line_number":978,"context_line":""},{"line_number":979,"context_line":"    @atomic.optional_action_timer(\"nova.get_host\")"},{"line_number":980,"context_line":"    def _get_host(self, host_name, atomic_action\u003dFalse):"},{"line_number":981,"context_line":"        \"\"\"Describe a specific host."},{"line_number":982,"context_line":""},{"line_number":983,"context_line":"        :param host_name: host name to get."}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_60d6edc6","line":980,"updated":"2016-10-27 08:48:37.000000000","message":"You don\u0027t need to include the atomic_action kwarg here","commit_id":"c45bbed59f382f97d8cbbb905ea81a37da82b5da"},{"author":{"_account_id":23435,"name":"zhangzhihui","email":"zhangzh.fnst@cn.fujitsu.com","username":"zhangzhang"},"change_message_id":"4ca6b945a9e32edb6ccb05bbc368315c1c04d2ea","unresolved":false,"context_lines":[{"line_number":977,"context_line":"        return self.admin_clients(\"nova\").hosts.list(zone)"},{"line_number":978,"context_line":""},{"line_number":979,"context_line":"    @atomic.optional_action_timer(\"nova.get_host\")"},{"line_number":980,"context_line":"    def _get_host(self, host_name, atomic_action\u003dFalse):"},{"line_number":981,"context_line":"        \"\"\"Describe a specific host."},{"line_number":982,"context_line":""},{"line_number":983,"context_line":"        :param host_name: host name to get."}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_9a2b5782","line":980,"in_reply_to":"ba5da102_60d6edc6","updated":"2016-10-28 02:19:46.000000000","message":"Done","commit_id":"c45bbed59f382f97d8cbbb905ea81a37da82b5da"}],"tests/unit/plugins/openstack/scenarios/nova/test_hosts.py":[{"author":{"_account_id":11748,"name":"Chris St. Pierre","email":"cstpierr@cisco.com","username":"stpierre"},"change_message_id":"62ad3aa38cffad3b6ad2f1c176aa435e7a115be3","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        scenario._list_hosts \u003d mock.MagicMock("},{"line_number":34,"context_line":"            return_value\u003dfake_hosts)"},{"line_number":35,"context_line":"        scenario._get_host \u003d mock.MagicMock()"},{"line_number":36,"context_line":"        scenario.run(zone\u003dNone)"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"        scenario._list_hosts.assert_called_once_with(None)"},{"line_number":39,"context_line":"        scenario._get_host.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_8002213d","line":36,"updated":"2016-10-27 08:48:37.000000000","message":"Test with an actual zone, not with an explicit use of the default None.","commit_id":"c45bbed59f382f97d8cbbb905ea81a37da82b5da"},{"author":{"_account_id":23435,"name":"zhangzhihui","email":"zhangzh.fnst@cn.fujitsu.com","username":"zhangzhang"},"change_message_id":"4ca6b945a9e32edb6ccb05bbc368315c1c04d2ea","unresolved":false,"context_lines":[{"line_number":33,"context_line":"        scenario._list_hosts \u003d mock.MagicMock("},{"line_number":34,"context_line":"            return_value\u003dfake_hosts)"},{"line_number":35,"context_line":"        scenario._get_host \u003d mock.MagicMock()"},{"line_number":36,"context_line":"        scenario.run(zone\u003dNone)"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"        scenario._list_hosts.assert_called_once_with(None)"},{"line_number":39,"context_line":"        scenario._get_host.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_af361f01","line":36,"in_reply_to":"ba5da102_8002213d","updated":"2016-10-28 02:19:46.000000000","message":"Done","commit_id":"c45bbed59f382f97d8cbbb905ea81a37da82b5da"}]}
