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

multiple OEM-GCE container get started on GCE when using non-Google DNS #2601

HeikoOnnebrink opened this issue Jul 8, 2019 · 0 comments


None yet
1 participant
Copy link

commented Jul 8, 2019


Instead of a single continuous running oem-gce rkt container we found that every 1-2 minutes a new oem-gce container instance was spinning up until the system runs too many of them and in the end runs out of memory.

Container Linux Version

NAME="Container Linux by CoreOS"
PRETTY_NAME="Container Linux by CoreOS 2135.5.0 (Rhyolite)"


We run CoreOS on Google Cloud VMs since some years. Cloud is connected via site-2-site VPN to our corporate network.
In our setup up we use our corporate nameserver inside resolver.conf and added to hosts file to allow lookup of metadata server name.
But since some time (apologize that I cannot name the exact CoreOS version since when problems started .. ) it does not work anymore and we get the symptoms described above.

Expected Behavior

Only one oem-gce container should be started after boot and stay running

Actual Behavior

every 1-2 minutes a new oem-gce rkt container instance is spinning up and stays running until we get OOM issues

UUID            APP     IMAGE NAME                      STATE           CREATED         STARTED         NETWORKS
065952d0        oem-gce     running         6 minutes ago   6 minutes ago
755867b3        oem-gce     running         1 minute ago    1 minute ago
92878e0b        oem-gce     exited garbage  4 days ago      4 days ago
bdb4d4e6        oem-gce     running         4 minutes ago   4 minutes ago
bea7cb1d        oem-gce     running         3 minutes ago   3 minutes ago

Reproduction Steps

deploy a VM with latest CoreOS image on google cloud
configure resolver.conf to use some corporate non-google DNS server
remove any nameserver entry from resolver confirmation
add to hosts file

Other Information

from journal we got these logs that seem to relate to the issue

instance-setup[2400]: ERROR GET request error retrieving metadata. <urlopen error [Errno -2] Name or service not known>.
google-accounts[913]: ERROR GET request error retrieving metadata. <urlopen error [Errno -2] Name or service not known>.
google-networking[915]: ERROR GET request error retrieving metadata. <urlopen error [Errno -2] Name or service not known>.

As a workaround we found out that once I add nameserver as first entry to resolver.conf before our corporate nameserver the problem disappears.
But this is no solution as it disables name resolution for our internal machines.

Looks like something has changed inside oem-gce container so that just adding the entry inside hosts file is not sufficient any more to allow the container to start properly even this config worked fine for years.

In older versions 1576 and 1855 the problem did not exist. It even looks like that the latest CoreOS version does not show this problem as long a the oem-gce-container version is old. This we found on one machine that was deployed long time ago and got updated continuously. During these updates obviously the oem-gce- container was not updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.