)]}'
{"nova/scheduler/utils.py":[{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"bdbc2b30978241122976081f6c652ee00b40ca51","unresolved":false,"context_lines":[{"line_number":1097,"context_line":"        # NOTE(mriedem): If doing a cross-cell move and the group policy"},{"line_number":1098,"context_line":"        # is anti-affinity, this could be wrong since there could be"},{"line_number":1099,"context_line":"        # instances in the group on other hosts in other cells. However,"},{"line_number":1100,"context_line":"        # ServerGroupAntiAffinityFilter does not look at group.hosts."},{"line_number":1101,"context_line":"        if context.db_connection:"},{"line_number":1102,"context_line":"            with group.obj_alternate_context(context):"},{"line_number":1103,"context_line":"                group.hosts \u003d group.get_hosts()"}],"source_content_type":"text/x-python","patch_set":33,"id":"3fa7e38b_d5f41b58","line":1100,"updated":"2019-12-16 09:50:12.000000000","message":"checks out","commit_id":"fbebfcaf34a4811ed8b21f405f59fe8a5cf1a921"}],"nova/tests/functional/test_cross_cell_migrate.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"8367b5089188aeccc06c6dbbed3941463161d86f","unresolved":false,"context_lines":[{"line_number":126,"context_line":"        self.assertEqual(expected_num_instances, limits[\u0027totalInstancesUsed\u0027])"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"    def _create_server(self, flavor, volume_backed\u003dFalse, group_id\u003dNone,"},{"line_number":129,"context_line":"                       no_networking\u003dFalse):"},{"line_number":130,"context_line":"        \"\"\"Creates a server and waits for it to be ACTIVE"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"        :param flavor: dict form of the flavor to use"}],"source_content_type":"text/x-python","patch_set":33,"id":"3fa7e38b_67cef62c","line":129,"range":{"start_line":129,"start_character":23,"end_line":129,"end_character":42},"updated":"2019-12-13 12:09:33.000000000","message":"You don\u0027t have to do it here, but in that big functional test rework series of mine I\u0027ve used \u0027networks\u003dNone\u0027 instead and explicitly had people pass in \"networks\u003d\u0027none\u0027\" if that\u0027s what they wanted. Would be nice to align with that since it\u0027s common enough in the functional tests even without those changes","commit_id":"fbebfcaf34a4811ed8b21f405f59fe8a5cf1a921"},{"author":{"_account_id":26458,"name":"Brin Zhang","email":"zhangbailin@inspur.com","username":"zhangbailin"},"change_message_id":"d72e144b98f214432db5f50a10e7a19052761f0e","unresolved":false,"context_lines":[{"line_number":889,"context_line":"                \u0027policy\u0027: \u0027anti-affinity\u0027"},{"line_number":890,"context_line":"            }"},{"line_number":891,"context_line":"        }"},{"line_number":892,"context_line":"        group_id \u003d self.api.api_post("},{"line_number":893,"context_line":"            \u0027/os-server-groups\u0027, body).body[\u0027server_group\u0027][\u0027id\u0027]"},{"line_number":894,"context_line":""},{"line_number":895,"context_line":"        # Create a server in the group in cell1 (should land on host1 due to"},{"line_number":896,"context_line":"        # HostNameWeigher)."}],"source_content_type":"text/x-python","patch_set":33,"id":"3fa7e38b_556cab06","line":893,"range":{"start_line":892,"start_character":19,"end_line":893,"end_character":59},"updated":"2019-12-16 09:56:13.000000000","message":"nit: In functional api clinet, there is the POST os-server-groups function, you can call that api directly, https://github.com/openstack/nova/blob/master/nova/tests/functional/api/client.py#L391","commit_id":"fbebfcaf34a4811ed8b21f405f59fe8a5cf1a921"}]}
