Skip to content

ComputeV2 fails when receiving multiple endpoints #1764

@ismacasti

Description

@ismacasti

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions