)]}'
{"nova/virt/hardware.py":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"820539da8dcf2d5077a8ca31e868365ac8b3ca38","unresolved":false,"context_lines":[{"line_number":1056,"context_line":"        # The instance has requested a page size.  Verify that the requested"},{"line_number":1057,"context_line":"        # size is valid and that there are available pages of that size on the"},{"line_number":1058,"context_line":"        # host."},{"line_number":1059,"context_line":"        pagesize \u003d _numa_cell_supports_pagesize_request("},{"line_number":1060,"context_line":"            host_cell, instance_cell)"},{"line_number":1061,"context_line":"        if not pagesize:"},{"line_number":1062,"context_line":"            LOG.debug(\u0027Host does not support requested memory pagesize, \u0027"},{"line_number":1063,"context_line":"                      \u0027or not enough free pages of the requested size. \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_cc8c8a2f","line":1060,"range":{"start_line":1059,"start_character":19,"end_line":1060,"end_character":37},"updated":"2020-01-31 16:05:22.000000000","message":"this will raise an excption if the host does not support the page size. \n\n _numa_cell_supports_pagesize_request calls  verify_pagesizes which calls can_fit_pagesize\n\nhttps://github.com/openstack/nova/blob/c16315165ce307c605cf4b608b2df3aa06f46982/nova/virt/hardware.py#L670\n\nwhich return true if the request fits,\nfalse if it does not or raises an excpetion of\nthe pagezise is not availabel on the host.\n\nhttps://github.com/openstack/nova/blob/c16315165ce307c605cf4b608b2df3aa06f46982/nova/objects/numa.py#L134-L151","commit_id":"662226a6a99f5f754537b08739144daebc37145b"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"1f7c7a09d12fddec499da47790d66bb1309881bf","unresolved":false,"context_lines":[{"line_number":1059,"context_line":"        pagesize \u003d _numa_cell_supports_pagesize_request("},{"line_number":1060,"context_line":"            host_cell, instance_cell)"},{"line_number":1061,"context_line":"        if not pagesize:"},{"line_number":1062,"context_line":"            LOG.debug(\u0027Host does not support requested memory pagesize, \u0027"},{"line_number":1063,"context_line":"                      \u0027or not enough free pages of the requested size. \u0027"},{"line_number":1064,"context_line":"                      \u0027Requested: %d kB\u0027, instance_cell.pagesize)"},{"line_number":1065,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":1,"id":"1fa4df85_522a38e7","line":1062,"range":{"start_line":1062,"start_character":16,"end_line":1062,"end_character":21},"updated":"2020-03-17 09:59:58.000000000","message":"I actually thing I want to know this as an operator, so warning might be a good idea here. But I guess it could be noisy given how our scheduling works right now.","commit_id":"662226a6a99f5f754537b08739144daebc37145b"},{"author":{"_account_id":27478,"name":"Archit Modi","email":"amodi@redhat.com","username":"amodi"},"change_message_id":"97ad8e779d13a00b21fd1043e95485723ed100ac","unresolved":false,"context_lines":[{"line_number":1059,"context_line":"        pagesize \u003d _numa_cell_supports_pagesize_request("},{"line_number":1060,"context_line":"            host_cell, instance_cell)"},{"line_number":1061,"context_line":"        if not pagesize:"},{"line_number":1062,"context_line":"            LOG.debug(\u0027Host does not support requested memory pagesize, \u0027"},{"line_number":1063,"context_line":"                      \u0027or not enough free pages of the requested size. \u0027"},{"line_number":1064,"context_line":"                      \u0027Requested: %d kB\u0027, instance_cell.pagesize)"},{"line_number":1065,"context_line":"            return"}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_64ff78b1","line":1062,"range":{"start_line":1062,"start_character":70,"end_line":1062,"end_character":71},"updated":"2020-01-16 20:55:21.000000000","message":"nit: not sure if we need a comma here","commit_id":"662226a6a99f5f754537b08739144daebc37145b"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"824ca7629e6643741073b6ef33f74951fe99e94b","unresolved":false,"context_lines":[{"line_number":1060,"context_line":"            host_cell, instance_cell)"},{"line_number":1061,"context_line":"        if not pagesize:"},{"line_number":1062,"context_line":"            LOG.debug(\u0027Host does not support requested memory pagesize, \u0027"},{"line_number":1063,"context_line":"                      \u0027or not enough free pages of the requested size. \u0027"},{"line_number":1064,"context_line":"                      \u0027Requested: %d kB\u0027, instance_cell.pagesize)"},{"line_number":1065,"context_line":"            return"},{"line_number":1066,"context_line":"        LOG.debug(\u0027Selected memory pagesize: %(selected_mem_pagesize)d kB. \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_0f8d747c","line":1063,"range":{"start_line":1063,"start_character":23,"end_line":1063,"end_character":25},"updated":"2020-01-17 15:15:52.000000000","message":"\"or there are\"","commit_id":"662226a6a99f5f754537b08739144daebc37145b"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"820539da8dcf2d5077a8ca31e868365ac8b3ca38","unresolved":false,"context_lines":[{"line_number":1060,"context_line":"            host_cell, instance_cell)"},{"line_number":1061,"context_line":"        if not pagesize:"},{"line_number":1062,"context_line":"            LOG.debug(\u0027Host does not support requested memory pagesize, \u0027"},{"line_number":1063,"context_line":"                      \u0027or not enough free pages of the requested size. \u0027"},{"line_number":1064,"context_line":"                      \u0027Requested: %d kB\u0027, instance_cell.pagesize)"},{"line_number":1065,"context_line":"            return"},{"line_number":1066,"context_line":"        LOG.debug(\u0027Selected memory pagesize: %(selected_mem_pagesize)d kB. \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_eca4e6a6","line":1063,"range":{"start_line":1063,"start_character":23,"end_line":1063,"end_character":25},"in_reply_to":"3fa7e38b_0f8d747c","updated":"2020-01-31 16:05:22.000000000","message":"so if we get to here we know it becasue the host had the requested pagesize and there were not enough free pages.\n\nso this can just be\n\n\"Host does not support requested memory pagesize as there are not enough free pages.\"","commit_id":"662226a6a99f5f754537b08739144daebc37145b"}]}
