When more than one endpoint is configured for Nova, NewComputeV2 fails with Discovered 2 matching endpoints.
The following comment can be found in openstack/endpoint_location.go
It's an error both when multiple endpoints match the provided
criteria and when none do.
I can't find anywhere in OpenStack API documentation that having more than one endpoint is not correct. Python OS client handles it without dying.
Example code, logs and endpoint list here in this gist:
https://gist.github.com/ismacasti/9086211b83596e6a50268543ece54d05
Thanks!