Add Fuel log snapshot reporter to the Jenkins

Bug #1425126 reported by Dmitry Ilyin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Triaged
High
Aleksandra Fedorova

Bug Description

When the deployment have failed the only way to know what have happend is to download the logs snapshot and dig into the stored log files there.

This tool can be used on this snapshot archive file and it will output useful lines from puppet and astute logs inside.
https://review.openstack.org/#/c/157900/3/utils/fuel_logs/fuel_logs.py,cm

Call it like this:
python utils/fuel_logs/fuel_logs.py /home/dilyin/Downloads/fail_error_deploy_neutron_gre-2015_02_09__14_12_09.tar.gz > report.txt

And place this report text file as a Jenkins artifact together with the snapshot file.

Developers will be able to quickly open this report and see what went wrong without downloading the entire snapshot in most cases.

Tags: devops jenkins
Dmitry Ilyin (idv1985)
Changed in fuel:
assignee: nobody → Fuel DevOps (fuel-devops)
importance: Undecided → Medium
tags: added: devops jenkins
Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Dmitry Ilyin (idv1985)
status: Confirmed → In Progress
Dmitry Ilyin (idv1985)
Changed in fuel:
assignee: Dmitry Ilyin (idv1985) → Fuel DevOps (fuel-devops)
Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Dmitry Ilyin (idv1985)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Dmitry Ilyin (<email address hidden>) on branch: master
Review: https://review.openstack.org/157900
Reason: moved to fuel-qa repo

Changed in fuel:
milestone: none → 6.1
Revision history for this message
Dmitry Ilyin (idv1985) wrote :

This script have been committed into the fuel-qa repo.
Please, add it to all jenkins jobs that can produce log snapshot as an artifact. Just run the script on the downloaded snapshot and save its output as a file and an a new jenkins artifact together with the snapshot.

Changed in fuel:
assignee: Dmitry Ilyin (idv1985) → Fuel DevOps (fuel-devops)
importance: Medium → Critical
Changed in fuel:
importance: Critical → High
assignee: Fuel DevOps (fuel-devops) → Aleksandra Fedorova (afedorova)
Dmitry Ilyin (idv1985)
Changed in fuel:
status: In Progress → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.