)]}'
{"rally/plugins/openstack/scenarios/nova/aggregates.py":[{"author":{"_account_id":18404,"name":"Ma Xinjian","email":"maxj.fnst@cn.fujitsu.com","username":"maxinjian"},"change_message_id":"c7855440096b60f62d752eb12671a371fac29ccb","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        :param availability_zone: The availability zone of the aggregate"},{"line_number":104,"context_line":"        \"\"\""},{"line_number":105,"context_line":"        aggregate \u003d self._create_aggregate(availability_zone)"},{"line_number":106,"context_line":"        hosts \u003d self._list_hypervisors()"},{"line_number":107,"context_line":"        host_name \u003d hosts[0].service[\"host\"]"},{"line_number":108,"context_line":"        self._aggregate_add_host(aggregate, host_name)"},{"line_number":109,"context_line":"        self._aggregate_remove_host(aggregate, host_name)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3a71b18c_ff9148f2","line":106,"range":{"start_line":106,"start_character":21,"end_line":106,"end_character":38},"updated":"2016-12-05 09:08:36.000000000","message":"why use \"list_hypervisors\", you mean only compute node can be added to aggregate? Is there any reference to confirm this?","commit_id":"7352f7af8ca683024a02a750928d744e15e30561"},{"author":{"_account_id":14758,"name":"Rajath Agasthya","email":"rajagast@cisco.com","username":"rajathagasthya"},"change_message_id":"66ecd3df491ddfb9dec9384bab5a399cbeac0580","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        :param availability_zone: The availability zone of the aggregate"},{"line_number":104,"context_line":"        \"\"\""},{"line_number":105,"context_line":"        aggregate \u003d self._create_aggregate(availability_zone)"},{"line_number":106,"context_line":"        hosts \u003d self._list_hypervisors()"},{"line_number":107,"context_line":"        host_name \u003d hosts[0].service[\"host\"]"},{"line_number":108,"context_line":"        self._aggregate_add_host(aggregate, host_name)"},{"line_number":109,"context_line":"        self._aggregate_remove_host(aggregate, host_name)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3a71b18c_821e22b9","line":106,"range":{"start_line":106,"start_character":21,"end_line":106,"end_character":38},"in_reply_to":"3a71b18c_ff9148f2","updated":"2016-12-05 18:13:19.000000000","message":"Yes, only compute nodes can be added to an aggregate since it\u0027s used to schedule VMs (can\u0027t schedule a VM on a control node). Even if you tried to add a control node to aggregate, you would get an exception.\n\nhttps://wiki.openstack.org/wiki/Host-aggregates mentions it briefly in the Release Notes section, but it\u0027s obvious that you need only add compute nodes.","commit_id":"7352f7af8ca683024a02a750928d744e15e30561"}]}
