)]}'
{"zun/common/exception.py":[{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"ac42156ebc37895e7dbcec55ba665dd4d18ac8ef","unresolved":false,"context_lines":[{"line_number":336,"context_line":"    message \u003d _(\"Policy doesn\u0027t allow %(action)s to be performed.\")"},{"line_number":337,"context_line":""},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"class ContainerNotFound(ZunException):"},{"line_number":340,"context_line":"    message \u003d _(\"Container %(container)s host is not up.\")"},{"line_number":341,"context_line":""},{"line_number":342,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"bff0334d_7812d7b3","line":339,"range":{"start_line":339,"start_character":24,"end_line":339,"end_character":36},"updated":"2017-04-05 19:39:21.000000000","message":"This exception returned 404 in before, but it will return 500 in this patch. This is what you intended?","commit_id":"7700c46779281d0934d5fac8ccd228bf87905275"},{"author":{"_account_id":20160,"name":"haobing1","email":"bing.hao@easystack.cn","username":"haobing"},"change_message_id":"0aa61c8a0027a6befc87b56f6c92eab773d11b1e","unresolved":false,"context_lines":[{"line_number":336,"context_line":"    message \u003d _(\"Policy doesn\u0027t allow %(action)s to be performed.\")"},{"line_number":337,"context_line":""},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"class ContainerNotFound(ZunException):"},{"line_number":340,"context_line":"    message \u003d _(\"Container %(container)s host is not up.\")"},{"line_number":341,"context_line":""},{"line_number":342,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"bff0334d_48c29a87","line":339,"range":{"start_line":339,"start_character":24,"end_line":339,"end_character":36},"in_reply_to":"bff0334d_7812d7b3","updated":"2017-04-06 01:22:32.000000000","message":"@Hongbin,\n    Yes,you are right! I made a mistake.I will change the code! Thank you very much!","commit_id":"7700c46779281d0934d5fac8ccd228bf87905275"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"ac42156ebc37895e7dbcec55ba665dd4d18ac8ef","unresolved":false,"context_lines":[{"line_number":340,"context_line":"    message \u003d _(\"Container %(container)s host is not up.\")"},{"line_number":341,"context_line":""},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"class ContainerHostNotUp(HTTPNotFound):"},{"line_number":344,"context_line":"    message \u003d _(\"Container %(container)s could not be found.\")"},{"line_number":345,"context_line":""},{"line_number":346,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"bff0334d_f8726711","line":343,"range":{"start_line":343,"start_character":25,"end_line":343,"end_character":37},"updated":"2017-04-05 19:39:21.000000000","message":"I assume the server should 500 if the host is down? If yes, this exception should inherit from ZunException instead.","commit_id":"7700c46779281d0934d5fac8ccd228bf87905275"},{"author":{"_account_id":20160,"name":"haobing1","email":"bing.hao@easystack.cn","username":"haobing"},"change_message_id":"0aa61c8a0027a6befc87b56f6c92eab773d11b1e","unresolved":false,"context_lines":[{"line_number":340,"context_line":"    message \u003d _(\"Container %(container)s host is not up.\")"},{"line_number":341,"context_line":""},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"class ContainerHostNotUp(HTTPNotFound):"},{"line_number":344,"context_line":"    message \u003d _(\"Container %(container)s could not be found.\")"},{"line_number":345,"context_line":""},{"line_number":346,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"bff0334d_c83b4a9a","line":343,"range":{"start_line":343,"start_character":25,"end_line":343,"end_character":37},"in_reply_to":"bff0334d_f8726711","updated":"2017-04-06 01:22:32.000000000","message":"Done","commit_id":"7700c46779281d0934d5fac8ccd228bf87905275"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"0e22ae1ddfc483906871a9b207ebe47c2ee5ee50","unresolved":false,"context_lines":[{"line_number":341,"context_line":""},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"class ContainerHostNotUp(ZunException):"},{"line_number":344,"context_line":"    message \u003d _(\"Container %(container)s host is not up.\")"},{"line_number":345,"context_line":""},{"line_number":346,"context_line":""},{"line_number":347,"context_line":"class ComputeNodeNotFound(HTTPNotFound):"}],"source_content_type":"text/x-python","patch_set":9,"id":"bff0334d_26c2db34","line":344,"range":{"start_line":344,"start_character":14,"end_line":344,"end_character":58},"updated":"2017-04-06 09:39:46.000000000","message":"Should we tell the host name also?","commit_id":"317f0b947a94a9ec9d1a4e38c47579bdeec53557"}],"zun/compute/rpcapi.py":[{"author":{"_account_id":23365,"name":"feng.shengqin","email":"feng.shengqin@zte.com.cn","username":"FengShengqin"},"change_message_id":"95e6c0f00fbfccf782bf4856f89573c5b97b17cc","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from zun import objects"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"def check_container_host(func):"},{"line_number":26,"context_line":"    \"\"\"Verify the state of container host\"\"\""},{"line_number":27,"context_line":"    @functools.wraps(func)"},{"line_number":28,"context_line":"    def wrap(self, context, container, *args, **kwargs):"}],"source_content_type":"text/x-python","patch_set":3,"id":"dfeb2761_804cdec7","line":25,"range":{"start_line":25,"start_character":3,"end_line":25,"end_character":24},"updated":"2017-04-01 06:32:33.000000000","message":"zun/api/servicegroup.py service_is_up\n\nservice_is_up can check the state of host","commit_id":"cbc84e80477c9e77f0556d18e4a2f0a3204bfad5"},{"author":{"_account_id":20160,"name":"haobing1","email":"bing.hao@easystack.cn","username":"haobing"},"change_message_id":"acc2de7b933e72a901dc80f8c2720dff8afa8563","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from zun import objects"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"def check_container_host(func):"},{"line_number":26,"context_line":"    \"\"\"Verify the state of container host\"\"\""},{"line_number":27,"context_line":"    @functools.wraps(func)"},{"line_number":28,"context_line":"    def wrap(self, context, container, *args, **kwargs):"}],"source_content_type":"text/x-python","patch_set":3,"id":"dfeb2761_a007e21c","line":25,"range":{"start_line":25,"start_character":3,"end_line":25,"end_character":24},"in_reply_to":"dfeb2761_804cdec7","updated":"2017-04-01 06:59:45.000000000","message":"Can we use the function service_is_up(container) with a parameter \u0027container\u0027?\nThanks!","commit_id":"cbc84e80477c9e77f0556d18e4a2f0a3204bfad5"},{"author":{"_account_id":23365,"name":"feng.shengqin","email":"feng.shengqin@zte.com.cn","username":"FengShengqin"},"change_message_id":"95e6c0f00fbfccf782bf4856f89573c5b97b17cc","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        return self._call(container.host, \u0027container_show\u0027,"},{"line_number":71,"context_line":"                          container\u003dcontainer)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def container_reboot(self, context, container, timeout):"},{"line_number":74,"context_line":"        self._cast(container.host, \u0027container_reboot\u0027, container\u003dcontainer,"},{"line_number":75,"context_line":"                   timeout\u003dtimeout)"},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"dfeb2761_801e1eb8","line":73,"range":{"start_line":73,"start_character":8,"end_line":73,"end_character":24},"updated":"2017-04-01 06:32:33.000000000","message":"why container_reboot needn\u0027t check_container_host?","commit_id":"cbc84e80477c9e77f0556d18e4a2f0a3204bfad5"},{"author":{"_account_id":20160,"name":"haobing1","email":"bing.hao@easystack.cn","username":"haobing"},"change_message_id":"acc2de7b933e72a901dc80f8c2720dff8afa8563","unresolved":false,"context_lines":[{"line_number":70,"context_line":"        return self._call(container.host, \u0027container_show\u0027,"},{"line_number":71,"context_line":"                          container\u003dcontainer)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def container_reboot(self, context, container, timeout):"},{"line_number":74,"context_line":"        self._cast(container.host, \u0027container_reboot\u0027, container\u003dcontainer,"},{"line_number":75,"context_line":"                   timeout\u003dtimeout)"},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"dfeb2761_c07306e7","line":73,"range":{"start_line":73,"start_character":8,"end_line":73,"end_character":24},"in_reply_to":"dfeb2761_801e1eb8","updated":"2017-04-01 06:59:45.000000000","message":"container_reboot is cast, so it will not hang if the host is down.\nThanks!","commit_id":"cbc84e80477c9e77f0556d18e4a2f0a3204bfad5"},{"author":{"_account_id":23365,"name":"feng.shengqin","email":"feng.shengqin@zte.com.cn","username":"FengShengqin"},"change_message_id":"95e6c0f00fbfccf782bf4856f89573c5b97b17cc","unresolved":false,"context_lines":[{"line_number":74,"context_line":"        self._cast(container.host, \u0027container_reboot\u0027, container\u003dcontainer,"},{"line_number":75,"context_line":"                   timeout\u003dtimeout)"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"    def container_stop(self, context, container, timeout):"},{"line_number":78,"context_line":"        self._cast(container.host, \u0027container_stop\u0027, container\u003dcontainer,"},{"line_number":79,"context_line":"                   timeout\u003dtimeout)"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"dfeb2761_407ed6e4","line":77,"range":{"start_line":77,"start_character":8,"end_line":77,"end_character":22},"updated":"2017-04-01 06:32:33.000000000","message":"ditto","commit_id":"cbc84e80477c9e77f0556d18e4a2f0a3204bfad5"}]}
