New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 754776 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Aug 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

/etc/resolv.conf and /etc/dhcp/dhclient.conf are not updated on new shards

Project Member Reported by shuqianz@chromium.org, Aug 11 2017

Issue description

8 Ganeti servers were provisioned into shards recently. However, puppet failed to update the /etc/resolv.conf and /etc/dhcp/dhclient.conf files on the new servers. I manually update 2 of them. Then I find that it is a puppet bug. The 8 servers are:
chromeos-server33.cbf   -->  the files are manually updated
chromeos-server35.cbf   -->  the files are manually updated
chromeos-server37.cbf
chromeos-server40.cbf
chromeos-server52.cbf
chromeos-server118.mtv
chromeos-server119.mtv
chromeos-server120.mtv


 
The dhclient.conf.head file is not updated on the servers, e.g. chromeos-server37.cbf:

# $Id: //depot/google3/googledata/corp/puppet/goobuntu/common/modules/network/templates/dhclient/dhclient.conf.erb#10 $
option tzName code 101 = text;

timeout 30;
backoff-cutoff 60;

# After b/17372393, we no longer get NTP servers from DHCP. This is intentional
# as the NTP DHCP client hook does not detect config updates properly, we are
# setting the same values in /etc/ntp.conf as the DHCP servers and
# corp-platforms is on the  notification list for the NTP server owners should
# there be service changes.
request
  subnet-mask,
  broadcast-address,
  routers,
  domain-name-servers,
  domain-search,
  host-name,
  tzName,
  dhcp6.domain-search,
  dhcp6.fqdn,
  dhcp6.name-servers,
  dhcp6.sntp-servers;


Cherry pick the fix CL, rerun puppet on chromeos-server37.cbf and have the following run error:

Error: /usr/sbin/goobuntu-config -u set 'dhclient_conf' 'yes' returned 201 instead of one of [0]
Error: /Stage[main]/Dhclient::Config/Goobuntu::Knob[dhclient_conf]/Exec[set Goobuntu knob dhclient_conf]/returns: change from notrun to 0 failed: /usr/sbin/goobuntu-config -u set 'dhclient_conf' 'yes' returned 201 instead of one of [0]

Project Member

Comment 3 by bugdroid1@chromium.org, Aug 11 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/chromeos-admin/+/1d42d234faf24832c109b33e68c885ae20d4166c

commit 1d42d234faf24832c109b33e68c885ae20d4166c
Author: Allen Li <ayatane@chromium.org>
Date: Fri Aug 11 17:26:57 2017

Status: Verified (was: Untriaged)
shuqianz reported fixed after referenced CL and reboot

Sign in to add a comment