Page MenuHomePhabricator

Requesting access to analytics-privatedata-users for AWesterinen
Closed, ResolvedPublicRequest

Description

Requestor provided information and prerequisites

Complete ALL items below as the individual person who is requesting access:

  • Wikimedia developer account username: AndreaWest
  • Email address: arwesterinen@gmail.com
  • SSH public key (must be a separate key from Wikimedia cloud SSH access):

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMM61OwZ6fgkviK3LgBO1TzHWPEuvinGxjMYkD5E5ARL arwesterinen@gmail.com

  • Requested group membership: analytics-privatedata-user with l3 access (kerberos)
  • Reason for access: Contract work to aid in SPARQL query migration to Blazegraph-replacement
  • Name of approving party (manager for WMF/WMDE staff): David Santamaria (dsantamaria), Gabriele Modena (gmodena), Andrew Otto (ottomatta)
  • Ensure you have signed the L3 Wikimedia Server Access Responsibilities document: Signed, 13 March 2026
  • Please coordinate obtaining a comment of approval on this task from the approving party.

SRE Clinic Duty Confirmation Checklist for Access Requests

This checklist should be used on all access requests to ensure that all steps are covered, including expansion to existing access. Please double check the step has been completed before checking it off.

This section is to be confirmed and completed by a member of the SRE team.

  • - User has signed the L3 Acknowledgement of Wikimedia Server Access Responsibilities Document.
  • - User has a valid NDA on file with WMF legal. (All WMF Staff/Contractor hiring are covered by NDA. Other users can be validated via the NDA tracking sheet)
  • - User has provided the following: developer account username, email address, and full reasoning for access (including what commands and/or tasks they expect to perform)
  • - User has provided a public SSH key. This ssh key pair should only be used for WMF cluster access, and not shared with any other service (this includes not sharing with WMCS access, no shared keys.)
  • - The provided SSH key has been confirmed out of band and is verified not being used in WMCS.
  • - access request (or expansion) has sign off of WMF sponsor/manager (sponsor for volunteers, manager for wmf staff)
  • - access request (or expansion) has sign off of group approver indicated by the approval field in data.yaml

For additional details regarding access request requirements, please see https://wikitech.wikimedia.org/wiki/Requesting_shell_access

Event Timeline

I have noticed a disrepancy in the Wikimedia Developer Account username.
The correct username should be: AndreaWest, I believe.

btullis@seaborgium:~$ ldapsearch -x mail=arwesterinen@gmail.com
# extended LDIF
#
# LDAPv3
# base <dc=wikimedia,dc=org> (default) with scope subtree
# filter: mail=arwesterinen@gmail.com
# requesting: ALL
#

# andreawest, people, wikimedia.org
dn: uid=andreawest,ou=people,dc=wikimedia,dc=org
uid: andreawest
sn: AndreaWest
cn: AndreaWest
objectClass: inetOrgPerson
objectClass: person
objectClass: ldapPublicKey
objectClass: posixAccount
objectClass: shadowAccount
uidNumber: 37180
gidNumber: 500
homeDirectory: /home/andreawest
loginShell: /bin/bash
mail: arwesterinen@gmail.com

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

Change #1253568 had a related patch set uploaded (by Btullis; author: Btullis):

[operations/puppet@production] Add andreawest to analytics-privatedata-users

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

Change #1253568 merged by Btullis:

[operations/puppet@production] Add andreawest to analytics-privatedata-users

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

I believe that this is all ready to go now. I'll resolve the ticket, but please feel free to let me know if you have any problems with your access @AWesterinen.

I believe that the problem is my two different accounts (I am unsure how I ended up with two). I use AWesterinen to log into Phabricator, but the analytics-privatedata-users is assuming andreawest. So, I am getting the error "Service access denied due to missing privileges."

Phabricator itself has no influence on other systems. Per https://phabricator.wikimedia.org/p/AWesterinen/, you either use your SUL/Mediawiki.org account or your LDAP/Developer account to log into Phabricator.

but the analytics-privatedata-users is assuming andreawest

