Custom resource registration failing
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
Inizia da rpdk/core/project.py in _wait_for_registration e da rpdk/core/submit.py, quindi riproduci cfn submit per il provider node14 in un nuovo account AWS. Confronta la risposta di registrazione e l'errore downstream con un provider che ha esito positivo; il lavoro è completato quando il problema ha una diagnosi attuabile oppure è stata confermata una correzione della registrazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
It is successfully submitting the type but upon registration it appears to be failing in our new AWS accounts. This is using a node14 runtime. It is getting some weird error on registration with no information. Just goes into deploy_status of failed. Have tried this multiple times with no luck but have had other types that are using this same pattern succeed.
`2023-07-17 09:01:34,111 | Build inside container returned response {"jsonrpc": "2.0", "id": 1, "result": {"artifacts_dir": "/tmp/samcli/artifacts"}}
2023-07-17 09:01:34,113 | Build inside container was successful. Copying artifacts from container to host
2023-07-17 09:01:34,428 | Copying from container: /tmp/samcli/artifacts/. -> /Users
2023-07-17 09:01:37,717 | Build inside container succeeded
2023-07-17 09:01:37,719 | There is no customer defined id or cdk path defined for resource TestEntrypoint, so we will use the resource logical id as the resource id
2023-07-17 09:01:37,719 | There is no customer defined id or cdk path defined for resource TypeFunction, so we will use the resource logical id as the resource id
2023-07-17 09:01:37,720 | 2 resources found in the stack
2023-07-17 09:01:37,720 | Found Serverless function with name='TestEntrypoint' and CodeUri='./'
2023-07-17 09:01:37,720 | Found Serverless function with name='TypeFunction' and CodeUri='./'
2023-07-17 09:01:37,726 | Telemetry endpoint configured to be https://aws-serverless-tools-telemetry.us-west-2.amazonaws.com/metrics
2023-07-17 09:01:37,891 | Telemetry endpoint configured to be https://aws-serverless-tools-telemetry.us-west-2.amazonaws.com/metrics
2023-07-17 09:01:37,891 | Unable to find Click Context for getting session_id.
2023-07-17 09:01:38,215 | Telemetry response: 200
2023-07-17 09:01:38,220 | Telemetry response: 200
[2023-07-17T14:01:38Z] DEBUG - Dependencies build finished
[2023-07-17T14:01:40Z] DEBUG - Package complete
[2023-07-17T14:01:40Z] DEBUG - Version info is not available for plugins, not writing to metadata file
[2023-07-17T14:01:40Z] DEBUG - overrides.json not found. Not writing to package.
[2023-07-17T14:01:40Z] DEBUG - Packaging complete, uploading...
[2023-07-17T14:01:40Z] DEBUG - Uploading to region 'us-east-1'
[2023-07-17T14:01:40Z] DEBUG - Creating execution role for provider to use
[2023-07-17T14:01:40Z] INFO - Creating extend-confluent-acl-role-stack
[2023-07-17T14:01:41Z] INFO - extend-confluent-acl-role-stack already exists. Attempting to update
[2023-07-17T14:01:41Z] INFO - extend-confluent-acl-role-stack stack is up to date
[2023-07-17T14:01:41Z] INFO - Creating CloudFormationManagedUploadInfrastructure
[2023-07-17T14:01:41Z] INFO - CloudFormationManagedUploadInfrastructure already exists. Attempting to update
[2023-07-17T14:01:42Z] INFO - CloudFormationManagedUploadInfrastructure stack is up to date
[2023-07-17T14:01:42Z] DEBUG - Uploading to 'cloudformationmanageduploadinfrast-artifactbucket'...
[2023-07-17T14:02:24Z] DEBUG - Upload complete
[2023-07-17T14:02:24Z] DEBUG - Got S3 URL: s3://cloudformationmanageduploadinfrast-artifactbucket
[2023-07-17T14:02:24Z] WARNING - Successfully submitted type. Waiting for registration with token '2b...' to complete.
[2023-07-17T14:03:25Z] WARNING - Failed to register the type with registration token '2b....'
[2023-07-17T14:03:25Z] WARNING - Please see response for additional information: '{'ProgressStatus': 'FAILED', 'Description': 'Deployment is currently in DEPLOY_STAGE of status FAILED\nDeployment failed with error. Error message: [2b...] Internal Failure', 'TypeArn': 'arn:aws:cloudformation:us-east-1::type/resource/MY-ACL', 'TypeVersionArn': 'arn:aws:cloudformation:us-east-1::type/resource/MY-ACL/00000001', 'ResponseMetadata': {'RequestId': '3ab...', 'HTTPStatusCode': 200, 'HTTPHeaders': {'x-amzn-requestid': '3ab..., 'date': 'Mon, 17 Jul 2023 14:03:25 GMT', 'content-type': 'text/xml', 'content-length': '773', 'connection': 'keep-alive'}, 'RetryAttempts': 0}}'
[2023-07-17T14:03:25Z] DEBUG - Caught downstream error
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/rpdk/core/project.py", line 1130, in _wait_for_registration
registration_waiter.wait(RegistrationToken=registration_token)
File "/usr/local/lib/python3.11/site-packages/botocore/waiter.py", line 55, in wait
Waiter.wait(self, **kwargs)
File "/usr/local/lib/python3.11/site-packages/botocore/waiter.py", line 375, in wait
raise WaiterError(
botocore.exceptions.WaiterError: Waiter TypeRegistrationComplete failed: Waiter encountered a terminal failure state: For expression "ProgressStatus" we matched expected path: "FAILED"
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/rpdk/core/cli.py", line 100, in main
args.command(args)
File "/usr/local/lib/python3.11/site-packages/rpdk/core/submit.py", line 19, in submit
project.submit(
File "/usr/local/lib/python3.11/site-packages/rpdk/core/project.py", line 659, in submit
self._upload(
File "/usr/local/lib/python3.11/site-packages/rpdk/core/project.py", line 1117, in _upload
self._wait_for_registration(
File "/usr/local/lib/python3.11/site-packages/rpdk/core/project.py", line 1151, in _wait_for_registration
raise DownstreamError("Type registration error") from e
rpdk.core.exceptions.DownstreamError: Type registration error
`
- Lingua principale
- Python
- Stelle
- 336
- Fork
- 173
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aws-cloudformation/cloudformation-cli
-
docs: `--use-docker` and `--no-docker` options of `cfn submit` are missing from the documentationAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
aws-cloudformation/cloudformation-cli#1117 · 1 commento · 6 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
aws-cloudformation/cloudformation-cli#1115 · 1 commento · 9 reazioni ·
Tutte le issue di aws-cloudformation/cloudformation-cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
Netcracker/qubership-ai-packages#266 ·
I maintainer di solito rispondono entro 1 giorno
-
PROCESSED_DATA_FOLDER: strip whitespace and treat empty as unsetForse già presa @TorecLuik l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
NL-BioImaging/BIOMERO.importer#63 ·
I maintainer di solito rispondono entro 1 giorno
-
MLX training-complete chat/merge suggestions omit --backend mlxForse già presa @vaputa l’ha presa oggi. Apertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
MakazhanAlpamys/Soup#2913 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area:security effort:S priority:P3 status:needs-triage type:chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
randomparity/kdive#3657 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
aws/mcp-proxy-for-aws#476 ·
I maintainer di solito rispondono entro 1 giorno