Giter Site home page Giter Site logo

redhat-openstack / ansible-role-tripleo-collect-logs Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 1.0 538 KB

A role designed to collect the critical logs, configuration and artifacts from a tripleo deployment

License: Apache License 2.0

Python 34.95% Awk 65.05%

ansible-role-tripleo-collect-logs's People

Contributors

adarazs avatar arxcruz avatar dmsimard avatar frac avatar harryrybacki avatar matbu avatar rlandy avatar sshnaidm avatar strider avatar tosky avatar weshayutin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

spredzy

ansible-role-tripleo-collect-logs's Issues

index.rst.j2 has recursive lookup

During the last refactor of index.rst.j2, a recursive lookup was left in the toctree. Subsequently, calls to sphinx-build are failing:

Making output directory...
Running Sphinx v1.2.3
loading pickled environment... not yet created
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed

<snip>

looking for now-outdated files... 
Exception occurred:
  File "/home/hrybacki/.quickstart/lib/python2.7/site-packages/docutils/nodes.py", line 566, in __getitem__
    if isinstance(key, basestring):
RuntimeError: maximum recursion depth exceeded while calling a Python object

Add ability to collect logs from multiple hosts - including the virthost

For documentation generation, files are collected from the undercloud.
However, there are files on the virthost (for example: used to prepare the virthost for PXE forwarding, in the case of a virt undercloud and baremetal overcoud) that are not captured by collect logs now.

In order to include those files in the documentation, we have to manually copy over the files to the undercloud prior to running the generation.

Add the ability to generate sosreports on all the hosts

While hitting bug and race conditions it would be really useful preparing sosreports on all the involved hosts.
Even if the bug will be manually opened, having already the sosreports loaded somewhere will shorten the time for having a complete bugreport.

Extensibility of the list of collected files

The list of collected files is specified using the the "artcl_collect_list:" list. The default value is part of defaults, but this means that it will be overridden and every user which wants to change the list need to retype the base default values.
It should be easier to extend the default list. I'm not sure which is the best way (vars with default? Change the name of the variable for the list, and always add to the the default list - unless the user overrides the new default)?

be able to add yaml or support files

if I do a command like

` openstack overcloud deploy --templates tripleo-heat-templates
-e ~/network-environment.yaml

I would like to add the contents of network-environment.yaml to the documentation

how do I submit patches for this project?

when trying to use git review for this project I get

$ git review -t name_cleanup
Creating a git remote called "gerrit" that maps to:
ssh://[email protected]:29418/redhat-openstack/ansible-role-tripleo-collect-logs.git
remote: Processing changes: refs: 1, done
To ssh://review.gerrithub.io:29418/redhat-openstack/ansible-role-tripleo-collect-logs.git
! [remote rejected] HEAD -> refs/publish/master/name_cleanup (project is read only)
error: failed to push some refs to 'ssh://[email protected]:29418/redhat-openstack/ansible-role-tripleo-collect-logs.git'

I don't see anything in README for how to contribute to this project

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.