Portal:Cloud VPS/Admin/Runbooks/LabstoreSlowGetent

From Wikitech

Overview

The procedures in this runbook require admin permissions to complete.


Error / Incident

Getent (querying for a user on ldap) was too slow or failed completely from one of the labstore nodes.

LDAP is a core service used by many (toolforge, CloudVPS, dumps, ...) so this potentially means that all those could be unusable.


Debugging

You cant try sshing to the host with errors (might not work with you user if LDAP is completely down, you might to have to use root) and checking there the logs (journalctl).

You can try running the same command that the script uses, see if there's any logs:

/usr/bin/useldap /usr/bin/getent group tools.admin

TODO: Fill up with more debugging steps the next time this happens

Common issues

Add here any issues you encounter.


Related information


Support contacts

Communication and support

Support and administration of the WMCS resources is provided by the Wikimedia Foundation Cloud Services team and Wikimedia movement volunteers. Please reach out with questions and join the conversation:

Discuss and receive general support
Stay aware of critical changes and plans
Track work tasks and report bugs

Use a subproject of the #Cloud-Services Phabricator project to track confirmed bug reports and feature requests about the Cloud Services infrastructure itself

Read stories and WMCS blog posts

Read the Cloud Services Blog (for the broader Wikimedia movement, see the Wikimedia Technical Blog)

Old incidents

Provide a list of phabricator tasks of previous incidents to be able to more review previous instances of the issue.