Closed
Bug 1766938
Opened 4 years ago
Closed 4 years ago
Insufficient permissions in the application-services cron hook
Categories
(Release Engineering :: Firefox-CI Administration, task)
Release Engineering
Firefox-CI Administration
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bdk, Assigned: mozilla)
Details
Attachments
(2 external files)
I finally got our .cron.yml file setup correctly, but now I'm hitting a permissions issue with actually scheduling the task.
Here's a link to the logs for the hook: https://firefox-ci-tc.services.mozilla.com/tasks/L-iP56TFQQqqQ20pP2c-8A/runs/0/logs/public/logs/live.log
| Assignee | ||
Updated•4 years ago
|
Component: Operations and Service Requests → Firefox-CI Administration
Product: Taskcluster → Release Engineering
QA Contact: mgoossens
| Assignee | ||
Comment 1•4 years ago
|
||
When looking at the errors for the cron task in application services, I noticed doubled-up slashes // in the URLs. This, combined with the .tc.yml block
level:
$if: 'tasks_for in ["github-push", "github-release", "action", "cron"] && repoUrl == "https://github.com/mozilla/application-services"'
then: '3'
else: '1'
meant that their cron tasks tried to run as level 1, when they were granted level 3 scopes.
Updated•4 years ago
|
Assignee: nobody → aki
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•4 years ago
|
||
also clean up the glean trailing slash.
Depends on D145253
Pushed by asasaki@mozilla.com:
https://hg.mozilla.org/ci/ci-configuration/rev/dda599cc48a6
fix application-services cron. r=releng-reviewers,gbrown
https://hg.mozilla.org/ci/ci-configuration/rev/10b9a745550e
add a check for trailing slashes. r=releng-reviewers,gbrown
| Assignee | ||
Comment 4•4 years ago
|
||
I believe this should be fixed.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•4 years ago
|
||
Just saw the cron task run this morning, thanks for the fix!
You need to log in
before you can comment on or make changes to this bug.
Description
•