)]}'
{"nova/scheduler/utils.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"93769a325026adb174955a6e738d7219e832558f","unresolved":false,"context_lines":[{"line_number":1214,"context_line":""},{"line_number":1215,"context_line":""},{"line_number":1216,"context_line":"def fill_provider_mapping("},{"line_number":1217,"context_line":"        context, report_client, request_spec, host_selection):"},{"line_number":1218,"context_line":"    \"\"\"Fills out the request group - resource provider mapping in the"},{"line_number":1219,"context_line":"    request spec."},{"line_number":1220,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_249bc017","line":1217,"range":{"start_line":1217,"start_character":8,"end_line":1217,"end_character":30},"updated":"2019-12-03 00:37:31.000000000","message":"no longer used","commit_id":"6ab7f947877f471d6733b486686199dd5b406bc6"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"93769a325026adb174955a6e738d7219e832558f","unresolved":false,"context_lines":[{"line_number":1218,"context_line":"    \"\"\"Fills out the request group - resource provider mapping in the"},{"line_number":1219,"context_line":"    request spec."},{"line_number":1220,"context_line":""},{"line_number":1221,"context_line":"    This is a workaround as placement does not return which RP"},{"line_number":1222,"context_line":"    fulfills which granular request group in the allocation candidate"},{"line_number":1223,"context_line":"    request. There is a spec proposing a solution in placement:"},{"line_number":1224,"context_line":"    https://review.opendev.org/#/c/597601/"},{"line_number":1225,"context_line":"    When that spec is implemented then this function can be"},{"line_number":1226,"context_line":"    replaced with a simpler code that copies the group - RP"},{"line_number":1227,"context_line":"    mapping out from the Selection object returned by the scheduler\u0027s"},{"line_number":1228,"context_line":"    select_destinations call."},{"line_number":1229,"context_line":""},{"line_number":1230,"context_line":"    :param context: The security context"},{"line_number":1231,"context_line":"    :param report_client: SchedulerReportClient instance to be used to"}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_6491b8f7","line":1228,"range":{"start_line":1221,"start_character":0,"end_line":1228,"end_character":29},"updated":"2019-12-03 00:37:31.000000000","message":"get rid of all this gorp (mebbe move it down to fill_provider_mapping_based_on_allocation for now; though that ought to go away verrry soon).","commit_id":"6ab7f947877f471d6733b486686199dd5b406bc6"}],"nova/tests/unit/conductor/test_conductor.py":[{"author":{"_account_id":9708,"name":"Balazs Gibizer","display_name":"gibi","email":"gibizer@gmail.com","username":"gibi"},"change_message_id":"a144fe63c41a6341b178b6a3b91970f2116850d5","unresolved":false,"context_lines":[{"line_number":68,"context_line":"CONF \u003d conf.CONF"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"fake_alloc1 \u003d {\"allocations\": {"},{"line_number":72,"context_line":"    uuids.host1: {"},{"line_number":73,"context_line":"         \"resources\": {\"VCPU\": 1,"},{"line_number":74,"context_line":"                       \"MEMORY_MB\": 1024,"}],"source_content_type":"text/x-python","patch_set":7,"id":"3fa7e38b_2d8280c8","line":71,"updated":"2019-12-06 16:31:22.000000000","message":"The allocation examples here missing the mapping key. This result in the exception in the test, that is being somehow dropped by an seemingly irrelevant exception.\n\nOriginal exception being dropped: [\u0027Traceback (most recent call last):\\n\u0027, \u0027  File \"nova/conductor/manager.py\", line 1532, in schedule_and_build_instances\\n    scheduler_utils.fill_provider_mapping(request_spec, host)\\n\u0027, \u0027  File \"nova/scheduler/utils.py\", line 1234, in fill_provider_mapping\\n    mappings \u003d jsonutils.loads(host_selection.allocation_request)[\\\u0027mappings\\\u0027]\\n\u0027, \"KeyError: \u0027mappings\u0027\\n\"]","commit_id":"e82856233c8e77263d078acc6f5aca6101968c31"}]}
