Commit Graph

10 Commits

Author SHA1 Message Date
Andreas Jaeger 08db3ad05f Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I37b6a82c9c3c3893bb4b9b6a4c4b5a83a6d8193c
2019-12-18 09:50:01 +01:00
Vladimir Khlyunev 2faf58fc82 Fix "wrap functions with 2 blank lines" pep8 check
Now gates are requires this pep8 rule as mandatory so until it'll be
fixed merge is blocked.

Change-Id: I0072536f3404b36135be43a59b801fe5db13413b
2016-11-16 11:17:10 +00:00
zhangyanxian 7422492bff Fix a typo in fuel_logs.py
TrivialFix

Change-Id: I65b0dc05f815c0949a611ff23f62b16a06b48969
2016-09-21 03:06:52 +00:00
Dmitry Ilyin b89dba93c7 Output log file names when printing parsed lines
Change-Id: Ic4d2346f15e9bb3520648231c6ac465157f81a6b
2016-04-06 08:24:04 +00:00
Dmitry Ilyin db5d0b4c9c Update fuel logs script
* Fix broken node name generation from log name
* Move log names to constants
* Rework logging
* Disable astute log parsing by default,
  it's useless anyway

Change-Id: I41e05951a3816ccf9e9dfb1a9e297527f185a341
2016-03-24 18:31:04 +00:00
Alexey Stepanov 08b5af4bf5 Replace % formatting by str.format method
Change: %s by {:s}, %d by {:d} in string and use .format method for formatting
Closes-bug: #1552139

Change-Id: Ic9bdf9200fa89fa7c78f2806a7b94e3eee914cf9
2016-03-03 10:45:20 +03:00
penguinolog 2c7951055b Fix mass mistypes at english verbs
Fix mistypes at commentaries, log outputs and LOCAL variables

Change-Id: I1fb8eb4ae10be5c2f174336d3a8f124e61da5954
Closes-Bug: #1513777
2015-11-19 11:26:18 +03:00
Dmitry Ilyin 1c937ba920 Add 'full' option to fuel_logs
* Print the entire log without any filters

Change-Id: I7b6f25044c4f271d679c9f13f8eecda8f7debb9a
2015-04-13 12:17:42 +03:00
Dennis Dmitriev 587cd6e418 Use python3 for fuel_logs.py to support XZ compression for tarfile
- set python3 as an interpretator
- add '.decode()' to convert strings from 'binary' mode for python3

Change-Id: I92fe5fcee471af44e2c0bad3bf437480f12df703
Closes-Bug: #1439135
2015-04-01 14:25:27 +03:00
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