Page MenuHomePhabricator

define requirements for new devtools cloud vps project to replace "git", "gerrit" and "phabricator"
Closed, ResolvedPublic

Description

We want to request a new project in cloud VPS for devtools. (Phabricator, Gerrit, maybe more).

In return the existing Gerrit and Phab instances in the "git" project should be removed or the entire git project should be replaced.

First step is we need to write down requested resources from wmcs. How many instances of which size are needed.

This is more than just one test instance for each service since we would also need a local puppetmaster, deployment-server, acme-chief (to finally handle certificates the right way without some local hack).

We should have 2 instances for each service, one that is mirroring prod and one that can be used to test newer versions.

instancetypeservicerole
gerrit-prodmediumgerritbe an equivalent of prod
gerrit-stagemediumgerritserve the next Gerrit version
phab-prodlargephabricatorbe an equivalent of prod
phab-stagelargephabricatorserve the next Phabricator version
puppetmastermediumpuppet, mariadblocal puppet master and db server for phab db
deploymentmediumscap, acme_chiefdeployment server and acme_chief

Event Timeline

instance list:

  • gerrit-prod
  • gerrit-new
  • phab-prod
  • phab-new
  • puppetmaster
  • deployment_server
  • acme_chief ?
Dzahn triaged this task as Medium priority.Oct 23 2019, 7:09 PM

So from the git and phabricator project:

We need a puppet-master (small).

We need medium-large for the gerrit instances, but opting to medium for each.

We need large for both phabricator instances.

We need a scap master (where we scap from). (small-medium)

We need a instance that holds the db for phabricator. (medium or large)

Gerrit won't need one for 2.16 (as we will be moving it to use the h2db)

We need a instance for acme_chief (small i guess?

Paladox renamed this task from define requirements for new devtools cloud vps project to replace "git" to define requirements for new devtools cloud vps project to replace "git" and "phabricator".Oct 25 2019, 12:26 PM
Dzahn updated the task description. (Show Details)

Or... do all this stuff in deployment-prep? That would remove the need for the puppet-master, scap3 master, db, and acme-chief hosts in the project as those things all exist there already.

We were asked specifically to not do this in deployment-prep because these systems are considered misc.

I don't know if we want to be introducing new things to deployment-prep
right now. I'm also not sure we want to start putting misc things in.

I don't know if we want to be introducing new things to deployment-prep
right now. I'm also not sure we want to start putting misc things in.

Ack, i am explicitly not asking to be added to deployment-prep.

I haven't been following this task, but @hashar says I should ask y'all what the story is with the 'gerrit' project. It's currently unclaimed on https://wikitech.wikimedia.org/wiki/News/Cloud_VPS_2019_Purge#%7B%7Bused%7D%7D_openocr

I commented both here in this ticket right above and on the wiki page you link to that this project can be removed.

We are offering to have 3 projects removed, gerrit, phabricator and git, and would like to be granted one project to replace them all.

Dzahn renamed this task from define requirements for new devtools cloud vps project to replace "git" and "phabricator" to define requirements for new devtools cloud vps project to replace "git", "gerrit" and "phabricator".Nov 20 2019, 1:31 PM

+1 to this. Anything that is currently living in phab.wmflabs.org can probably be re-created. It might be nice to back up and restore the database content but even that may be overkill.

For the new project, please file a ticket here: https://phabricator.wikimedia.org/project/profile/2875/

Done! T240047

Thanks Andrew! Trying to help clean it up. Trading you 3 old projects for 1 new project and a bunch of false jessie/stretch instances for fresh buster ones from a buster image.

Dzahn claimed this task.
Paladox removed Dzahn as the assignee of this task.
Paladox updated the task description. (Show Details)
Jdforrester-WMF assigned this task to Dzahn.

Mentioned in SAL (#wikimedia-cloud) [2019-12-23T03:42:12Z] <mutante> - launching medium sized buster instance gerrit-prod-01 (T236309)