Go to file
wes hayutin e72cd9f92f Revert "Integrate tripleo-documentor into tripleo-collect-logs"
This reverts commit f327a66532.

Change-Id: Id3315607a64010cd4523c95f29ccbfea6ad00c43
2016-09-13 21:25:54 -04:00
2016-04-19 14:37:21 -04:00
2016-04-19 14:37:21 -04:00
2016-04-19 14:37:21 -04:00
2016-04-19 14:37:21 -04:00
2016-04-20 10:51:42 -04:00
2016-04-20 10:12:31 -04:00
2016-06-16 18:43:24 +03:00
2016-04-20 10:51:42 -04:00

ansible-role-tripleo-collect-logs

An Ansible role for aggregating logs from TripleO nodes.

Requirements

This role gathers logs and debug information from a target system and gathers the log in a designated directory on the localhost.

The role also takes care of uploading these logs to an rsync server.

Role Variables

  • artcl_collect_list -- A list of files and directories to gather from the target. Directories are collected recursively. Can include joker characters that bash understands. Should be specified as a YaML list, e.g.:
artcl_collect_list:
    - /etc/nova
    - /home/stack/*.log
    - /var/log
  • artcl_collect_dir -- a local directory where the logs should be gathered, without a trailing slash.
  • artcl_gzip_only: false/true -- When true, gathered files are gzipped one by one in artcl_collect_dir, when false, a tar.gz file will contain all the logs.
  • artcl_publish: true/false -- If true, the role will attempt to rsync logs to the target specified by artcl_rsync_url. Uses BUILD_URL, BUILD_TAG vars from the environment (set during a Jenkins job run) and requires the next to variables to be set.
  • artcl_rsync_url -- rsync target for uploading the logs. The localhost needs to have passwordless authentication to the target or the PROVISIONER_KEY var specificed in the environment.
  • artcl_artifact_url -- a HTTP URL at which the uploaded logs will be accessible after upload.

Example Playbook

---
- name: Gather logs
  hosts: all:!localhost
  roles:
    - tripleo-collect-logs

License

Apache 2.0

Author Information

RDO-CI Team

Description
RETIRED, A set of tools for testing all the HA bits of a TripleO environment
Readme 2.1 MiB