)]}'
{"nova/scheduler/utils.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"10e3f7959d4067fe245d9966be377aa319b4537e","unresolved":false,"context_lines":[{"line_number":718,"context_line":"    # In the case of multiple force hosts/nodes, scheduler should not"},{"line_number":719,"context_line":"    # disable retry filter but traverse all force hosts/nodes one by"},{"line_number":720,"context_line":"    # one till scheduler gets a valid target host."},{"line_number":721,"context_line":"    if (max_attempts \u003d\u003d 1 or len(force_hosts) \u003d\u003d 1 or len(force_nodes) \u003d\u003d 1):"},{"line_number":722,"context_line":"        # re-scheduling is disabled, log why"},{"line_number":723,"context_line":"        if max_attempts \u003d\u003d 1:"},{"line_number":724,"context_line":"            LOG.debug(\u0027Re-scheduling is disabled due to \"max_attempts\" config\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9fdfeff1_ddc94f79","line":721,"updated":"2019-02-22 16:23:15.000000000","message":"This could be broken into:\n\nif max_attempts \u003d\u003d 1:\n   log why\n   return\nif len(force_hosts) \u003d\u003d 1:\n   log why\n   return\nif len(force_nodes) \u003d\u003d 1:\n   log why\n   return\n\nIf we wanted to get super specific.","commit_id":"e162bcb22ceb7c87924b992ad71a567f1f4c314b"}]}
