Skip to content

Handle location mismatch between control plane load balancer and bare metal server #1976

@janiskemper

Description

@janiskemper

/kind feature

Describe the solution you'd like
It is not possible to add a bare metal server to a load balancer that is not in the same location. We should handle this case properly.

I didn't investigate our options, but probably the best one would be that if it is a control plane, it would ignore all hosts that are not in the right location. We already have a similar logic where we rule out hosts for certain reasons - here we could add the wrong location to the list of reasons.

However: Do we have that information available?

In case we cannot make that happen, we provision the host and then try to add it to the load balancer. That fails and we should
a) create an event, and
b) set a condition in the hbmm on false and keep it in this state.

EDIT: It seems as if it is possible, at least within the Europe region. Maybe we need to look at it in more detail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed
    No fields configured for Task 🗒️.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions