RETIRED, Fuel tests
Go to file
Dmitry Ilyin ac6dc53141 Add fuel_logs tool
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
2015-03-05 17:35:57 +03:00
fuelweb_test Merge "Add ceilometer system test for vcenter environment" 2015-02-26 13:04:23 +00:00
utils/jenkins Add fuel_logs tool 2015-03-05 17:35:57 +03:00
.gitreview Add .gitreview 2015-02-06 16:13:38 +02:00
README.md System tests movement from fuel-main 2015-02-06 11:44:08 +02:00
run_tests.sh System tests movement from fuel-main 2015-02-06 11:44:08 +02:00

README.md

Tests documentation

Devops documentation

For 'make iso'

Building ISO documentation