Skip to content

Commit

Permalink
Update tugboat.md with steps to restart proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
edmund-dunn authored Feb 22, 2024
1 parent 0b8858a commit b6146d3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions READMES/devops/tugboat.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,20 @@ Shelling into the Tugboat server can be accomplished with `ssm-session tugboat u
2. Suspend older previews. This normally happens automatically (for Pull Request-based previews that haven't been touched in some period of time), but a flurry of previews might have been created inadvertently.
3. Consider upscaling the Tugboat server or migrating to an alternative architecture.

### Previews inaccessible
**Symptoms**: Requests to Tugboat previews, i.e. cms- pr pr- return 502/504 status codes or time out.

**Verification**:

1. Log into the Tugboat server (`ssm-session utility tugboat auto`).
2. Check system load and free memory (e.g. `top`).
3. If load is NOT incredibly high, and available memory is NOT very low, then the Tugboat server might be dealing with a proxy issue.

**Remediation**:

1. Run `tbctl restart proxy` and `tbctl restart traefik`


## 🚨 Warning 🚨

Note that the "training" environment (https://training.cms.va.gov/) is the source of truth for who has and who has not completed the editorial training; it should not be rebuilt or otherwise tampered with without previously discussing with Helpdesk.

0 comments on commit b6146d3

Please sign in to comment.