ac6dc53141
This tool can extract the useful lines from Astute and Puppet logs within the Fuel log snapshot or on the live Fuel master node. usage: fuel_logs [-h] [--astute] [--puppet] [--clear] [--sort] [--evals] [--mcagent] [--less] [SNAPSHOT [SNAPSHOT ...]] positional arguments: SNAPSHOT Take logs from these snapshots optional arguments: -h, --help show this help message and exit --astute, -a Parse Astute log --puppet, -p Parse Puppet logs --clear, -c Clear the logs on the master node --sort, -s Sort Puppet logs by date --evals, -e Show Puppet evaltrace lines --mcagent, -m Show Astute MCAgent calls debug --less, -l Redirect data to the "less" pager Using anywhere to view Fuel snapshot data: fuel_logs.py fail_error_deploy_ha_vlan-2015_02_20__20_35_18.tar.gz Using on the live Fuel Master node: fuel_logs.py -a View the current Astute log fuel_logs.py -p View the current Puppet logs Using without -a and -p options assumes both options fuel_logs.py -c Truncates Astute and Puppet logs. Respects -a and -p options. It you are running and debugging many deployments on a single master node you may want to truncate the logs from the previous deployments. Using -l option is aslo recomended for interactive use. Fuel-CI: disable Change-Id: Id6985625c07bd4751cdb214fba8ed4f9243f3591 |
||
---|---|---|
fuelweb_test | ||
utils/jenkins | ||
.gitreview | ||
README.md | ||
run_tests.sh |