Commit Graph

7 Commits

Author SHA1 Message Date
61941d50e5 Fix: Default portsNeeded to 1 for game containers
Game containers always need at least 1 port for backend connectivity to Velocity proxy. Without this default, game provisioning skips port allocation entirely, breaking EdgePublisher and Velocity registration.
2025-12-20 18:06:12 +00:00
26db484c2e Add numbered step logging for game and dev provisioning
- STEP 0: Starting provisioning (game/dev indicator)
- STEP 1: allocate VMID
- STEP 2: port allocation (or skip message if not needed)
- STEP 3: clone template
- STEP 4: configure CPU/mem/bridge/tags
- STEP 5: start container
- STEP 6: detect container IP
- STEP 7: build agent payload
- STEP 8: POST /config to agent
- STEP 9: wait for agent running via /status
- STEP 10: DB save
- STEP 11: commit ports
- STEP 12: publish edge
- Matches original provision.js logging format
2025-12-20 17:53:34 +00:00
9eb678ea25 Fix: Add port allocation and EdgePublisher integration
- Allocate ports using PortAllocationService.reserve()
- Pass ports to agent payload builders (game and dev)
- Generate proper FQDN (slotHostname) for DNS records
- Include all required fields in enqueuePublishEdge (ports, slotHostname, txnId)
- Commit ports after successful provisioning
- Rollback ports on error
- Fixes DNS record creation, Velocity registration, and EdgePublisher jobs
2025-12-20 17:47:52 +00:00
167246dfc6 Fix: Add agent provisioning progress logging
- Add step-by-step logging to waitForAgentRunning()
- Shows state, installStep, and progress updates
- Logs errors and poll failures for debugging
- Fixes invisible provisioning process issue from Dec 19 split
2025-12-20 17:33:13 +00:00
b23d982428 Provisioning split 9-19-25 2025-12-19 19:13:35 +00:00
9138add35c Initial API implementation 2025-12-13 22:30:53 +00:00
ddb85373ac Initial commit 2025-12-13 22:12:40 +00:00