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

Issue 812086 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: ----



Sign in to add a comment

Puppet need to be run twice to pass in provision: dhclient_conf

Project Member Reported by xixuan@chromium.org, Feb 14 2018

Issue description

Full logs: https://paste.googleplex.com/5952749267058688

Errors:
[cros-full-0031.mtv.corp.google.com] out: Error: glinux-config -u set 'dhclient_conf' 'yes' returned 201 instead of one of [0]
[cros-full-0031.mtv.corp.google.com] out: Error: /Stage[main]/Dhclient/Goobuntu::Knob[dhclient_conf]/Exec[set Goobuntu knob dhclient_conf]/returns: change from notrun to 0 failed: glinux-config -u set 'dhclient_conf' 'yes' returned 201 instead of one of [0]


Requested: HOME=/root/ FACTER_server_type="autotest-drone" /root/chromeos-admin/puppet/sync_and_run_puppet -f
Executed: sudo -S -p 'sudo password:'  /bin/bash -l -c "HOME=/root/ FACTER_server_type=\"autotest-drone\" /root/chromeos-admin/puppet/sync_and_run_puppet -f"

2018-02-13 18:19:37,989 ERRO| sudo() received nonzero return code 4 while executing!

Requested: HOME=/root/ FACTER_server_type="autotest-drone" /root/chromeos-admin/puppet/sync_and_run_puppet -f
Executed: sudo -S -p 'sudo password:'  /bin/bash -l -c "HOME=/root/ FACTER_server_type=\"autotest-drone\" /root/chromeos-admin/puppet/sync_and_run_puppet -f"
2018-02-13 18:19:37,989 ERRO| Composite task stopped due to failure of sub task DroneProvisionTask
2018-02-13 18:19:37,989 ERRO| Composite task did not complete successfully.
2018-02-13 18:19:37,989 INFO| Printing out task report.
{
  "sub_reports": [
    {
      "sub_reports": [],
      "exception": "FabricException('sudo() received nonzero return code 4 while executing!\\n\\nRequested: HOME=/root/ FACTER_server_type=\"autotest-drone\" /root/chromeos-admin/puppet/sync_and_run_puppet -f\\nExecuted: sudo -S -p \\'sudo password:\\'  /bin/bash -l -c \"HOME=/root/ FACTER_server_type=\\\\\"autotest-drone\\\\\" /root/chromeos-admin/puppet/sync_and_run_puppet -f\"',)",
      "is_successful": false,
      "description": "sudo() received nonzero return code 4 while executing!\n\nRequested: HOME=/root/ FACTER_server_type=\"autotest-drone\" /root/chromeos-admin/puppet/sync_and_run_puppet -f\nExecuted: sudo -S -p 'sudo password:'  /bin/bash -l -c \"HOME=/root/ FACTER_server_type=\\\"autotest-drone\\\" /root/chromeos-admin/puppet/sync_and_run_puppet -f\"",
      "arguments_used": {
        "host_server": "cros-full-0032.mtv.corp.google.com"
      },
      "task_name": "DroneProvisionTask"
    }
  ],


 
Cc: dgarr...@chromium.org
Cc: jrbarnette@chromium.org pho...@chromium.org
This is repeating reliably. Seen 5-6 times now.
Cc: shuqianz@chromium.org
Summary: Puppet need to be run twice to pass in provision: dhclient_conf (was: Puppet need to be run twice to pass in provision)
Labels: -Pri-1 Pri-2
Status: Available (was: Untriaged)
glinux-config runs its own Puppet, which fails to restart dnsmasq.  No idea beyond that.

Sign in to add a comment