Closed Bug 1593520 Opened 5 years ago Closed 5 years ago

Logs are not live on `standard_gcp_docker_worker` tasks

Categories

(Taskcluster :: Workers, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: SimonSapin, Assigned: bstack)

Details

For example, this task links to this log file. Before the task finished, the log viewer showed:

NetworkError when attempting to fetch resource.
An error occurred attempting to load the provided log.
Please check the URL and ensure it is reachable.
https://community-tc.services.mozilla.com/api/queue/v1/task/WMUJHen2QyGYTEevhxi9og/runs/0/artifacts/public/logs/live.log

That last URL redirects to https://proj-servo-docker-oy5aes4orzebkdskvi9ayw.c.community-tc-workers.internal:32771/log/ihHgF5YySRqvjpJ09TmJjQ

The .internal TLD does not resolve on public DNS.

This is because the hosts don't have public IPs. We need to figure out how to configure that in GCP and update the worker pool definitions.

Is it easier to configure public IP addresses in GCP, or to (maybe temporarily) switch back to AWS and use taskcluster.net’s docker-worker image?

Flags: needinfo?(dustin)

Ah, actually, the IP config is fine here, and we just need the secrets set correctly. I think Brian can do that.

Assignee: nobody → bstack
Flags: needinfo?(dustin)

I set up the secrets last night. Hopefully anything running today will have livelogs. I'll check back in with this later today.

I’ve verified that logs were live on https://community-tc.services.mozilla.com/tasks/Nq3MJv7HRgWcC5dOVB1g6w while it was running. Thanks!

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

Logs were not live in https://community-tc.services.mozilla.com/tasks/ciL0gzGYSQSLT3RDZJFM6Q/runs/0. The only notable difference is that it ran with a different worker pool ID, with a worker pool definition that I copied from proj-servo/docker.

Brian, are the secrets you mentioned in comment 5 tied to a given pool ID?

Status: RESOLVED → REOPENED
Flags: needinfo?(bstack)
Resolution: FIXED → ---

Yeah, each pool needs its own secret. The value is actually identical so it should be quick/easy for someone to copy over. If you let me know what the new workerPoolId is, I can copy it in a sec.

Flags: needinfo?(bstack)

Looks like I have scopes to read and write https://community-tc.services.mozilla.com/secrets/worker-pool%3Aproj-servo%2Fdocker

This was a temporary worker pool to verify the fix for bug 1593543. If I need more pools like this in the future I’ll try to remember to copy-paste the secret. Thanks!

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED

Once we're through this rush to the finish line we're going to automate this for all workerpools so that you won't need to do this manually. Thanks for getting it set up!

You need to log in before you can comment on or make changes to this bug.