)]}'
{"masakari/compute/nova.py":[{"author":{"_account_id":1011,"name":"Tushar Patil","email":"tushar.vitthal.patil@gmail.com","username":"tpatil"},"change_message_id":"07ffe560f8c778c2291bd400df568d22eadf179c","unresolved":false,"context_lines":[{"line_number":170,"context_line":"        return service.status \u003d\u003d \u0027disabled\u0027"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"    @translate_nova_exception"},{"line_number":173,"context_line":"    def force_down_service(self, context, host_name, binary, force_down\u003dFalse):"},{"line_number":174,"context_line":"        \"\"\"Force down the nova service specified by hostname and binary.\"\"\""},{"line_number":175,"context_line":"        nova \u003d novaclient(context)"},{"line_number":176,"context_line":"        msg \u003d (\u0027Call force down the %(binary)s service on host %(host)s\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_e328c098","line":173,"range":{"start_line":173,"start_character":8,"end_line":173,"end_character":26},"updated":"2020-06-08 10:04:51.000000000","message":"This method is not used anywhere in the code. \nIf required, this method can be added in future.","commit_id":"b98db03151756012ca04110825c3423d50eba8ef"},{"author":{"_account_id":30744,"name":"uchenily","email":"uchenily@gmail.com","username":"uchenily"},"change_message_id":"481109fd56c37b50cbe83cc039e796ea19b3fa56","unresolved":false,"context_lines":[{"line_number":170,"context_line":"        return service.status \u003d\u003d \u0027disabled\u0027"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"    @translate_nova_exception"},{"line_number":173,"context_line":"    def force_down_service(self, context, host_name, binary, force_down\u003dFalse):"},{"line_number":174,"context_line":"        \"\"\"Force down the nova service specified by hostname and binary.\"\"\""},{"line_number":175,"context_line":"        nova \u003d novaclient(context)"},{"line_number":176,"context_line":"        msg \u003d (\u0027Call force down the %(binary)s service on host %(host)s\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"bf51134e_78a644ad","line":173,"range":{"start_line":173,"start_character":8,"end_line":173,"end_character":26},"in_reply_to":"ff570b3c_e328c098","updated":"2020-07-22 02:56:50.000000000","message":"hi,Patil, I think the force_down_service() method may be used before evacuating, as we cannot evacuate when nova-compute is up, but there are some scenarios when the nova-compute service status is normal, but evacuations may be required.\n\nand is_service_down can be used to check service status.\n\nmay be those two methods can be used in the future.","commit_id":"b98db03151756012ca04110825c3423d50eba8ef"},{"author":{"_account_id":1011,"name":"Tushar Patil","email":"tushar.vitthal.patil@gmail.com","username":"tpatil"},"change_message_id":"07ffe560f8c778c2291bd400df568d22eadf179c","unresolved":false,"context_lines":[{"line_number":178,"context_line":"        return nova.services.force_down(host_name, binary, force_down)"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    @translate_nova_exception"},{"line_number":181,"context_line":"    def is_service_down(self, context, host_name, binary):"},{"line_number":182,"context_line":"        \"\"\"Check whether service is up or down on given host.\"\"\""},{"line_number":183,"context_line":"        nova \u003d novaclient(context)"},{"line_number":184,"context_line":"        service \u003d nova.services.list(host\u003dhost_name, binary\u003dbinary)[0]"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff570b3c_6e0bf723","line":181,"range":{"start_line":181,"start_character":8,"end_line":181,"end_character":23},"updated":"2020-06-08 10:04:51.000000000","message":"Earlier, is_service_down method was used only by process_failure work flow and now it\u0027s been replaced with is_service_disabled. So this method can be removed as it\u0027s not used anywhere in the code.","commit_id":"b98db03151756012ca04110825c3423d50eba8ef"}]}
