Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vSwitch causes route creation to fail #133

Closed
malikkirchner opened this issue Dec 5, 2020 · 4 comments
Closed

vSwitch causes route creation to fail #133

malikkirchner opened this issue Dec 5, 2020 · 4 comments

Comments

@malikkirchner
Copy link

malikkirchner commented Dec 5, 2020

Using a vSwitch to connect a dedicated server lets route creation fail.
Warning FailedToCreateRoute 2m36s (x8272 over 23h) route_controller (combined from similar events): Could not create route e1ced4d4-b410-4b86-9138-72c1ede017b6 10.217.4.0/24 for node starfleet-janeway after 166.14063ms: hcloud/CreateRoute: hcops/AllServersCache.ByName: hcops/AllServersCache.getCache: not found

I am running hcloud-cloud-controller-manager w/network v1.8.1. Cilium v1.8.2 is the CNI plugin, k8s 1.19.4. It would be great to just have a special label for the nodes, that should be ignored by the controller manager. Actually a couple of days ago it was still possible to create a route to the vSwitch in the web UI and with hcloud. Something changed on your end?

Hetzner network: 10.0.0.0/24
vSwitch : 10.0.1.0/24
CNI CIDR: 10.217.0.0/16
Dedicated server: 10.0.1.2
Route: gateway 10.0.1.2 destination 10.217.4.0/24

@LKaemmerling
Copy link
Member

Using a dedicated server as gateway within a route is not possible. We allowed this a few days ago by error. Technically it was never possible (the route never worked).

@malikkirchner
Copy link
Author

Please don't close the issue, because not allowing it results in taints for the node.

  • node.kubernetes.io/unreachable:NoExecute
  • node.kubernetes.io/network-unavailable:NoSchedule
  • node.kubernetes.io/unreachable:NoSchedule

The cloud controller manager must ignore the node, so that I can manually create the routes.

@LKaemmerling
Copy link
Member

@malikkirchner as I said, creating those routes is not supported. Currently the CCM does not support clusters with dedicated servers: #113

@malikkirchner
Copy link
Author

@malikkirchner as I said, creating those routes is not supported. Currently the CCM does not support clusters with dedicated servers: #113

That means I need to uninstall CCM for now and wait for #113. That is disappointing, because our hybrid cluster just worked until this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants