Bug 495934 - Need to grab cobbler stuff in sos
Summary: Need to grab cobbler stuff in sos
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sos
Version: 5.5
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Adam Stokes
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-15 15:48 UTC by Justin Sherrill
Modified: 2012-11-02 18:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 495928
Environment:
Last Closed: 2010-03-30 08:07:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0201 0 normal SHIPPED_LIVE sosreport bug fix and enhancement update 2010-03-29 12:26:44 UTC

Description Justin Sherrill 2009-04-15 15:48:57 UTC
With satellite 5.3 we will start using cobbler, and it would be nice to grab the cobbler stuff as well if we add a '--satellite' feature to sos.


+++ This bug was initially created as a clone of Bug #495928 +++

Since we're using cobbler now, we need to grab:

/etc/cobbler
/var/log/cobbler
/var/lib/rhn/kickstarts 
/var/lib/cobbler/snippits
/var/lib/cobbler/config
/var/lib/cobbler/kickstarts
/var/lib/cobbler/triggers

make sure we grab the cobbler httpd config files as well.

Comment 1 Adam Stokes 2009-09-08 15:28:20 UTC
import sos.plugintools
import os

class cobbler(sos.plugintools.PluginBase):
    """cobbler related information
    """
    def checkenabled(self):
        if self.isInstalled("cobbler"):
            return True
        return False

    def setup(self):
        self.addCopySpec("/etc/cobbler")
        self.addCopySpec("/var/log/cobbler")
        self.addCopySpec("/var/lib/rhn/kickstarts") 
        self.addCopySpec("/var/lib/cobbler")
        return


What httpd files should I capture?

Thanks,
Adam

Comment 2 Justin Sherrill 2009-09-28 15:10:14 UTC
So generally the http files that we'd want to capture should already be captured by the --satellite sos option (if/when we have one):

/etc/httpd/conf.d/*
/etc/httpd/conf/httpd.conf
/var/log/http/*

Justin

Comment 7 errata-xmlrpc 2010-03-30 08:07:50 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0201.html


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