)]}'
{"nova/tests/functional/integrated_helpers.py":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"effd06c3f69a81ee77543b79d535faec4bbaac85","unresolved":false,"context_lines":[{"line_number":406,"context_line":"    def _get_provider_uuid_by_host(self, host):"},{"line_number":407,"context_line":"        # NOTE(gibi): the compute node id is the same as the compute node"},{"line_number":408,"context_line":"        # provider uuid on that compute"},{"line_number":409,"context_line":"        # NOTE(Sundar): This returns an integer ID, not Placement RP UUID."},{"line_number":410,"context_line":"        resp \u003d self.admin_api.api_get("},{"line_number":411,"context_line":"            \u0027os-hypervisors?hypervisor_hostname_pattern\u003d%s\u0027 % host).body"},{"line_number":412,"context_line":"        return resp[\u0027hypervisors\u0027][0][\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"3fa7e38b_67b6f68b","line":409,"updated":"2019-11-25 18:27:14.000000000","message":"Then why not change the name of the function? The name of the function clearly indicates that it\u0027s intending to return a UUID, and gibi\u0027s comment above yours indicates that this is used to look up the UUID associated with a node (hypervisor).\n\nI\u0027m guessing you\u0027re confused because before 2.53 it _was_ the integer ID, so your test must not be using the right microversion.\n\nhttps://github.com/openstack/nova/blob/6d314aeb74819cd71da7407b226675e48d8a2fdb/nova/api/openstack/compute/hypervisors.py#L56-L59","commit_id":"e2051544411264cc6bee73648d0704bd364473de"}]}
