)]}'
{"zun/compute/compute_node_tracker.py":[{"author":{"_account_id":23365,"name":"feng.shengqin","email":"feng.shengqin@zte.com.cn","username":"FengShengqin"},"change_message_id":"7cd27f3a3f74e0147b90d241927191f66984caad","unresolved":false,"context_lines":[{"line_number":309,"context_line":"        node_rp_uuid \u003d compute_node.uuid"},{"line_number":310,"context_line":"        if CONF.compute.host_shared_with_nova:"},{"line_number":311,"context_line":"            try:"},{"line_number":312,"context_line":"                node_rp_uuid \u003d self.reportclient.get_provider_by_name("},{"line_number":313,"context_line":"                    context, nodename)[\u0027uuid\u0027]"},{"line_number":314,"context_line":"            except exception.ResourceProviderNotFound:"},{"line_number":315,"context_line":"                raise exception.ComputeHostNotFound(host\u003dnodename)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7faddb67_d4006cae","line":312,"range":{"start_line":312,"start_character":16,"end_line":312,"end_character":28},"updated":"2019-08-10 10:06:45.000000000","message":"hi hongbin,\nif zun-compute and nova-compute run in the same physical machine and nova-compute has reported the resource info to placement, will zun-compute report again?\n\nAnd the UUID of the physical machine is difference in nova-compute and zun-compute","commit_id":"9884c5adc7747b670cd47fb31d9df5eaaf92572c"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"93ac45302179ec476eb9b6f626639d7b72c46d40","unresolved":false,"context_lines":[{"line_number":309,"context_line":"        node_rp_uuid \u003d compute_node.uuid"},{"line_number":310,"context_line":"        if CONF.compute.host_shared_with_nova:"},{"line_number":311,"context_line":"            try:"},{"line_number":312,"context_line":"                node_rp_uuid \u003d self.reportclient.get_provider_by_name("},{"line_number":313,"context_line":"                    context, nodename)[\u0027uuid\u0027]"},{"line_number":314,"context_line":"            except exception.ResourceProviderNotFound:"},{"line_number":315,"context_line":"                raise exception.ComputeHostNotFound(host\u003dnodename)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7faddb67_42a83ad8","line":312,"range":{"start_line":312,"start_character":16,"end_line":312,"end_character":28},"in_reply_to":"7faddb67_d4006cae","updated":"2019-08-10 17:03:25.000000000","message":"Right,\n\nIf zun-compute and nova-compute run in the same host, both will report info to placement. The idea is to let nova-compute create the host resource provider, and zun-compute adds/updates inventories of the resource provider.","commit_id":"9884c5adc7747b670cd47fb31d9df5eaaf92572c"}],"zun/container/driver.py":[{"author":{"_account_id":23365,"name":"feng.shengqin","email":"feng.shengqin@zte.com.cn","username":"FengShengqin"},"change_message_id":"7cd27f3a3f74e0147b90d241927191f66984caad","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        # compute RP once the issues from bug #1784020 have been resolved."},{"line_number":318,"context_line":"        if provider_tree.has_sharing_provider(orc.DISK_GB):"},{"line_number":319,"context_line":"            LOG.debug(\u0027Ignoring sharing provider - see bug #1784020\u0027)"},{"line_number":320,"context_line":"        result[orc.DISK_GB] \u003d {"},{"line_number":321,"context_line":"            \u0027total\u0027: disk_gb,"},{"line_number":322,"context_line":"            \u0027min_unit\u0027: 1,"},{"line_number":323,"context_line":"            \u0027max_unit\u0027: disk_gb,"}],"source_content_type":"text/x-python","patch_set":8,"id":"7faddb67_f4fb28bb","line":320,"range":{"start_line":320,"start_character":19,"end_line":320,"end_character":26},"updated":"2019-08-10 10:06:45.000000000","message":"I think the disk represents different resources in zun and nova.","commit_id":"9884c5adc7747b670cd47fb31d9df5eaaf92572c"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"93ac45302179ec476eb9b6f626639d7b72c46d40","unresolved":false,"context_lines":[{"line_number":317,"context_line":"        # compute RP once the issues from bug #1784020 have been resolved."},{"line_number":318,"context_line":"        if provider_tree.has_sharing_provider(orc.DISK_GB):"},{"line_number":319,"context_line":"            LOG.debug(\u0027Ignoring sharing provider - see bug #1784020\u0027)"},{"line_number":320,"context_line":"        result[orc.DISK_GB] \u003d {"},{"line_number":321,"context_line":"            \u0027total\u0027: disk_gb,"},{"line_number":322,"context_line":"            \u0027min_unit\u0027: 1,"},{"line_number":323,"context_line":"            \u0027max_unit\u0027: disk_gb,"}],"source_content_type":"text/x-python","patch_set":8,"id":"7faddb67_a2824e51","line":320,"range":{"start_line":320,"start_character":19,"end_line":320,"end_character":26},"in_reply_to":"7faddb67_f4fb28bb","updated":"2019-08-10 17:03:25.000000000","message":"I assume both Zun and Nova report the same disk. Probably, there are cases that VMs runs on one disk and containers run on another disk. I am not sure how placement model two disks in the same host, or it is not supported at all.","commit_id":"9884c5adc7747b670cd47fb31d9df5eaaf92572c"}]}
