Skip to content

Octavia LBaaSv2: redundant trailing version number #1828

@kciredor

Description

@kciredor

gophercloud assumes it needs to add v2.0/ to the octavia lb endpoint returned by OpenStack, yet some OpenStack providers return an endpoint having v2.0/ already appended.

Resulting in kops, using gophercloud, will run into issues like this:

W0114 16:08:08.423462 24356 executor.go:130] error running task "LB/api.xxxxx.k8s.local" (9m19s remaining to succeed): Failed to retrieve loadbalancers for name api.xxxxx.k8s.local: Request forbidden: [GET https://os.xxxxx.nl:9876/v2.0/v2.0/lbaas/loadbalancers?name=api.xxxxx.k8s.local], error message: {"debuginfo": null, "faultcode": "Client", "faultstring": "Policy does not allow this request to be performed."}

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