Comment 0 for bug 1771240

Revision history for this message
Yang Youseok (ileixe) wrote : Service catalog randomly returned endpoints if there were multiple choice.

in keystoneauth1/access/service_catalog.py

endpoint_data_for() function just returned first candidate of entry points by endpoint_data_list[0] when there were multiple choice for endpoints.

Since there is no guarantee for endpoint order, I found that if client API which did not specify any scope like region, an endpoint returned is changed randomly.

imho, library code should provide precisely defined behavior, so that client can expect and maybe this case could raise mulitiple choice exception.

Thanks.