Closed Bug 1337626 Opened 8 years ago Closed 7 years ago

EC2 instance for running version control syncing services

Categories

(Developer Services :: Servo VCS Sync, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gps, Unassigned)

References

Details

Attachments

(2 files)

Filing a new bug to track standing up an EC2 instance for doing version control syncing stuff, initially for Servo.
I have a basic Terraform change for this as well. But it is very minimal - all the heavy lifting so far is in the attached Ansible code. There are several open issues that I need help with: * Secrets management. We will have SSH keys and other credentials. I'm not sure where we should store secrets. With Ansible, we can put them in a central YAML or JSON file on the server and parse them out. * SMTP. I have systemd units configured to email on failure. Not sure how we can send email from an EC2 instance. If difficult, we can possibly discard. * Monitoring. We'll want Nagios or something to alert if systemd services fall over. I'm not sure what the story is for EC2 instances since I've only done monitoring in SCL3. needinfo dividehex to help with open issues
Flags: needinfo?(jwatkins)
Is this something that needs to be done/in-place before you disappear? If yes, I'm more than a little worried about supporting it given how fast things have been moving and how little time is left.
(In reply to Kendall Libby [:fubar] from comment #3) > Is this something that needs to be done/in-place before you disappear? If > yes, I'm more than a little worried about supporting it given how fast > things have been moving and how little time is left. They are nice to have before I depart but not critical. I think we care most about knowing if things fail. The others are added convenience.
Comment on attachment 8834721 [details] ansible: role to manage version control syncing services (bug 1337626); https://reviewboard.mozilla.org/r/110564/#review112746 ::: ansible/hosts:26 (Diff revision 3) > +# TODO switch to new, production instance. > +[vcssync] > +54.202.100.174 ansible_ssh_user=centos ansible_become=yes reminder to update this.
Attachment #8834721 - Flags: review?(glob) → review+
Comment on attachment 8834721 [details] ansible: role to manage version control syncing services (bug 1337626); https://reviewboard.mozilla.org/r/110564/#review112766 ::: testing/vcttesting/deploy.py:79 (Diff revision 3) > > return run_playbook('deploy-hgmo', extra_vars=extra, > verbosity=verbosity) > > > +def deploy_vcs_sync(verbosity=0): Maybe consider renaming to deploy_servo_sync to prevent confusion with the other vcs-sync?
Attachment #8834721 - Flags: review?(klibby) → review+
Comment on attachment 8834721 [details] ansible: role to manage version control syncing services (bug 1337626); https://reviewboard.mozilla.org/r/110564/#review112922 I'm going to land this as is. Will be pushing follow-ups all day by the looks of it :/
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/hgcustom/version-control-tools/rev/a6c0315d939d ansible: role to manage version control syncing services ; r=glob, fubar
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
This proved to be non-functional over the weekend and doesn't have adequate monitoring or a way to escalate to fix it. Reopening until those issues are resolved.
Status: RESOLVED → REOPENED
Flags: needinfo?(jwatkins)
Resolution: FIXED → ---
Component: General → Servo VCS Sync
the sync service is no longer running/needed.
Status: REOPENED → RESOLVED
Closed: 8 years ago7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: