Skip to content

Commit eb5c435

Browse files
authored
Merge pull request #459 from NASA-IMPACT/docs/circuit-breaker
chore: document observed behavior after circuit breaker events + residual ORCA policies Doc Change -- no code change here -- merging now
2 parents 69f53bd + 2356525 commit eb5c435

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docs/TROUBLESHOOTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
- [Ingestion](#ingestion)
44
- [PostToCmr Always Fails with 401 (Unauthorized)](#posttocmr-always-fails-with-401-unauthorized)
5+
- [CopyToArchive Always Fails with 403 (AccessDenied)](#copytoarchive-always-fails-with-403-accessdenied)
56
- [Deployment](#deployment)
67
- [Error creating API Gateway Deployment: BadRequestException: Private REST API doesn't have a resource policy attached to it](#error-creating-api-gateway-deployment-badrequestexception-private-rest-api-doesnt-have-a-resource-policy-attached-to-it)
78
- [Aws::STS::Errors::InvalidClientTokenId: The security token included in the request is invalid](#awsstserrorsinvalidclienttokenid-the-security-token-included-in-the-request-is-invalid)
@@ -32,6 +33,32 @@ new certificate file (`.pfx`) as well as a new passphrase/password. For
3233
instructions on what to do with the new file and passphrase, see
3334
[OPERATING.md](./OPERATING.md).
3435

36+
### CopyToArchive Always Fails with 403 (AccessDenied)
37+
38+
NGAP has automated 'circuit breakers' set up to prevent cost overruns. Rules are
39+
configured to freeze certain resources, which should be reverted once the trigger
40+
event is resolved (likely related to cloud spend in Kion financials). We have
41+
observed that ORCA buckets retain lockdown modifications post-revert and therefore
42+
may not be covered automatically.
43+
44+
Check the bucket policy on the target ORCA bucket for a statement labelled
45+
`gsfc-ngap-circuit-breaker-added` with an explicit Deny defined. Confirm with
46+
the Project Owner before manual intervention. A version of the original policy,
47+
before circuit breaker modification, should be available in AWS Config.
48+
49+
```
50+
{
51+
"Sid": "gsfc-ngap-circuit-breaker-added",
52+
"Effect": "Deny",
53+
"Principal": "*",
54+
"Action": ["s3:PutObject*","s3:GetObject*","s3:ReplicateObject","s3:RestoreObject"],
55+
"Resource": [...]
56+
}
57+
```
58+
59+
NGAP maintains the circuit breaker systems so this behavior may change.
60+
Other methods to [troubleshoot AccessDenied in S3] may be required.
61+
3562
## Deployment
3663

3764
### Error creating API Gateway Deployment: BadRequestException: Private REST API doesn't have a resource policy attached to it
@@ -626,3 +653,5 @@ module.
626653

627654
[Find ENI Associations]:
628655
https://aws.amazon.com/premiumsupport/knowledge-center/lambda-eni-find-delete/
656+
[Troubleshoot AccessDenied in S3]:
657+
https://docs.aws.amazon.com/AmazonS3/latest/userguide/troubleshoot-403-errors.html

0 commit comments

Comments
 (0)