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

ROS attempting to start service open-vm-tools on boot before nameservers set by DHCP #2887

axeal opened this issue Sep 6, 2019 · 4 comments


Copy link

@axeal axeal commented Sep 6, 2019

In an air-gapped cluster with IP and DNS servers set by DHCP, if you enable the open-vm-tools service, then upon boot ROS will attempt to start the service and pull the image before the DNS servers have necessarily been updated by DHCP. As a result the default Google public DNS resolvers are used, which being unreachable, results in the service failing to start.

RancherOS Version: (ros os version)


Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)


Copy link

@bf8392 bf8392 commented Sep 7, 2019

Maybe #2882 same error?

Copy link

@janeczku janeczku commented Sep 19, 2019

I think that in VMware environments you are supposed to use the rancheros-vmware release artifacts since they have the open-vm-tools already bundled and won't require downloading them.

Starting open-vm-tools after DHCP will actually lead to a couple of new problems, for example:

  • Longer boot times in environments without DHCP (as it will wait to acquire DHCP lease)
  • cloud-config network configuration provided by Guest-Info mechanism will not be applied to DHCP client
  • probably others

@niusmallnan niusmallnan added this to the v1.5.5 milestone Sep 20, 2019
Copy link

@bf8392 bf8392 commented Sep 20, 2019

Maybe this works for you also: #2882 (comment)

Copy link

@kingsd041 kingsd041 commented Dec 20, 2019

Tested with RancherOS v1.5.5-rc1

If it is already built-in, we should use tag image
use case: open-vmtools with another REGISTRY_DOMAIN setting

Install rancheros to disk using yaml below

    EXTRA_CMDLINE: /init

After waiting for Rancheros to restart, confirm that the image used by open-vm-tools is 10.3.10-2

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

No branches or pull requests

5 participants