You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Portal:Cloud VPS/Admin/Runbooks/SystemdUnitDownForLong: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>David Caro
(Created page with "{{Cloud VPS nav}} = Overview = {{Remark|The procedures in this runbook require admin permissions to complete.|reminder}} = Error / Incident = A systemd unit has been down on a host for a long time. = Debugging = This is quite a generic alert, so there's many options, but some things to try: * Try to ssh to the host and check the status of the unit: <pre> systmectl status <unit_name> </pre> * Check the logs for that unit: <pre> journalctl -u <unit_name> -n 1000 </...")
 
imported>Nskaggs
 
Line 15: Line 15:
* Try to ssh to the host and check the status of the unit:
* Try to ssh to the host and check the status of the unit:
<pre>
<pre>
systmectl status <unit_name>
systemctl status <unit_name>
</pre>
</pre>



Latest revision as of 20:00, 27 July 2022

Overview

The procedures in this runbook require admin permissions to complete.

Error / Incident

A systemd unit has been down on a host for a long time.

Debugging

This is quite a generic alert, so there's many options, but some things to try:

  • Try to ssh to the host and check the status of the unit:
systemctl status <unit_name>
  • Check the logs for that unit:
journalctl -u <unit_name> -n 1000

From there you might have to go to the specific service details on how to debug them.

  • Ask on irc if someone is taking any action and forgot about it
  • Check SAL (or here) for host being rebooted/taken down
  • Check Netbox to make sure the host is not being decommed or network changes were not applied
  • Check puppet for recent changes that might have affected the node

Common issues

Add notes here when you find this issue.

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
Receive mail announcements about critical changes
Subscribe to the cloud-announce@ mailing list (all messages are also mirrored to the cloud@ list)
Track work tasks and report bugs
Use the Phabricator workboard #Cloud-Services for bug reports and feature requests about the Cloud VPS infrastructure itself
Learn about major near-term plans
Read the News wiki page
Read news and stories about Wikimedia Cloud Services
Read the Cloud Services Blog (for the broader Wikimedia movement, see the Wikimedia Technical Blog)

Old incidents

Add your incident here: