Bug 495934

Summary: Need to grab cobbler stuff in sos
Product: Red Hat Enterprise Linux 5 Reporter: Justin Sherrill <jsherril>
Component: sosAssignee: Adam Stokes <astokes>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: agk, ahecox, azelinka, bmr
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 495928 Environment:
Last Closed: 2010-03-30 08:07:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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