)]}'
{"senlin/engine/service.py":[{"author":{"_account_id":11034,"name":"Yanyan Hu","email":"huyanyan84@gmail.com","username":"yanyanhu"},"change_message_id":"609ab5dbd319093438cfce014c64982838c0ab47","unresolved":false,"context_lines":[{"line_number":1438,"context_line":""},{"line_number":1439,"context_line":"        # TODO(xuhaiwei) Handle the case \u0027host_cluster\u0027 is not None"},{"line_number":1440,"context_line":"        if node_profile.type \u003d\u003d \u0027container.docker\u0027:"},{"line_number":1441,"context_line":"            host_node \u003d node_profile.properties.get(\u0027host_node\u0027, None)"},{"line_number":1442,"context_line":"            if host_node:"},{"line_number":1443,"context_line":"                host \u003d self.node_get(context, host_node, project_safe\u003dTrue)"},{"line_number":1444,"context_line":"                kwargs[\u0027host\u0027] \u003d host"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a9d85d2_653a81cf","line":1441,"updated":"2016-06-20 02:37:47.000000000","message":"hi, haiwei, I think we may need to reconsider whether we should handle \"host_node\" property in \"node_create\" service call since it is docke/cintainer specific requirement. IMHO, node_create service call should only handle node_action while do_create method of node module should only handle generic node properties. All profile-specific property should be handled in profile module. So an alternative is handling host_node in do_create method of docker profile although that implementation could be a little tricky.","commit_id":"ce6b9313585da724012d112d472798346acdf90a"}]}
