Bug 995967 - RFE: RHOS log collector tool
RFE: RHOS log collector tool
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: sos-plugins-openstack (Show other bugs)
3.0
x86_64 Linux
medium Severity high
: z1
: 4.0
Assigned To: Alan Pevec
Udi
: FutureFeature, OtherQA, ZStream
: 1025852 (view as bug list)
Depends On: 840057 1004458
Blocks: RHOS40RFE
  Show dependency treegraph
 
Reported: 2013-08-12 01:21 EDT by Haim
Modified: 2016-04-26 14:13 EDT (History)
19 users (show)

See Also:
Fixed In Version: sos-plugins-openstack-2013.2-5.el6ost pssh-2.3.1-5.el6ost
Doc Type: Enhancement
Doc Text:
A new tool for collecting logs, called rhos-logs-collector, has been introduced. There is a knowledge base article with more information available at https://access.redhat.com/site/solutions/472743
Story Points: ---
Clone Of:
: 1033368 (view as bug list)
Environment:
Last Closed: 2014-01-23 09:21:52 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
rhos-log-collector script (2.41 KB, text/plain)
2013-11-22 10:15 EST, Alan Pevec
apevec: review?
Details

  None (edit)
Description Haim 2013-08-12 01:21:05 EDT
Description of problem:

I would like to request the following feature\functionality in RHOS:

rhos-log-collector, which is going to be a tool that will collect all needed logs and system state from all nodes in the cluster pending on the configuration. 

i.e:

in a distributed environment, tool will collect all logs from cinder, glance swift and all other components pending on their location. 

we have a similar tool in rhev which collect all logs from the engine (manager) and all hypervisors.
Comment 3 Perry Myers 2013-10-03 05:34:17 EDT
I discussed this with Lon Hohberger/Alan Pevec.  Since we are including pssh/pslurp in RHOS now (bug # 1004458), this bug could be trivially solved via a simple bash script that calls pssh with sosreport on a set of hosts defined in a text file.

I believe Lon or Alan was going to write that script to parse packstack answers file to get a list of hosts, or the user could manually generate.  It could go into the new sos-openstack-modules package where we would be storing the openstack specific sos modules.

An example of what a simple script might look like is available here:
https://bugzilla.redhat.com/show_bug.cgi?id=1004458#c0

Speaking of which, I don't see a bugzilla component for sos-openstack-modules.

Bryn, you were going to drive owning that component correct?
Comment 8 Alan Pevec 2013-11-04 11:39:47 EST
*** Bug 1025852 has been marked as a duplicate of this bug. ***
Comment 10 Alan Pevec 2013-11-22 10:15:06 EST
Created attachment 827851 [details]
rhos-log-collector script
Comment 16 Alan Pevec 2013-12-09 08:43:29 EST
Split log collector into its own subpackage so it can have explicit RPM dep on pssh.
Comment 34 Udi 2014-01-16 03:25:09 EST
Verified in:
rhos-log-collector-2013.2-5.el6ost.noarch

A new bug, 1054073, was opened regarding the message you get in the output of rhos-log-collector, which points you to find the collected logs in a directory where actually there are only the local node logs.
Comment 37 Lon Hohberger 2014-02-04 12:19:30 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2014-0046.html

Note You need to log in before you can comment on or make changes to this bug.