jnb
which is listed in flyctl platform regions
won’t run a Machine app.
LOG_LEVEL=debug flyctl m clone d5683061b4158e --config fly.machines.toml --name udns-jnb --region jnb
debug logs:DEBUG ensured config directory exists.
DEBUG ensured config directory perms.
DEBUG cache loaded.
DEBUG config initialized.
DEBUG initialized task manager.
DEBUG skipped querying for new release
DEBUG client initialized.
DEBUG --> POST https://api.fly.io/graphql
{
"query": "query ($appName: String!) { appbasic:app(name: $appName) { id name platformVersion organization { id slug } } }",
"variables": {
"appName": "udns"
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (460.71ms)
{
"data": {
"appbasic": {
"id": "udns",
"name": "udns",
"platformVersion": "machines",
"organization": {
"id": "ekQlpPKZYvQjGH4o4ge0Y82e0Oh8m5",
"slug": "celzero"
}
}
}
}
DEBUG app config loaded from fly.machines.toml
DEBUG --> POST https://api.fly.io/graphql
{
"query": "query ($appName: String!) { appcompact:app(name: $appName) { id name hostname deployed status appUrl platformVersion organization { id slug } postgresAppRole: role { name } imageDetails { repository version } } }",
"variables": {
"appName": "udns"
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (296.4ms)
{
"data": {
"appcompact": {
"id": "udns",
"name": "udns",
"hostname": "udns.fly.dev",
"deployed": true,
"status": "deployed",
"appUrl": "https://137.66.7.89",
"platformVersion": "machines",
"organization": {
"id": "ekQlpPKZYvQjGH4o4ge0Y82e0Oh8m5",
"slug": "celzero"
},
"postgresAppRole": null,
"imageDetails": {
"repository": "unknown",
"version": "unknown"
}
}
}
}
DEBUG --> POST https://api.fly.io/graphql
{
"query": "mutation($input: ValidateWireGuardPeersInput!) { validateWireGuardPeers(input: $input) { invalidPeerIps } }",
"variables": {
"input": {
"peerIps": [
"fdaa:0:35f3:a7b:1bfe:0:a:702"
]
}
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (299.41ms)
{
"data": {
"validateWireGuardPeers": {
"invalidPeerIps": []
}
}
}
DEBUG --> GET http://[fdaa:0:35f3::3]:4280/v1/apps/udns/machines/d5683061b4158e
DEBUG <-- 200 http://[fdaa:0:35f3::3]:4280/v1/apps/udns/machines/d5683061b4158e (362ms)
{
"id": "d5683061b4158e",
"name": "udns-mia",
"state": "started",
"region": "mia",
"instance_id": "01GDY20WHN3KFJW2NFARMWZZX6",
"private_ip": "fdaa:0:35f3:a7b:2cc3:a2b6:8dce:2",
"config": {
"env": {
"CLOUD_PLATFORM": "fly",
"LOG_LEVEL": "info",
"MACHINES_TIMEOUT_SEC": "180",
"NODE_ENV": "production"
},
"init": {
"exec": null,
"entrypoint": null,
"cmd": null,
"tty": false
},
"image": "registry.fly.io/udns:deployment-01GDY1X8J9YAJY7AC7ARX5DKBA",
"metadata": {
"process_group": "app"
},
"restart": {
"policy": ""
},
"services": [
{
"protocol": "tcp",
"internal_port": 8080,
"ports": [
{
"port": 443
},
{
"port": 8080
}
],
"concurrency": {
"type": "connections",
"hard_limit": 75,
"soft_limit": 60
}
},
{
"protocol": "tcp",
"internal_port": 10000,
"ports": [
{
"port": 853
},
{
"port": 10000
}
],
"concurrency": {
"type": "connections",
"hard_limit": 75,
"soft_limit": 60
}
}
],
"guest": {
"cpu_kind": "shared",
"cpus": 1,
"memory_mb": 256
},
"metrics": null
},
"image_ref": {
"registry": "registry.fly.io",
"repository": "udns",
"tag": "deployment-01GDY1X8J9YAJY7AC7ARX5DKBA",
"digest": "sha256:9972e18c9371f08c177216a607ca995cae630cc306bc4f9282b2cb4582575a12",
"labels": {}
},
"created_at": "2022-09-18T00:49:49Z",
"updated_at": "2022-09-26T23:54:05Z",
"events": [
{
"type": "start",
"status": "started",
"source": "flyd",
"timestamp": 1664236445055
},
{
"type": "start",
"status": "starting",
"source": "user",
"timestamp": 1664236444647
},
{
"type": "exit",
"status": "stopped",
"request": {
"exit_event": {
"exit_code": 0,
"exited_at": 1664236397754,
"guest_exit_code": 0,
"guest_signal": -1,
"oom_killed": false,
"requested_stop": false,
"restarting": false,
"signal": -1
},
"restart_count": 0
},
"source": "flyd",
"timestamp": 1664236398218
},
{
"type": "start",
"status": "started",
"source": "flyd",
"timestamp": 1664236212432
},
{
"type": "start",
"status": "starting",
"source": "user",
"timestamp": 1664236212100
},
{
"type": "exit",
"status": "stopped",
"request": {
"exit_event": {
"exit_code": 0,
"exited_at": 1664236210048,
"guest_exit_code": 0,
"guest_signal": -1,
"oom_killed": false,
"requested_stop": false,
"restarting": false,
"signal": -1
},
"restart_count": 0
},
"source": "flyd",
"timestamp": 1664236210163
}
]
}
DEBUG --> POST http://[fdaa:0:35f3::3]:4280/v1/apps/udns/machines
{
"appId": "udns",
"name": "udns-jnb",
"region": "jnb",
"config": {
"env": {
"CLOUD_PLATFORM": "fly",
"LOG_LEVEL": "info",
"MACHINES_TIMEOUT_SEC": "180",
"NODE_ENV": "production"
},
"init": {
"exec": null,
"entrypoint": null,
"cmd": null,
"tty": false
},
"image": "registry.fly.io/udns:deployment-01GDY1X8J9YAJY7AC7ARX5DKBA",
"metadata": {
"process_group": "app"
},
"restart": {
"policy": ""
},
"services": [
{
"protocol": "tcp",
"internal_port": 8080,
"ports": [
{
"port": 443
},
{
"port": 8080
}
],
"concurrency": {
"type": "connections",
"hard_limit": 75,
"soft_limit": 60
}
},
{
"protocol": "tcp",
"internal_port": 10000,
"ports": [
{
"port": 853
},
{
"port": 10000
}
],
"concurrency": {
"type": "connections",
"hard_limit": 75,
"soft_limit": 60
}
}
],
"guest": {
"cpu_kind": "shared",
"cpus": 1,
"memory_mb": 256
},
"metrics": null
}
}
DEBUG {0xc000d006f0}
Error failed to launch VM: Post "http://[fdaa:0:35f3::3]:4280/v1/apps/udns/machines": EOF