Created
July 20, 2022 12:25
-
-
Save khaiql/20a1ce012ed30e73e91c359701ca730d to your computer and use it in GitHub Desktop.
Debug fly deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2mDEBUG Loaded flyctl config from/Users/sle/.fly/config.yml[0m | |
[2mDEBUG trying remote docker daemon[0m | |
[2mDEBUG Trying 'Local Image Reference' strategy | |
[0m[2mDEBUG local docker daemon not available, skipping[0m | |
[2mDEBUG result image:<nil> error:<nil> | |
[0m[2mDEBUG Trying 'Remote Image Reference' strategy | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $imageRef: String!) { app(name: $appName) { id image(ref: $imageRef) { id digest ref compressedSize } } }","variables":{"appName":"bookforward-prod-us","imageRef":"registry.fly.io/bookforward-prod-us:master-200720221209"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (390.1ms) {"data":{"app":{"id":"bookforward-prod-us","image":{"id":"img_nk3yvl7knqo4ome7","digest":"sha256:a1d457984b447986eaf96f8a861fa61973e45045e34e426acaf41d47abbc5253","ref":"registry.fly.io/bookforward-prod-us:master-200720221209","compressedSize":417114307}}}} | |
[0m[2mDEBUG result image:&{ID:img_nk3yvl7knqo4ome7 Tag:registry.fly.io/bookforward-prod-us:master-200720221209 Size:417114307} error:<nil> | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"mutation($input: DeployImageInput!) { deployImage(input: $input) { release { id version reason description deploymentStrategy user { id email name } evaluationId createdAt } releaseCommand { id command evaluationId } } }","variables":{"input":{"appId":"bookforward-prod-us","image":"registry.fly.io/bookforward-prod-us:master-200720221209","services":null,"definition":{"deploy":{"strategy":"bluegreen"},"env":{"PORT":"8080","SERVER_COMMAND":"foreman start -f Procfile.prod"},"experimental":{"allowed_public_ports":[],"auto_rollback":true},"kill_signal":"SIGINT","kill_timeout":5,"metrics":{"path":"/metrics","port":9394},"processes":[],"services":[{"concurrency":{"hard_limit":25,"soft_limit":20,"type":"connections"},"http_checks":[],"internal_port":8080,"ports":[{"force_https":true,"handlers":["http"],"port":80},{"handlers":["tls","http"],"port":443}],"processes":["app"],"protocol":"tcp","script_checks":[],"tcp_checks":[{"grace_period":"1s","interval":"15s","restart_limit":0,"timeout":"2s"}]}],"statics":[{"guest_path":"/app/public","url_prefix":"/"}]},"strategy":null}}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (765.3ms) {"data":{"deployImage":{"release":{"id":"XaYvVXJNNq9YPTD4GLXDJLAJ","version":95,"reason":"","description":"Release","deploymentStrategy":"BLUEGREEN","user":{"id":"VjzD9GaZXea0nCKYY","email":"khai.le@live.com","name":"Scott Le"},"evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1","createdAt":"2022-07-20T12:23:18Z"},"releaseCommand":null}}} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (355.87ms) {"data":{"app":{"deploymentStatus":null}}} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (362.24ms) {"data":{"app":{"deploymentStatus":null}}} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (389.58ms) {"data":{"app":{"deploymentStatus":null}}} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (402.79ms) {"data":{"app":{"deploymentStatus":{"id":"b09947fb-4214-782a-6d6f-63d3ba88569d","inProgress":true,"status":"running","successful":false,"description":"Deployment is running","version":95,"desiredCount":1,"placedCount":1,"healthyCount":0,"unhealthyCount":0,"allocations":[]}}}} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"b09947fb-4214-782a-6d6f-63d3ba88569d","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (349.61ms) {"data":{"app":{"deploymentStatus":{"id":"b09947fb-4214-782a-6d6f-63d3ba88569d","inProgress":true,"status":"running","successful":false,"description":"Deployment is running","version":95,"desiredCount":1,"placedCount":1,"healthyCount":0,"unhealthyCount":0,"allocations":[]}}}} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"b09947fb-4214-782a-6d6f-63d3ba88569d","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (343.82ms) {"data":{"app":{"deploymentStatus":{"id":"b09947fb-4214-782a-6d6f-63d3ba88569d","inProgress":true,"status":"running","successful":false,"description":"Deployment is running","version":95,"desiredCount":1,"placedCount":1,"healthyCount":0,"unhealthyCount":0,"allocations":[]}}}} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"b09947fb-4214-782a-6d6f-63d3ba88569d","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (300.23ms) {"data":{"app":{"deploymentStatus":{"id":"b09947fb-4214-782a-6d6f-63d3ba88569d","inProgress":true,"status":"running","successful":false,"description":"Deployment is running","version":95,"desiredCount":1,"placedCount":1,"healthyCount":0,"unhealthyCount":0,"allocations":[]}}}} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"b09947fb-4214-782a-6d6f-63d3ba88569d","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"b09947fb-4214-782a-6d6f-63d3ba88569d","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (322.79ms) {"data":{"app":{"deploymentStatus":{"id":"b09947fb-4214-782a-6d6f-63d3ba88569d","inProgress":true,"status":"running","successful":false,"description":"Deployment is running","version":95,"desiredCount":1,"placedCount":1,"healthyCount":1,"unhealthyCount":0,"allocations":[]}}}} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"b09947fb-4214-782a-6d6f-63d3ba88569d","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (334.55ms) {"data":{"app":{"deploymentStatus":{"id":"b09947fb-4214-782a-6d6f-63d3ba88569d","inProgress":true,"status":"running","successful":false,"description":"Deployment is running","version":95,"desiredCount":1,"placedCount":1,"healthyCount":1,"unhealthyCount":0,"allocations":[]}}}} | |
[0m[2mDEBUG --> POST https://api.fly.io/graphql {{"query":"query ($appName: String!, $deploymentId: ID!, $evaluationId: String!) { app(name: $appName) { deploymentStatus(id: $deploymentId, evaluationId: $evaluationId) { id inProgress status successful description version desiredCount placedCount healthyCount unhealthyCount allocations { id idShort status region desiredStatus version healthy failed canary restarts checks { status serviceName } } } } }","variables":{"appName":"bookforward-prod-us","deploymentId":"b09947fb-4214-782a-6d6f-63d3ba88569d","evaluationId":"ea6916c4-aaeb-0dcf-6cc7-eb6941bef7c1"}} | |
} | |
[0m[2mDEBUG <-- 200 https://api.fly.io/graphql (282.74ms) {"data":{"app":{"deploymentStatus":{"id":"b09947fb-4214-782a-6d6f-63d3ba88569d","inProgress":false,"status":"successful","successful":true,"description":"Deployment completed successfully","version":95,"desiredCount":1,"placedCount":1,"healthyCount":1,"unhealthyCount":0,"allocations":[]}}}} | |
[0m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment