Deployment Troubleshooting
Common deployment issues and their solutions.
Installation fails
Docker not running
Symptom: Installation script exits with Docker-related errors.
Fix:
bash
sudo systemctl start docker
sudo systemctl enable dockerInsufficient disk space
Symptom: Template creation or sandbox creation fails with disk errors.
Fix: Check available disk space:
bash
df -h /dataEnsure at least 50 GB free. If using XFS, verify reflink support:
bash
xfs_info /data | grep reflinkKVM not available
Symptom: Sandbox creation fails with KVM-related errors.
Fix: Verify KVM is available:
bash
ls -la /dev/kvmIf not available, use PVM deployment instead. See Quick Start.
Service startup failures
Cubelet fails to start
Check logs:
bash
sudo journalctl -u cube-sandbox-cubelet.service -n 200Common causes:
- Network agent not ready: restart network-agent first
- Storage path not mounted: verify
/data/cubeletexists and is XFS - Config syntax error: validate
config.toml
CubeProxy fails to start
Check logs:
bash
sudo journalctl -u cube-sandbox-cube-proxy.service -n 200Common causes:
- Redis not ready: check
cube-sandbox-redis.service - Port conflict: another process using port 80 or 443
Sandbox creation fails
Template not ready
Symptom: Sandbox creation returns template-related errors.
Fix: Check template status:
bash
cubemastercli tpl listWait for template status to become READY.
Network timeout
Symptom: Sandbox creation times out.
Fix: Check if sandbox CIDR overlaps with host LAN. See CIDR Conflict Troubleshooting.