Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ definder git:(master) ✗ LOG_LEVEL=debug fly migrate-to-v2
- DEBUG Loaded flyctl config from/Users/harshjain/.fly/config.yml
- DEBUG determined hostname: "harshs-MacBook-Air.local"
- DEBUG determined working directory: "/Users/harshjain/BACKUP/gearbox/terraform/fly/definder"
- DEBUG determined user home directory: "/Users/harshjain"
- DEBUG determined config directory: "/Users/harshjain/.fly"
- DEBUG ensured config directory exists.
- DEBUG ensured config directory perms.
- DEBUG cache loaded.
- DEBUG config initialized.
- DEBUG client initialized.
- DEBUG app config loaded from /Users/harshjain/BACKUP/gearbox/terraform/fly/definder/fly.toml
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "query ($appName: String!) { appbasic:app(name: $appName) { id name platformVersion organization { id slug paidPlan } } }",
- "variables": {
- "appName": "definder"
- }
- }
- DEBUG {}
- DEBUG <-- 200 https://api.fly.io/graphql (317.49ms)
- DEBUG {
- "data": {
- "appbasic": {
- "id": "definder",
- "name": "definder",
- "platformVersion": "nomad",
- "organization": {
- "id": "m8Y4w6lakLYJ3IxRnJ48ML6Bb8U75P4kk",
- "slug": "personal",
- "paidPlan": false
- }
- }
- }
- }
- DEBUG Starting task manager
- DEBUG started querying for new release
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG Config has metrics token
- DEBUG {
- "query": "query ($appName: String!) { appcompact:app(name: $appName) { id name hostname deployed status appUrl platformVersion organization { id slug paidPlan } postgresAppRole: role { name } imageDetails { repository version } } }",
- "variables": {
- "appName": "definder"
- }
- }
- DEBUG {}
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "query { platform { requestRegion regions { name code latitude longitude gatewayAvailable requiresPaidPlan } } }",
- "variables": null
- }
- DEBUG {}
- DEBUG <-- 200 https://api.fly.io/graphql (267.66ms)
- DEBUG {
- "data": {
- "appcompact": {
- "id": "definder",
- "name": "definder",
- "hostname": "definder.fly.dev",
- "deployed": true,
- "appUrl": "https://2a09:8280:1::24:25e8",
- "platformVersion": "nomad",
- "organization": {
- "id": "m8Y4w6lakLYJ3IxRnJ48ML6Bb8U75P4kk",
- "slug": "personal",
- "paidPlan": false
- },
- "postgresAppRole": null,
- "imageDetails": {
- "repository": "definder",
- "version": null
- },
- "status": "running"
- }
- }
- }
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "query ($appName: String!) { appcompact:app(name: $appName) { id name hostname deployed status appUrl platformVersion organization { id slug paidPlan } postgresAppRole: role { name } imageDetails { repository version } } }",
- "variables": {
- "appName": "definder"
- }
- }
- DEBUG {}
- DEBUG <-- 200 https://api.fly.io/graphql (440.46ms)
- DEBUG {
- "data": {
- "platform": {
- "requestRegion": "dxb",
- "regions": [
- {
- "name": "Amsterdam, Netherlands",
- "code": "ams",
- "latitude": 52.374342,
- "longitude": 4.895439,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Stockholm, Sweden",
- "code": "arn",
- "latitude": 59.6512,
- "longitude": 17.9178,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Atlanta, Georgia (US)",
- "code": "atl",
- "latitude": 33.6407,
- "longitude": -84.4277,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Bogotá, Colombia",
- "code": "bog",
- "latitude": 4.70159,
- "longitude": -74.1469,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Mumbai, India",
- "code": "bom",
- "latitude": 19.097403,
- "longitude": 72.874245,
- "gatewayAvailable": false,
- "requiresPaidPlan": true
- },
- {
- "name": "Boston, Massachusetts (US)",
- "code": "bos",
- "latitude": 42.366978,
- "longitude": -71.022362,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Paris, France",
- "code": "cdg",
- "latitude": 48.860875,
- "longitude": 2.353477,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Denver, Colorado (US)",
- "code": "den",
- "latitude": 39.7392,
- "longitude": -104.9847,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Dallas, Texas (US)",
- "code": "dfw",
- "latitude": 32.778287,
- "longitude": -96.7984,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Secaucus, NJ (US)",
- "code": "ewr",
- "latitude": 40.789543,
- "longitude": -74.056534,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Ezeiza, Argentina",
- "code": "eze",
- "latitude": -34.8222,
- "longitude": -58.5358,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Frankfurt, Germany",
- "code": "fra",
- "latitude": 50.1167,
- "longitude": 8.6833,
- "gatewayAvailable": true,
- "requiresPaidPlan": true
- },
- {
- "name": "Guadalajara, Mexico",
- "code": "gdl",
- "latitude": 20.5217,
- "longitude": -103.3109,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Rio de Janeiro, Brazil",
- "code": "gig",
- "latitude": -22.8099,
- "longitude": -43.2505,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Sao Paulo, Brazil",
- "code": "gru",
- "latitude": -23.549664,
- "longitude": -46.654351,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Hong Kong, Hong Kong",
- "code": "hkg",
- "latitude": 22.250971,
- "longitude": 114.203224,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Ashburn, Virginia (US)",
- "code": "iad",
- "latitude": 39.02214,
- "longitude": -77.462556,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Johannesburg, South Africa",
- "code": "jnb",
- "latitude": -26.13629,
- "longitude": 28.20298,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Los Angeles, California (US)",
- "code": "lax",
- "latitude": 33.9416,
- "longitude": -118.4085,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "London, United Kingdom",
- "code": "lhr",
- "latitude": 51.516434,
- "longitude": -0.125656,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Chennai (Madras), India",
- "code": "maa",
- "latitude": 13.064429,
- "longitude": 80.253067,
- "gatewayAvailable": true,
- "requiresPaidPlan": true
- },
- {
- "name": "Madrid, Spain",
- "code": "mad",
- "latitude": 40.4381,
- "longitude": -3.82,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Miami, Florida (US)",
- "code": "mia",
- "latitude": 25.7877,
- "longitude": -80.2241,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Tokyo, Japan",
- "code": "nrt",
- "latitude": 35.621608,
- "longitude": 139.741851,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Chicago, Illinois (US)",
- "code": "ord",
- "latitude": 41.891544,
- "longitude": -87.630386,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Bucharest, Romania",
- "code": "otp",
- "latitude": 44.4325,
- "longitude": 26.1039,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Phoenix, Arizona (US)",
- "code": "phx",
- "latitude": 33.416084,
- "longitude": -112.009482,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Querétaro, Mexico",
- "code": "qro",
- "latitude": 20.62,
- "longitude": -100.1863,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Santiago, Chile",
- "code": "scl",
- "latitude": -33.36572,
- "longitude": -70.64292,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Seattle, Washington (US)",
- "code": "sea",
- "latitude": 47.6097,
- "longitude": -122.3331,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Singapore, Singapore",
- "code": "sin",
- "latitude": 1.3,
- "longitude": 103.8,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "San Jose, California (US)",
- "code": "sjc",
- "latitude": 37.351601,
- "longitude": -121.896744,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Sydney, Australia",
- "code": "syd",
- "latitude": -33.866033,
- "longitude": 151.20693,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- },
- {
- "name": "Warsaw, Poland",
- "code": "waw",
- "latitude": 52.1657,
- "longitude": 20.9671,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Montreal, Canada",
- "code": "yul",
- "latitude": 45.48647,
- "longitude": -73.75549,
- "gatewayAvailable": false,
- "requiresPaidPlan": false
- },
- {
- "name": "Toronto, Canada",
- "code": "yyz",
- "latitude": 43.644632,
- "longitude": -79.384228,
- "gatewayAvailable": true,
- "requiresPaidPlan": false
- }
- ]
- }
- }
- }
- DEBUG querying for release resulted to v0.1.79
- DEBUG <-- 200 https://api.fly.io/graphql (444.79ms)
- DEBUG {
- "data": {
- "appcompact": {
- "id": "definder",
- "name": "definder",
- "hostname": "definder.fly.dev",
- "deployed": true,
- "appUrl": "https://2a09:8280:1::24:25e8",
- "platformVersion": "nomad",
- "organization": {
- "id": "m8Y4w6lakLYJ3IxRnJ48ML6Bb8U75P4kk",
- "slug": "personal",
- "paidPlan": false
- },
- "postgresAppRole": null,
- "imageDetails": {
- "repository": "definder",
- "version": null
- },
- "status": "running"
- }
- }
- }
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "query ($appName: String!) { app(name: $appName) { id name hostname deployed status version appUrl platformVersion currentRelease { evaluationId status inProgress version } config { definition } organization { id slug paidPlan } services { description protocol internalPort ports { port handlers } } ipAddresses { nodes { id address type createdAt } } imageDetails { registry repository tag digest version } volumes { nodes { id sizeGb name region attached_alloc_id: attachedAllocationId } } machines{ nodes { id name config state region createdAt app { name } ips { nodes { family kind ip maskSize } } host { id } } } postgresAppRole: role { name } limitedAccessTokens { nodes { id name expiresAt } } } }",
- "variables": {
- "appName": "definder"
- }
- }
- DEBUG {}
- DEBUG <-- 200 https://api.fly.io/graphql (505.06ms)
- DEBUG {
- "data": {
- "app": {
- "id": "definder",
- "name": "definder",
- "hostname": "definder.fly.dev",
- "deployed": true,
- "version": 35,
- "appUrl": "https://2a09:8280:1::24:25e8",
- "platformVersion": "nomad",
- "currentRelease": {
- "evaluationId": null,
- "status": "succeeded",
- "inProgress": false,
- "version": 35
- },
- "config": {
- "definition": {
- "kill_timeout": 5,
- "kill_signal": "SIGINT",
- "processes": [],
- "mounts": [
- {
- "processes": [],
- "source": "definder",
- "destination": "/app/data",
- "encrypted": false
- }
- ],
- "experimental": {
- "entrypoint": [],
- "cmd": [],
- "exec": [],
- "auto_rollback": true
- },
- "services": [
- {
- "processes": [
- "app"
- ],
- "protocol": "tcp",
- "internal_port": 8080,
- "concurrency": {
- "soft_limit": 20,
- "hard_limit": 25,
- "type": "connections"
- },
- "ports": [
- {
- "port": 80,
- "handlers": [
- "http"
- ],
- "force_https": true
- },
- {
- "port": 443,
- "handlers": [
- "tls",
- "http"
- ]
- }
- ],
- "tcp_checks": [
- {
- "interval": "15s",
- "timeout": "2s",
- "grace_period": "1s",
- "restart_limit": 0
- }
- ],
- "http_checks": [],
- "script_checks": []
- }
- ],
- "env": {
- "ADDRESS_PROVIDER": "0xcF64698AFF7E5f27A11dff868AF228653ba53be0",
- "AMQP_ENABLE": "1",
- "APP_NAME": "Definder@H",
- "DC_VERSION": "2",
- "FLASHBOT_RELAY": "",
- "FLASHBOT_RPC": "https://rpc.flashbots.net",
- "PAUSER_MC_ADDRESS": "0xD7b069517246edB58Ce670485b4931E0a86Ab6Ff",
- "PORT": "8080",
- "PRIMARY_REGION": "ams",
- "PRIVATE_KEY_ADDRESS": "0x65b384cEcb12527Da51d52f15b4140ED7FaD7308",
- "RISK_CHECK_COOLDOWN_MIN": "1440",
- "RISK_CHECK_ENABLE": "1",
- "ROLLBACK_MAX_BLOCK": "5"
- }
- }
- },
- "organization": {
- "id": "m8Y4w6lakLYJ3IxRnJ48ML6Bb8U75P4kk",
- "slug": "personal",
- "paidPlan": false
- },
- "services": [
- {
- "description": "TCP 80/443 ⇢ 8080",
- "protocol": "TCP",
- "internalPort": 8080,
- "ports": [
- {
- "port": 80,
- "handlers": [
- "HTTP"
- ]
- },
- {
- "port": 443,
- "handlers": [
- "TLS",
- "HTTP"
- ]
- }
- ]
- }
- ],
- "imageDetails": {
- "registry": "registry.fly.io",
- "repository": "definder",
- "tag": "deployment-01H6W5F67C321N27CD0PFDCF1V",
- "digest": "sha256:37e04f91087f3965f7bf7f538a256328bc1b60a58156b1c6999ef7dc03758a23",
- "version": null
- },
- "postgresAppRole": null,
- "ipAddresses": {
- "nodes": [
- {
- "id": "ip_7kz59o4zooq1eyj0",
- "address": "2a09:8280:1::24:25e8",
- "type": "v6",
- "createdAt": "2023-06-05T17:16:48Z"
- }
- ]
- },
- "machines": {
- "nodes": [
- {
- "id": "5683074f705208",
- "name": "summer-flower-6005",
- "config": {
- "env": {
- "PORT": "8080",
- "APP_NAME": "Definder@H",
- "DC_VERSION": "2",
- "AMQP_ENABLE": "1",
- "FLASHBOT_RPC": "https://rpc.flashbots.net",
- "FLASHBOT_RELAY": "",
- "PRIMARY_REGION": "ams",
- "ADDRESS_PROVIDER": "0xcF64698AFF7E5f27A11dff868AF228653ba53be0",
- "FLY_PROCESS_GROUP": "app",
- "PAUSER_MC_ADDRESS": "0xD7b069517246edB58Ce670485b4931E0a86Ab6Ff",
- "RISK_CHECK_ENABLE": "1",
- "ROLLBACK_MAX_BLOCK": "5",
- "PRIVATE_KEY_ADDRESS": "0x65b384cEcb12527Da51d52f15b4140ED7FaD7308",
- "RISK_CHECK_COOLDOWN_MIN": "1440"
- },
- "init": {
- "cmd": null,
- "tty": null,
- "exec": null,
- "entrypoint": null
- },
- "size": "shared-cpu-1x",
- "image": "definder:deployment-01H6W2A6VY2E2G2WY1NKA7E9P0",
- "image_ref": {
- "registry": "registry.fly.io",
- "repository": "definder",
- "tag": "deployment-01H6W2A6VY2E2G2WY1NKA7E9P0",
- "digest": "sha256:46ebd888ef01c695357fa0c760cb392c075afddf7ac5602fa984d1c366472927",
- "labels": {}
- },
- "restart": {
- "policy": "no",
- "max_retries": 3
- },
- "metadata": {
- "fly_release_id": "q1yZlz2KK40yVczQgg9Xl0mGO",
- "fly_process_group": "app",
- "fly_flyctl_version": "0.1.69",
- "fly_release_version": "30",
- "fly_platform_version": "v2"
- },
- "mounts": [
- {
- "path": "/app/data",
- "volume": "vol_1q85vg3ynqprzdxe",
- "size_gb": 1,
- "encrypted": true
- }
- ]
- },
- "state": "destroyed",
- "region": "ams",
- "createdAt": "2023-08-02T21:26:51Z",
- "app": {
- "name": "definder"
- },
- "host": {
- "id": "8aba"
- },
- "ips": {
- "nodes": [
- {
- "family": "v6",
- "kind": "public",
- "ip": "2604:1380:4601:d603:0:2c1e:b12e:1",
- "maskSize": 127
- },
- {
- "family": "v4",
- "kind": "private",
- "ip": "172.19.142.42",
- "maskSize": 29
- },
- {
- "family": "v6",
- "kind": "privatenet",
- "ip": "fdaa:2:2aac:a7b:23c5:2c1e:b12e:2",
- "maskSize": 112
- }
- ]
- }
- },
- {
- "id": "e82d497a731208",
- "name": "broken-surf-8574",
- "config": {
- "env": {
- "PORT": "8080",
- "APP_NAME": "Definder@H",
- "DC_VERSION": "2",
- "AMQP_ENABLE": "1",
- "FLASHBOT_RPC": "https://rpc.flashbots.net",
- "FLASHBOT_RELAY": "",
- "PRIMARY_REGION": "ams",
- "ADDRESS_PROVIDER": "0xcF64698AFF7E5f27A11dff868AF228653ba53be0",
- "FLY_PROCESS_GROUP": "app",
- "PAUSER_MC_ADDRESS": "0xD7b069517246edB58Ce670485b4931E0a86Ab6Ff",
- "RISK_CHECK_ENABLE": "1",
- "ROLLBACK_MAX_BLOCK": "5",
- "PRIVATE_KEY_ADDRESS": "0x65b384cEcb12527Da51d52f15b4140ED7FaD7308",
- "RISK_CHECK_COOLDOWN_MIN": "1440"
- },
- "init": {
- "cmd": null,
- "tty": null,
- "exec": null,
- "entrypoint": null
- },
- "size": "shared-cpu-1x",
- "image": "definder:",
- "image_ref": {
- "registry": "registry.fly.io",
- "repository": "definder",
- "tag": null,
- "digest": "sha256:46ebd888ef01c695357fa0c760cb392c075afddf7ac5602fa984d1c366472927",
- "labels": {}
- },
- "restart": {},
- "metadata": {
- "fly_release_id": "nRqjnzJmmaOq8HznebeAB08vR",
- "fly_process_group": "app",
- "fly_flyctl_version": "0.1.65",
- "fly_previous_alloc": "0c2fa534-f5d6-a67c-4463-b5f48afab9eb",
- "fly_release_version": "29",
- "fly_platform_version": "v2"
- },
- "mounts": [
- {
- "path": "/app/data",
- "volume": "vol_g67340g8l9nrydxw",
- "size_gb": 1,
- "encrypted": true
- }
- ]
- },
- "state": "destroyed",
- "region": "ams",
- "createdAt": "2023-08-02T18:59:40Z",
- "app": {
- "name": "definder"
- },
- "host": {
- "id": "cc46"
- },
- "ips": {
- "nodes": [
- {
- "family": "v6",
- "kind": "public",
- "ip": "2604:1380:4601:d609:0:63bb:d433:1",
- "maskSize": 127
- },
- {
- "family": "v4",
- "kind": "private",
- "ip": "172.19.145.18",
- "maskSize": 29
- },
- {
- "family": "v6",
- "kind": "privatenet",
- "ip": "fdaa:2:2aac:a7b:10e:63bb:d433:2",
- "maskSize": 112
- }
- ]
- }
- },
- {
- "id": "48ed432b746678",
- "name": "empty-bird-4766",
- "config": {
- "env": {
- "PORT": "8080",
- "APP_NAME": "Definder@H",
- "DC_VERSION": "2",
- "AMQP_ENABLE": "1",
- "FLASHBOT_RPC": "https://rpc.flashbots.net",
- "FLASHBOT_RELAY": "",
- "PRIMARY_REGION": "ams",
- "ADDRESS_PROVIDER": "0xcF64698AFF7E5f27A11dff868AF228653ba53be0",
- "FLY_PROCESS_GROUP": "app",
- "PAUSER_MC_ADDRESS": "0xD7b069517246edB58Ce670485b4931E0a86Ab6Ff",
- "RISK_CHECK_ENABLE": "1",
- "ROLLBACK_MAX_BLOCK": "5",
- "PRIVATE_KEY_ADDRESS": "0x65b384cEcb12527Da51d52f15b4140ED7FaD7308",
- "RISK_CHECK_COOLDOWN_MIN": "1440"
- },
- "init": {
- "cmd": null,
- "tty": null,
- "exec": null,
- "entrypoint": null
- },
- "size": "shared-cpu-1x",
- "image": "definder:",
- "image_ref": {
- "registry": "registry.fly.io",
- "repository": "definder",
- "tag": null,
- "digest": "sha256:46ebd888ef01c695357fa0c760cb392c075afddf7ac5602fa984d1c366472927",
- "labels": {}
- },
- "restart": {
- "policy": "no",
- "max_retries": 3
- },
- "metadata": {
- "fly_release_id": "",
- "fly_process_group": "app",
- "fly_flyctl_version": "0.1.65",
- "fly_previous_alloc": "2402ae43-6f6d-e959-62e0-ac452e842898",
- "fly_release_version": "0",
- "fly_platform_version": "v2"
- },
- "mounts": [
- {
- "path": "/app/data",
- "volume": "vol_kgj54537kmxry2wz",
- "size_gb": 1,
- "encrypted": true
- }
- ]
- },
- "state": "replaced",
- "region": "ams",
- "createdAt": "2023-07-31T22:25:36Z",
- "app": {
- "name": "definder"
- },
- "host": {
- "id": "f6b7"
- },
- "ips": {
- "nodes": [
- {
- "family": "v6",
- "kind": "public",
- "ip": "2605:4c40:119:f6b7:0:ffec:d6f1:1",
- "maskSize": 127
- },
- {
- "family": "v4",
- "kind": "private",
- "ip": "172.19.201.250",
- "maskSize": 29
- },
- {
- "family": "v6",
- "kind": "privatenet",
- "ip": "fdaa:2:2aac:a7b:142:ffec:d6f1:2",
- "maskSize": 112
- }
- ]
- }
- }
- ]
- },
- "limitedAccessTokens": {
- "nodes": []
- },
- "status": "running",
- "volumes": {
- "nodes": [
- {
- "id": "vol_pkl7vzejg59vqg60",
- "sizeGb": 1,
- "name": "volume_definder",
- "region": "ams",
- "attached_alloc_id": null
- },
- {
- "id": "vol_1q85vg3ynqprzdxe",
- "sizeGb": 1,
- "name": "volume_definder",
- "region": "ams",
- "attached_alloc_id": "01813c0f-e2b3-2e49-4ac0-35412c0dcc98"
- },
- {
- "id": "vol_xv3g18gxql6x5p14",
- "sizeGb": 1,
- "name": "volume_definder",
- "region": "ams",
- "attached_alloc_id": null
- },
- {
- "id": "vol_kgj54537kmxry2wz",
- "sizeGb": 1,
- "name": "definder",
- "region": "ams",
- "attached_alloc_id": null
- }
- ]
- }
- }
- }
- }
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "query ($appName: String!) { appcompact:app(name: $appName) { id name hostname deployed status appUrl platformVersion organization { id slug paidPlan } postgresAppRole: role { name } imageDetails { repository version } } }",
- "variables": {
- "appName": "definder"
- }
- }
- DEBUG {}
- DEBUG <-- 200 https://api.fly.io/graphql (284.71ms)
- DEBUG {
- "data": {
- "appcompact": {
- "id": "definder",
- "name": "definder",
- "hostname": "definder.fly.dev",
- "deployed": true,
- "appUrl": "https://2a09:8280:1::24:25e8",
- "platformVersion": "nomad",
- "organization": {
- "id": "m8Y4w6lakLYJ3IxRnJ48ML6Bb8U75P4kk",
- "slug": "personal",
- "paidPlan": false
- },
- "postgresAppRole": null,
- "imageDetails": {
- "repository": "definder",
- "version": null
- },
- "status": "running"
- }
- }
- }
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "query($appName: String!) { app(name: $appName) { config { definition } } }",
- "variables": {
- "appName": "definder"
- }
- }
- DEBUG {}
- DEBUG <-- 200 https://api.fly.io/graphql (253.62ms)
- DEBUG {
- "data": {
- "app": {
- "config": {
- "definition": {
- "kill_timeout": 5,
- "kill_signal": "SIGINT",
- "processes": [],
- "mounts": [
- {
- "processes": [],
- "source": "definder",
- "destination": "/app/data",
- "encrypted": false
- }
- ],
- "experimental": {
- "entrypoint": [],
- "cmd": [],
- "exec": [],
- "auto_rollback": true
- },
- "services": [
- {
- "processes": [
- "app"
- ],
- "protocol": "tcp",
- "internal_port": 8080,
- "concurrency": {
- "soft_limit": 20,
- "hard_limit": 25,
- "type": "connections"
- },
- "ports": [
- {
- "port": 80,
- "handlers": [
- "http"
- ],
- "force_https": true
- },
- {
- "port": 443,
- "handlers": [
- "tls",
- "http"
- ]
- }
- ],
- "tcp_checks": [
- {
- "interval": "15s",
- "timeout": "2s",
- "grace_period": "1s",
- "restart_limit": 0
- }
- ],
- "http_checks": [],
- "script_checks": []
- }
- ],
- "env": {
- "ADDRESS_PROVIDER": "0xcF64698AFF7E5f27A11dff868AF228653ba53be0",
- "AMQP_ENABLE": "1",
- "APP_NAME": "Definder@H",
- "DC_VERSION": "2",
- "FLASHBOT_RELAY": "",
- "FLASHBOT_RPC": "https://rpc.flashbots.net",
- "PAUSER_MC_ADDRESS": "0xD7b069517246edB58Ce670485b4931E0a86Ab6Ff",
- "PORT": "8080",
- "PRIMARY_REGION": "ams",
- "PRIVATE_KEY_ADDRESS": "0x65b384cEcb12527Da51d52f15b4140ED7FaD7308",
- "RISK_CHECK_COOLDOWN_MIN": "1440",
- "RISK_CHECK_ENABLE": "1",
- "ROLLBACK_MAX_BLOCK": "5"
- }
- }
- }
- }
- }
- }
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "query($appName: String!) { app(name: $appName) { autoscaling { enabled minCount maxCount balanceRegions regions { code minCount weight } } } }",
- "variables": {
- "appName": "definder"
- }
- }
- DEBUG {}
- DEBUG <-- 200 https://api.fly.io/graphql (252.87ms)
- DEBUG {
- "data": {
- "app": {
- "autoscaling": {
- "enabled": false,
- "minCount": 0,
- "maxCount": 10,
- "balanceRegions": false,
- "regions": [
- {
- "code": "sin",
- "minCount": 0,
- "weight": 100
- }
- ]
- }
- }
- }
- }
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "query($appName: String!, $showCompleted: Boolean!) { appstatus:app(name: $appName) { allocations(showCompleted: $showCompleted) { id idShort version latestVersion status desiredStatus totalCheckCount passingCheckCount warningCheckCount criticalCheckCount createdAt updatedAt canary region restarts healthy privateIP taskName checks { status output name } } } }",
- "variables": {
- "appName": "definder",
- "showCompleted": false
- }
- }
- DEBUG {}
- DEBUG <-- 200 https://api.fly.io/graphql (292.6ms)
- DEBUG {
- "data": {
- "appstatus": {
- "allocations": [
- {
- "id": "01813c0f-e2b3-2e49-4ac0-35412c0dcc98",
- "idShort": "01813c0f",
- "version": 35,
- "latestVersion": true,
- "status": "running",
- "desiredStatus": "run",
- "totalCheckCount": 1,
- "passingCheckCount": 1,
- "warningCheckCount": 0,
- "criticalCheckCount": 0,
- "createdAt": "2023-08-02T22:39:33Z",
- "updatedAt": "2023-08-02T22:39:33Z",
- "canary": false,
- "region": "ams2",
- "restarts": 0,
- "healthy": true,
- "privateIP": "fdaa:2:2aac:a7b:23c5:b:6eef:2",
- "taskName": "app",
- "checks": [
- {
- "status": "passing",
- "name": "3df2415693844068640885b45074b954",
- "output": "TCP connect 172.19.64.114:8080: Success"
- }
- ]
- }
- ]
- }
- }
- }
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "query($appName: String!) { app(name: $appName) { vmSize { name cpuCores memoryGb memoryMb priceMonth priceSecond } taskGroupCounts { name count } processGroups { name vmSize { name cpuCores memoryGb memoryMb priceMonth priceSecond } maxPerRegion } } }",
- "variables": {
- "appName": "definder"
- }
- }
- DEBUG {}
- DEBUG <-- 200 https://api.fly.io/graphql (267.17ms)
- DEBUG {
- "data": {
- "app": {
- "vmSize": {
- "name": "shared-cpu-1x",
- "cpuCores": 1.0,
- "memoryGb": 0.25,
- "memoryMb": 256,
- "priceMonth": 1.94,
- "priceSecond": 7.5e-07
- },
- "taskGroupCounts": [
- {
- "name": "app",
- "count": 1
- }
- ],
- "processGroups": [
- {
- "name": "app",
- "vmSize": {
- "name": "shared-cpu-1x",
- "cpuCores": 1.0,
- "memoryGb": 0.25,
- "memoryMb": 256,
- "priceMonth": 1.94,
- "priceSecond": 7.5e-07
- },
- "maxPerRegion": 0
- }
- ]
- }
- }
- }
- DEBUG --> GET https://api.machines.dev/v1/apps/definder/machines
- DEBUG <-- 200 https://api.machines.dev/v1/apps/definder/machines (680.18ms)
- DEBUG []
- This migration process will do the following, in order:
- * Lock your application, preventing changes during the migration
- * Remove legacy VMs
- * Remove 1 alloc
- * NOTE: Because your app uses volumes, there will be a short downtime during migration while your machines start up.
- * Create clones of each volume in use, for the new machines
- * These cloned volumes will have the same name but different id
- * Please note that your old volumes will not be removed.
- (you can do this manually, after making sure the migration was a success)
- * Create machines, copying the configuration of each existing VM
- * Create 1 "app" machine
- * Set the application platform version to "machines"
- * Unlock your application
- * Overwrite the config file at '/Users/harshjain/BACKUP/gearbox/terraform/fly/definder/fly.toml'
- ? Would you like to continue? Yes
- ==> Migrating definder to the V2 platform
- > Locking app to prevent changes during the migration
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "\n# @genqlient\nmutation LockApp ($input: LockAppInput!) {\n\tlockApp(input: $input) {\n\t\tlockId\n\t\texpiration\n\t}\n}\n",
- "variables": {
- "input": {
- "appId": "definder",
- "clientMutationId": ""
- }
- },
- "operationName": "LockApp"
- }
- DEBUG {0x14000dc4690}
- DEBUG <-- 200 https://api.fly.io/graphql (508.94ms)
- DEBUG {
- "data": {
- "lockApp": {
- "lockId": "f95ba8a1",
- "expiration": "2023-08-18T23:39:49Z"
- }
- }
- }
- > Making snapshots of volumes for the new machines
- DEBUG --> POST https://api.machines.dev/v1/apps/definder/volumes
- DEBUG {
- "name": "volume_definder",
- "region": "",
- "size_gb": null,
- "encrypted": null,
- "require_unique_zone": null,
- "machines_only": true,
- "snapshot_id": null,
- "source_volume_id": "vol_1q85vg3ynqprzdxe",
- "compute": null
- }
- DEBUG {0x14000f4cb10}
- DEBUG <-- 504 https://api.machines.dev/v1/apps/definder/volumes (1m1.2s)
- DEBUG upstream request timeout
- failed while migrating: failed to create volume: request returned non-2xx status, 504
- ? Would you like to enter interactive troubleshooting mode? If not, the migration will be rolled back. Yes
- DEBUG --> POST https://api.fly.io/graphql
- DEBUG {
- "query": "query ($appName: String!) { appcompact:app(name: $appName) { id name hostname deployed status appUrl platformVersion organization { id slug paidPlan } postgresAppRole: role { name } imageDetails { repository version } } }",
- "variables": {
- "appName": "definder"
- }
- }
- DEBUG {}
- DEBUG <-- 200 https://api.fly.io/graphql (519.7ms)
- DEBUG {
- "data": {
- "appcompact": {
- "id": "definder",
- "name": "definder",
- "hostname": "definder.fly.dev",
- "deployed": true,
- "appUrl": "https://2a09:8280:1::24:25e8",
- "platformVersion": "nomad",
- "organization": {
- "id": "m8Y4w6lakLYJ3IxRnJ48ML6Bb8U75P4kk",
- "slug": "personal",
- "paidPlan": false
- },
- "postgresAppRole": null,
- "imageDetails": {
- "repository": "definder",
- "version": null
- },
- "status": "running"
- }
- }
- }
- failed while troubleshooting: failed to create volume: request returned non-2xx status, 504
- DEBUG Task manager done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement