provisioning-code/data/tasks/687e02f2-23ec-497f-aead-93d792afa18d.json

16 lines
No EOL
3.6 KiB
JSON

{
"id": "687e02f2-23ec-497f-aead-93d792afa18d",
"name": "execute_servers_script_sgoyol-1",
"command": "bash",
"args": [
"-c",
"base64 -d < /tmp/orchestrator_script_687e02f2-23ec-497f-aead-93d792afa18d.tar.gz.b64 | gunzip | tar -xOf - script.sh | bash +x"
],
"dependencies": [],
"status": "Completed",
"created_at": "2026-04-14T05:09:27.929912Z",
"started_at": null,
"completed_at": "2026-04-14T05:10:51.380898Z",
"output": "✓ Prerequisites: HCLOUD_TOKEN set, hcloud CLI available\n\n=== Managing SSH Keys ===\n✓ SSH public key found: /Users/jesusperezlorenzo/.ssh/htz_ops.pub\nChecking if SSH key 'htz_ops' exists in Hetzner...\n✓ SSH key htz_ops already exists with ID: 106168627\n\n=== SSH Key Management Complete ===\nSSH_KEY_ID: 106168627\nSSH_KEY_NAME: htz_ops\nEnvironment exported to: /tmp/provisioning-librecloud-20260414-061009/.env\n\n=== Managing Network ===\n✓ Network config validated: 10.0.8.0/22 with subnet 10.0.8.0/22 in zone eu-central\nChecking if network 'wuwei' exists...\n✓ Network 'wuwei' already exists with ID: 11875940\n Subnet 10.0.8.0/22 missing — adding to network wuwei...\n ✗ Failed to add subnet (check manually)\n\n=== Network Management Complete ===\nNETWORK_ID: 11875940\nNETWORK_NAME: wuwei\nEnvironment exported to: /tmp/provisioning-librecloud-20260414-061009/.env\n\u001b[0;34m[INFO]\u001b[0m Step 1/3: Checking server 'sgoyol-1'...\n\u001b[1;33m[WARN]\u001b[0m Server 'sgoyol-1' already exists\n\u001b[0;32m[✓]\u001b[0m Using existing server: ID=126915437\n\u001b[0;34m[INFO]\u001b[0m Attach attempt 1/6 failed: hcloud: no subnet or IP available (no_subnet_available, ea6c8ca0729e2d2b3631ebebd8e2ca35) — retrying in 5s...\n\u001b[0;34m[INFO]\u001b[0m Attach attempt 2/6 failed: hcloud: no subnet or IP available (no_subnet_available, 3bd051d6157b5580ad9d744f5709a997) — retrying in 5s...\n\u001b[0;34m[INFO]\u001b[0m Attach attempt 3/6 failed: hcloud: no subnet or IP available (no_subnet_available, d3013641c3b0c48e04ad75696632ce7b) — retrying in 5s...\n\u001b[0;34m[INFO]\u001b[0m Attach attempt 4/6 failed: hcloud: no subnet or IP available (no_subnet_available, c5353353920e2b370054ddce6e1d5049) — retrying in 5s...\n\u001b[0;34m[INFO]\u001b[0m Attach attempt 5/6 failed: hcloud: no subnet or IP available (no_subnet_available, 94f8316d04a27be1dd224b02329e9503) — retrying in 5s...\n\u001b[0;34m[INFO]\u001b[0m Attach attempt 6/6 failed: hcloud: no subnet or IP available (no_subnet_available, fcebdf79f7907b09c39c793277893f17) — retrying in 5s...\n\u001b[1;33m[WARN]\u001b[0m Network attach failed after 6 attempts: hcloud: no subnet or IP available (no_subnet_available, fcebdf79f7907b09c39c793277893f17)\nResource protection enabled for Server 126915437\n\u001b[0;32m[✓]\u001b[0m Protection enabled: delete rebuild\n\u001b[0;34m[INFO]\u001b[0m Step 2/2: Attaching server to firewall 'librecloud-fw'...\n\u001b[0;32m[✓]\u001b[0m Server attached to firewall 'librecloud-fw'\n\u001b[0;34m[INFO]\u001b[0m Step 3/3: Assigning floating IP 'librecloud-fip-smtp' to 'sgoyol-1'...\nFloating IP 126584948 assigned to Server 126915437\n\u001b[0;32m[✓]\u001b[0m Assigned floating IP 'librecloud-fip-smtp' (id=126584948) → sgoyol-1 (id=126915437)\n\u001b[0;32m[✓]\u001b[0m ✓ Server provisioning complete\n\u001b[0;34m[INFO]\u001b[0m Summary:\n\u001b[0;34m[INFO]\u001b[0m • Server: sgoyol-1 (ID: 126915437)\n\u001b[0;34m[INFO]\u001b[0m • Firewall: librecloud-fw\n\u001b[0;34m[INFO]\u001b[0m • Float IP: librecloud-fip-smtp (id=126584948)\n\u001b[0;34m[INFO]\u001b[0m • Status: Ready for deployment\nNo firewalls defined — skipping firewall reconciliation\n",
"error": null
}