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

Race condition that prevents /etc/resolve.conf to be properly updated #781

Open
kon-angelo opened this issue May 29, 2024 · 0 comments
Open
Assignees
Labels
area/control-plane Control plane related kind/bug Bug platform/openstack OpenStack platform/infrastructure

Comments

@kon-angelo
Copy link
Contributor

How to categorize this issue?

/area control-plane
/kind bug
/platform openstack

What happened:

Provider-openstack is using a separate resolv.conf file for Kubelet as part of #375. The additional systemd unit watches for change in the run/systemd/resolve/resolv.conf and updates the kubelet-specific resolv.conf.

The race condition occurs when an update to the original resolv.conf is triggered while our unit is running causing us to miss the new event.

What you expected to happen:

For the update-resolv-conf.service to be called on every change of the original resolv.conf

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Gardener version (if relevant):
  • Extension version:
  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • Others:
@gardener-robot gardener-robot added area/control-plane Control plane related kind/bug Bug platform/openstack OpenStack platform/infrastructure labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane related kind/bug Bug platform/openstack OpenStack platform/infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants