Closed
Bug 1128685
Opened 11 years ago
Closed 7 years ago
vcs-sync shouldn't be using aki's, hwine's, or pmoore's user accounts
Categories
(Developer Services :: General, task)
Developer Services
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gps, Assigned: dhouse)
Details
Attachments
(1 file)
732 bytes,
patch
|
mozilla
:
review+
dhouse
:
checked-in+
|
Details | Diff | Splinter Review |
vcs-sync is referencing aki's, hwine's, and pmoore's user accounts as part of its config. Referencing user accounts from production systems is not a best practice.
We already have enough fire drills from knowledge vacuums that personnel departures leave. Let's not have more from operational dependencies on things like home directories, SSH keys, etc.
https://hg.mozilla.org/build/mozharness/file/4caccbbb7daa/configs/vcs_sync/beagle.py#l20
https://hg.mozilla.org/build/mozharness/file/4caccbbb7daa/configs/vcs_sync/beagle.py#l47
https://hg.mozilla.org/build/mozharness/file/4caccbbb7daa/configs/vcs_sync/beagle.py#l50
https://hg.mozilla.org/build/mozharness/file/4caccbbb7daa/configs/vcs_sync/beagle.py#l677
Moving to correct component & assigning
There are still 2 references to the legacy vcs-sync repo in vcs-sync. Needs investigation:
https://dxr.mozilla.org/build-central/search?q=regexp%3A(asasaki%7Cpmoore%7Chwine)_
Assignee: nobody → hwine
Component: Tools → General
Flags: needinfo?(hwine)
Product: Release Engineering → Developer Services
QA Contact: hwine
:dhouse - I believe your recent work covered all these points. If so, please close.
Assignee: hwine → dhouse
Flags: needinfo?(dhouse)
User accounts and directories are not used or required. The hwine repo-sync-tools repo is still referenced in beagle.py. However, it is not cloned on the vcs machines. So I do not think it is needed in the config anymore. Since it is not used currently, the only reason to keep it is if it is used in the initial beagle set up. Looking through the code, I don't think it is used.
I kicked off an initial beagle set up, with the repo-sync-tools and the paths for aki and pmoore removed. I'll see if it reports any issue.
The logs for that initial beagle run from last year show that it completed successfully. (I left it to run for a week, and I'm checking it a year later!)
I'll make a patch to remove the usernames/entries since they are not needed in the initial run or ongoing vcssync "modern" (current).
Flags: needinfo?(dhouse)
Attachment #8988854 -
Flags: review?(aki)
Comment 7•7 years ago
|
||
Comment on attachment 8988854 [details] [diff] [review]
remove unused user references for vcssync beagle config in mozharness
Ah, awesome. I was going to ask you to check to make sure we didn't need these, and it looks like you already tested the initial conversion nearly a year ago :)
Attachment #8988854 -
Flags: review?(aki) → review+
Comment on attachment 8988854 [details] [diff] [review]
remove unused user references for vcssync beagle config in mozharness
remote: https://hg.mozilla.org/build/mozharness/rev/8b108879ec1b6fd7f8b24b697470219bc34d206a
Attachment #8988854 -
Flags: checked-in+
Tests passed.
No problems found in vcssync run.
Merged into production:
remote: https://hg.mozilla.org/build/mozharness/rev/244bb75b76363cc45e5efff5c19b2732d1eafab5
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•