Nicolas Azevedo Costa
02/27/2023, 7:27 PMResource handler returned message: "Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'." (RequestToken: xxxx-xxx-xxx, HandlerErrorCode: GeneralServiceException)Does anyone faced similar issue before? Thanks.
daniel
02/27/2023, 7:28 PMdaniel
02/27/2023, 7:31 PMNicolas Azevedo Costa
02/27/2023, 8:51 PMNicolas Azevedo Costa
02/28/2023, 12:01 PMCannotPullContainerError: pull image manifest has been retried 5 time(s): failed to resolve ref docker.io/dagster/dagster-cloud-agent:1.1.20: failed to do request: Head "https://registry-1.docker.io/v2/dagster/dagster-cloud-agent/manifests/1.1.20": dial tcp xx.xxx.xx.xxx:yyy i/o timeout
daniel
02/28/2023, 2:25 PMNicolas Azevedo Costa
02/28/2023, 2:31 PMdaniel
02/28/2023, 3:42 PM- The VPC needs to use route53 for DNS
- You can verify this by looking at the DHCP option set on the VPC
- The VPC needs to have assign_hostnames enabled
- The "default" security group in the VPC needs the following rules
- An ingress rule that allows traffic from other addresses within the default security group. this allows the agent and grpc server to communicate with each other
- Open egress from addresses in the Security Group to the internet, this allows the agent to communicate with Dagster Cloud
- (if using private subnets) The network ACL should allow the same rules as the security group, egress to the public internet and ingress from other hosts in the private subnet
How to check things:
- For the VPC DNS you can go to the VPC console, find the VPC the user wants and click on the DHCP option set
- For the security group go to the security groups section in the VPC console, filter for your VPC and find the one named "default"
- For the network ACLs you'll first need to find the subnet which you can also find from the VPC console and click on the tab for network ACLs
Nicolas Azevedo Costa
02/28/2023, 4:04 PMNicolas Azevedo Costa
03/01/2023, 5:20 PMException: Invalid image ****.dkr.ecr.***.<http://amazonaws.com/***:****|amazonaws.com/***:****>. Only images managed by Dagster Cloud can be used in Serverless deployments.
Got confused because i switched to Hybrid, and the error is saying about serverless.
Could you help me understanding why, please.
(Let me know if i should ask it in difference place/channel)
Thanksdaniel
03/01/2023, 5:26 PMdaniel
03/01/2023, 5:26 PMdaniel
03/01/2023, 5:26 PMdaniel
03/01/2023, 5:26 PMNicolas Azevedo Costa
03/01/2023, 5:27 PMlocations:
- location_name: dagster_pipelines
code_source:
package_name: package_name
build:
directory: ./
registry: ***.dkr.ecr.***.<http://amazonaws.com/***|amazonaws.com/***>
daniel
03/01/2023, 5:28 PMdaniel
03/01/2023, 5:29 PMNicolas Azevedo Costa
03/01/2023, 5:29 PMNicolas Azevedo Costa
03/01/2023, 5:31 PMdaniel
03/01/2023, 5:44 PMNicolas Azevedo Costa
03/01/2023, 5:46 PMNicolas Azevedo Costa
03/01/2023, 5:47 PMException: Invalid image ****.dkr.ecr.***.<http://amazonaws.com/***:****|amazonaws.com/***:****>. Only images managed by Dagster Cloud can be used in Serverless deployments.
daniel
03/01/2023, 5:48 PMNicolas Azevedo Costa
03/01/2023, 5:48 PMdaniel
03/01/2023, 5:51 PMNicolas Azevedo Costa
03/01/2023, 5:51 PMNicolas Azevedo Costa
03/01/2023, 6:00 PMNicolas Azevedo Costa
03/01/2023, 6:23 PMenv_vars
under branch_deployments.yml
file?
on serverless approach i was using the latter.daniel
03/01/2023, 6:28 PM