Page MenuHomePhabricator

Have a second person who can run Phabricator SQL queries to be provided for quarterly/yearly Phabricator statistics
Closed, DeclinedPublic

Description

Currently @Aklapper is the only person in the Developer-Advocacy team who can run read-only SQL queries on the Phabricator DB (since T238425).
This is needed

  • every three months for some data to be shared in the quarterly Technical Community Newsletter (see T334121 for the next edition)
  • every once a year for publishing some Phabricator and Gerrit end-of-year stats to wikitech-l@ (see T326562 for next edition)

There should be another person on the team who has permissions and the setup and knowledge to do this. Because capacity/bottlenecks.

Implementation

Requires a patch in Gerrit which adds the additional LDAP/shell username to the phabricator-admin group defined in the file modules/admin/data/data.yaml in the repo operations/puppet (since https://gerrit.wikimedia.org/r/c/operations/puppet/+/551268/ )

Details

Event Timeline

Aklapper triaged this task as Medium priority.

I volunteer to be the second person, will send a patch to add my LDAP.

Change 912906 had a related patch set uploaded (by Triciaburmeister; author: Triciaburmeister):

[operations/puppet@production] data.yaml: Add Tricia Burmeister

https://gerrit.wikimedia.org/r/912906

Change 912906 abandoned by Triciaburmeister:

[operations/puppet@production] data.yaml: Add Tricia Burmeister

Reason:

Find another user who already has shell access to do this

https://gerrit.wikimedia.org/r/912906

TBurmeister lowered the priority of this task from Medium to Lowest.

There are 2 types of "admins" (users in admin/data.yaml). The first is in the section labelled "ldap_only_admins". That is for users who just have membership in some LDAP group but don't require shell (ssh) access to a server. The second one is for actual shell users.

The thing that is requested here requires actuall shell access. So a user that is already in "ldap_only" needs to move to the other section and have some additional parameters, including an SSH key to be used for login.

Are you aware and comfortable with using ssh and a mysql console?

Also we would need you to create an SSH key and paste the public part here on the ticket please.

I've never used mysql console, and due to uh..upcoming organizational changes it doesn't really make sense for me to have this access in the long-term anyways. Since @komla expressed interest, I think he might be a better fit (and he is much more familiar with ssh and probably mysql console than me).

Aklapper changed the task status from Open to Stalled.Apr 28 2023, 1:07 PM
Aklapper claimed this task.
Aklapper raised the priority of this task from Lowest to Medium.

Allow me two or four weeks here to sort out things a bit more

Aklapper renamed this task from Have a second person in the Developer Advocacy team who can run Phabricator SQL queries to Have a second person who can run Phabricator SQL queries to be provided for quarterly/yearly Phabricator statistics.Apr 28 2023, 4:53 PM

We resolved the automation tasks:)

Is this now a duplicate of T338955 ?

Indeed, this request for humans is obsoleted by machines taking over in T337387 and more humans in T338955.