Add ability to specify the endpoint name for a service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Franklin Naval |
Bug Description
I've run into an issue running tests in environments where the service catalog contains more than one endpoint of the same type (ex. multiple endpoints of the type "compute"). The endpoint that ends up being tested is the one that appears first in the catalog. Tempest already allows the type for each service to be configurable (https:/
Changed in tempest: | |
assignee: | nobody → Daryl Walleck (dwalleck) |
Changed in tempest: | |
status: | New → Triaged |
Changed in tempest: | |
assignee: | Franklin Naval (franknaval) → Eric Wehrmeister (eric-wehrmeister) |
Changed in tempest: | |
assignee: | Eric Wehrmeister (eric-wehrmeister) → Franklin Naval (franknaval) |
So keystone allows to register multiple services with same service "type" and "name" and further it allows multiple endpoints with same "endpoint_type", "region" for single service.
And currently Tempest/Tempest-lib allows "service type", "endpoint_type" and "region" as configurable to select the base url.
> so it would make sense to allow the name to be configurable as well
I did not get how name will fully solve the above case. If someone have same service name also then again same issue.
I think what we can do is, allow endpoint UUID as configurable which will be unique in all cases if user want to use specific endpoint. And if UUID is not present then go with the current logic means first endpoints based on provided configurable options.
Apart from that just interested to know what is exact use case of having multiple services with same "type" & "name" and each with multiple endpoints of same "region", "endpoint_type" ?