Note: For installations using Terraform Enterprise v202205-01 through v202308-1, all container names now follow the naming convention of "tfe-<service>"
Example:
ptfe_atlas > tfe-atlas ptfe_archivist > tfe-archivistNote - older version can have "ptfe" prefix
More information can be found in the release notes with a change here.
Potential scenarios
- All runs are in a pending state, persisting through restarts
- When attempting to delete a workspace you might see the following generic error message:
internal server error
Cause
A common reason for this is due to permission issues on the Object Storage bucket connected to the Terraform Enterprise instance. You can check for applicable errors on the instance by either generating a support bundle, extracting the resulting .tar.gz
file and navigating to /primary/app/logs/ptfe_archivist.stderr
or checking the docker logs using docker logs ptfe_archivist | grep 'AccessDenied'
and looking for an error similar to the one below.
[ERROR] http.delete: Failed deleting from archive store
err="AccessDenied: Access Denied\n\tstatus code: 403,
Solutions:
- Check the permissions on the S3 Object Storage connected to the instance
-
Rotate the S3 Object Storage credentials
S3 Configuration settings can be set within the Terraform Enterprise Admin Console at
https://<TFE-HOST>:8800/settings#production
Outcome
Once the credentials are corrected or rotated and the changes are saved the next time you attempt to delete the workspace again it should be successful.
Additional Information
-
If the instructions above did not assist with the error you are encountering, please contact HashiCorp Support for further assistance.