Problem
During E2E testing, we waited for VM installation to complete without clear visibility into progress. This made troubleshooting difficult.
Proposed Solutions
1. Serial Console Logging
Add a log capture option that tails the VM's serial console to a file:
virsh console --force moltdown-test > /var/log/moltdown/moltdown-test-install.log 2>&1 &
2. Standard Log Location
Create /var/log/moltdown/ or ~/.moltdown/logs/ for all moltdown operations:
- VM installation logs
- Bootstrap script logs
- Snapshot operation logs
3. Progress Indicators
- Add
--verbose flag to virt_install_agent_vm.sh
- Show estimated time remaining
- Parse console output for key installation milestones
4. Health Check Script
Create a script that monitors installation progress:
./monitor_install.sh moltdown-test
# Shows: [5/8] Installing packages...
# Shows: Estimated: 3 min remaining
Related
Found during E2E testing - #9
Problem
During E2E testing, we waited for VM installation to complete without clear visibility into progress. This made troubleshooting difficult.
Proposed Solutions
1. Serial Console Logging
Add a log capture option that tails the VM's serial console to a file:
2. Standard Log Location
Create
/var/log/moltdown/or~/.moltdown/logs/for all moltdown operations:3. Progress Indicators
--verboseflag to virt_install_agent_vm.sh4. Health Check Script
Create a script that monitors installation progress:
Related
Found during E2E testing - #9