That should be correct according to https://ldap.toolforge.org/user/andreawest

I still have the error, "Service access denied due to missing privileges." I think that I need "wmf" access and cannot request it myself since I am AWesterinen on phabricator.

I believe that the problem is my two different accounts (I am unsure how I ended up with two). I use AWesterinen to log into Phabricator, but the analytics-privatedata-users is assuming andreawest. So, I am getting the error "Service access denied due to missing privileges."

OK, we can certainly help you to work out where the problem lies, but it's unclear what you're trying to do at the moment.
The reason given in the description is just:

Reason for access: Contract work to aid in SPARQL query migration to Blazegraph-replacement

The level of access requested in this ticket is: https://wikitech.wikimedia.org/wiki/Data_Platform/Data_access#SSH_login_to_analytics_clients_with_Hadoop_access_(level_3)
...so this gives you access to a lot of things, but it's not clear to me where your error is coming from.

What service is it that you are trying to access when you receive this message? Is it Superset, or Airflow, or something else?
What is your immediate goal at the moment?

I notice the the description also mentions Kerberos, which you will need if you're accessing the data lake.
I can generate a principal for you, so you can expect a password for this in your email.
However, you won't be able to use it until you have your shell access configured.

I have created the kerberos principal.

btullis@krb1002:~$ sudo manage_principals.py create andreawest --email_address=arwesterinen@gmail.com
Principal successfully created. Make sure to update data.yaml in Puppet.
Successfully sent email to arwesterinen@gmail.com

The email should contain the temporary password. along with instructions on how to reset it on first use.

The usual way to do this is from a stat host: https://wikitech.wikimedia.org/wiki/Data_Platform/Systems/Stat_hosts

Since Andrea is working as a contractor the tracking entry in data.yaml should use the The tracking entry in data.yaml should use the awesterinen-ctr@wikimedia.org email addressed issued by Wikimedia ITS to relect that this access is granted under the NDA which is part of the work contract. We only use non-wikimedia.org email addresses for people who have NDA access under a community NDA.

Change #1266931 had a related patch set uploaded (by Muehlenhoff; author: Muehlenhoff):

[operations/puppet@production] Update email record for andreawest

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

I still have the error, "Service access denied due to missing privileges." I think that I need "wmf" access and cannot request it myself since I am AWesterinen on phabricator.

I've added you to the "wmf" group, can you please retry?

Change #1266931 merged by Muehlenhoff:

[operations/puppet@production] Update email record for andreawest

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

You still need to request "wmf" at https://idm.wikimedia.org/permissions/, so far you only requested access to Logstash.

I tried to do that, but see no option for wmf. Only "logstash", "airflow" and "spiderpig".

I tried to do that, but see no option for wmf. Only "logstash", "airflow" and "spiderpig".

Indeed, the problem is that your developer account isn't linked into your @wikimedia.org address, cn=wmf can only be requested for people with a @wikimedia.org address. Please change your email on idm.wikimedia.org, then you can request the permission.

Updated my email and requested wmf access.

But, I have a further problem. I tried to ssh into an eqiad server and have totally lost my passphrase for my private key. (I am very sorry.)

I will need to submit a new public key.

Sure, no problem. Just post the new key here and we'll get it updated.

Here is the new key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICpR6EHfAQ8h1++hJVZD2aHQsiU8EhKS/oZWrSLu2uSX arwesterinen@gmail.com

Change #1268435 had a related patch set uploaded (by Muehlenhoff; author: Muehlenhoff):

[operations/puppet@production] Update SSH key

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

Change #1268435 merged by Muehlenhoff:

[operations/puppet@production] Update SSH key

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

MoritzMuehlenhoff removed BTullis as the assignee of this task.
MoritzMuehlenhoff triaged this task as Medium priority.
MoritzMuehlenhoff added a subscriber: BTullis.

Here is the new key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICpR6EHfAQ8h1++hJVZD2aHQsiU8EhKS/oZWrSLu2uSX arwesterinen@gmail.com

Your updated key has been merged and will be rolled out across the servers within the next 30 minutes.