full-dress-10026
02/20/2019, 7:49 PMpulumi up
with my `FargateService`:
updating urn:pulumi:app-dev::app::awsx:x:ecs:FargateService$aws:ecs/service:Service::http-backend: timeout while waiting for state to become 'true' (last state: 'false', timeout: 10m0s)
Not sure what causes that because the service is correctly deployed and currently healthy. Any ideas?lemon-spoon-91807
02/20/2019, 7:51 PMlemon-spoon-91807
02/20/2019, 7:52 PMfull-dress-10026
02/20/2019, 7:53 PMAnything on the AWS side?Status looks ok
Can you look at the logs there and see what's up?Which logs?
can you link to the code that is creating the service?
let httpBackendService = new awsx.ecs.FargateService("http-backend", {
cluster: cluster,
taskDefinitionArgs: {
containers: {
httpBackend: {
image: `<http://734247230719.dkr.ecr.us-west-2.amazonaws.com/compute/app-ions:${appIonsImageTag}|734247230719.dkr.ecr.us-west-2.amazonaws.com/compute/app-ions:${appIonsImageTag}>`,
portMappings: [httpBackendListener],
cpu: 1024,
memory: 2048,
environment: [
{
name: "COMPUTE_CONFIG_URI",
value: configUri
},
{
name: "NEW_RELIC_APP_NAME",
value: "name"
},
{
name: "NEW_RELIC_LICENSE_KEY",
value: "..."
},
{
name: "NEW_RELIC_ENVIRONMENT",
value: env
}
]
}
}
},
// the app seems to take 4 mins to start up
healthCheckGracePeriodSeconds: 60 * 4,
desiredCount: 2
});
lemon-spoon-91807
02/20/2019, 7:56 PMWhich logs?
lemon-spoon-91807
02/20/2019, 7:56 PMfull-dress-10026
02/20/2019, 7:56 PMconst httpBackendLb = new awsx.elasticloadbalancingv2.NetworkLoadBalancer("http-backend-lb3", {vpc: vpc});
const httpBackendTg = httpBackendLb.createTargetGroup("http-backend-tg2", {
port: 8880,
healthCheck: {
path: "/_healthcheck",
// healthyThreshold: 2,
// unhealthyThreshold: 4
// matcher: "200"
}
});
const httpBackendListener = httpBackendTg.createListener("http-backend-listener", {
port: 8880
});
full-dress-10026
02/20/2019, 7:56 PMlemon-spoon-91807
02/20/2019, 7:56 PMlemon-spoon-91807
02/20/2019, 7:57 PMfull-dress-10026
02/20/2019, 7:57 PMlemon-spoon-91807
02/20/2019, 7:59 PMlemon-spoon-91807
02/20/2019, 7:59 PMlemon-spoon-91807
02/20/2019, 7:59 PMlemon-spoon-91807
02/20/2019, 7:59 PMlemon-spoon-91807
02/20/2019, 8:00 PMlemon-spoon-91807
02/20/2019, 8:00 PMlemon-spoon-91807
02/20/2019, 8:00 PMlemon-spoon-91807
02/20/2019, 8:00 PMfull-dress-10026
02/20/2019, 8:01 PMfull-dress-10026
02/20/2019, 8:01 PMfull-dress-10026
02/20/2019, 8:01 PMlemon-spoon-91807
02/20/2019, 8:02 PMlemon-spoon-91807
02/20/2019, 8:02 PMfull-dress-10026
02/20/2019, 8:02 PMlemon-spoon-91807
02/20/2019, 8:02 PMfull-dress-10026
02/20/2019, 8:02 PMfull-dress-10026
02/20/2019, 8:03 PMlemon-spoon-91807
02/20/2019, 8:04 PMlemon-spoon-91807
02/20/2019, 8:04 PMfull-dress-10026
02/20/2019, 8:05 PMlemon-spoon-91807
02/20/2019, 8:05 PMlemon-spoon-91807
02/20/2019, 8:05 PMfull-dress-10026
02/20/2019, 8:05 PMlemon-spoon-91807
02/20/2019, 8:11 PMlemon-spoon-91807
02/20/2019, 8:12 PMfull-dress-10026
02/20/2019, 8:12 PMservice http-backend-55db594 has reached a steady state.
lemon-spoon-91807
02/20/2019, 8:12 PMfull-dress-10026
02/20/2019, 8:13 PMservice http-backend-55db594 has started 2 tasksto
service http-backend-55db594 has reached a steady state.took about 11 minutes.
lemon-spoon-91807
02/20/2019, 8:13 PMlemon-spoon-91807
02/20/2019, 8:13 PMfull-dress-10026
02/20/2019, 8:13 PMlemon-spoon-91807
02/20/2019, 8:14 PMlemon-spoon-91807
02/20/2019, 8:14 PMwaitForSteadyState: false
full-dress-10026
02/20/2019, 8:15 PMlemon-spoon-91807
02/20/2019, 8:26 PMlemon-spoon-91807
02/20/2019, 8:26 PMlemon-spoon-91807
02/20/2019, 8:26 PMlemon-spoon-91807
02/20/2019, 8:26 PM