)]}'
{"nova/scheduler/chance.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"25479e84fc422596fe0325b42081d0c5c7393ad4","unresolved":false,"context_lines":[{"line_number":65,"context_line":"        dests \u003d []"},{"line_number":66,"context_line":"        for i in range(num_instances):"},{"line_number":67,"context_line":"            host \u003d self._schedule(context, CONF.compute_topic, spec_obj)"},{"line_number":68,"context_line":"            host_state \u003d self.host_manager.host_state_cls(host, None, None)"},{"line_number":69,"context_line":"            dests.append(host_state)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        if len(dests) \u003c num_instances:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f201791_755e68ea","line":68,"range":{"start_line":68,"start_character":58,"end_line":68,"end_character":74},"updated":"2017-06-28 22:21:59.000000000","message":"OK this is (host, node, cell_uuid) and we only have the host. The dict form was setting limits, but that defaults to {} in HostState anyway so we\u0027re good.","commit_id":"aabda4a131dcd57bbad649735bb3da7bd8d114d0"}],"nova/scheduler/driver.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"25479e84fc422596fe0325b42081d0c5c7393ad4","unresolved":false,"context_lines":[{"line_number":55,"context_line":"                if self.servicegroup_api.service_is_up(service)]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    @abc.abstractmethod"},{"line_number":58,"context_line":"    def select_destinations(self, context, spec_obj, instance_uuids):"},{"line_number":59,"context_line":"        \"\"\"Returns a list of HostState objects that have been chosen by the"},{"line_number":60,"context_line":"        scheduler driver, one for each requested instance"},{"line_number":61,"context_line":"        (spec_obj.num_instances)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f201791_75bae8e1","line":58,"updated":"2017-06-28 22:21:59.000000000","message":"Apparently there is something in the ops guide about writing your own scheduler driver:\n\nhttp://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/ops-guide/source/ops-customize-compute.rst#n168\n\nThat won\u0027t align with this anymore, but also, we restricted the scheduler drivers you can load awhile back so that guide is already busted. Plus soon it will move into the nova repo for docs/manuals and we can just delete that part.","commit_id":"aabda4a131dcd57bbad649735bb3da7bd8d114d0"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"8b2c020602c4e664f6397bba88d6ef4a52dfbd31","unresolved":false,"context_lines":[{"line_number":55,"context_line":"                if self.servicegroup_api.service_is_up(service)]"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    @abc.abstractmethod"},{"line_number":58,"context_line":"    def select_destinations(self, context, spec_obj, instance_uuids):"},{"line_number":59,"context_line":"        \"\"\"Returns a list of HostState objects that have been chosen by the"},{"line_number":60,"context_line":"        scheduler driver, one for each requested instance"},{"line_number":61,"context_line":"        (spec_obj.num_instances)"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f201791_35a91090","line":58,"in_reply_to":"5f201791_75bae8e1","updated":"2017-06-28 22:24:35.000000000","message":"Scheduler driver was restricted in https://review.openstack.org/#/c/349666/ which went into ocata.","commit_id":"aabda4a131dcd57bbad649735bb3da7bd8d114d0"}],"nova/scheduler/manager.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"25479e84fc422596fe0325b42081d0c5c7393ad4","unresolved":false,"context_lines":[{"line_number":104,"context_line":"                                                           request_spec,"},{"line_number":105,"context_line":"                                                           filter_properties)"},{"line_number":106,"context_line":"        dests \u003d self.driver.select_destinations(ctxt, spec_obj, instance_uuids)"},{"line_number":107,"context_line":"        dest_dicts \u003d [_host_state_obj_to_dict(d) for d in dests]"},{"line_number":108,"context_line":"        return jsonutils.to_primitive(dest_dicts)"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    def update_aggregates(self, ctxt, aggregates):"},{"line_number":111,"context_line":"        \"\"\"Updates HostManager internal aggregates information."}],"source_content_type":"text/x-python","patch_set":1,"id":"5f201791_b50080ad","line":108,"range":{"start_line":107,"start_character":8,"end_line":108,"end_character":49},"updated":"2017-06-28 22:21:59.000000000","message":"OK I was wondering how you were going to handle this for rpc, and this is it.","commit_id":"aabda4a131dcd57bbad649735bb3da7bd8d114d0"}]}
