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

Issue 813639 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Two swarming bots can't authenticate

Project Member Reported by martiniss@chromium.org, Feb 19 2018

Issue description

swarm1055-c4.c.chromecompute.google.com.internal and build153-b1.labs.chromium.org seem to not be able to authenticate to the swarming service.

I couldn't ssh to the first one. I was able to ssh to the second one, but it didn't seem to have ran puppet in a while? The logs were a bit unclear.

AFAIK this caused a page this morning at 9:30 MTV time. 
 
swarm1055-c4: It seems to be working now. It was rebooted (by someone?) at 11:13 and works fine since then. Before that puppet agent was stuck on the machine too, so it was likely in some unhealthy state...

build153-b1.labs had something happened to its Windows Task Scheduler, it stopped running tasks (this includes Puppet and luci_machine_tokend process that refreshes auth tokens for Swarming). I kicked it manually and rebooted the machine. Maybe it'll help... Nope, it didn't.

I think I know what's going on. Windows thinks the machine is running on battery power and disables scheduled tasks. There's a task property "Start the task only if the computer is on AC power", and by default it is ON. I flipped it to OFF, rebooted the machine and service_manager task started as it should (it didn't before). Also power icon in the tray is a battery, without charging indicator...

I modified 'puppet' and 'luci_machine_tokend' tasks manually for now.
Components: Infra>Labs
Labs, is it expected that build153-b1 think it is running on battery power (and thus disables its scheduled tasks, including puppet)?

Comment 3 by mar...@chromium.org, Feb 20 2018

Filed issue 813784 to report power source, as I see this could be useful for self-health check; This is independent of making sure the task scheduler bit is set to run even when the host thinks it's running on battery.

Comment 4 by pschm...@google.com, Feb 20 2018

Owner: pschmidt@chromium.org
Status: Started (was: Available)
Interesting.  It thinks it was running on battery power with the battery at 100%.   Reset the power supply connector at the laptop end and that tickled it's brain back to shape.

Comment 5 by b...@chromium.org, Mar 30 2018

Status: Fixed (was: Started)

Sign in to add a comment