Bug 1331087

Summary: katello-backup - Remove irrelevant errors
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Backup & RestoreAssignee: Christine Fouant <cfouant>
Status: CLOSED DUPLICATE QA Contact: sthirugn <sthirugn>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-04 14:41:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description sthirugn@redhat.com 2016-04-27 16:40:26 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
# katello-backup .
<snip>
Backing up config files... 
tar: Removing leading `/' from member names
tar: /etc/katello: Cannot stat: No such file or directory
tar: /etc/katello-installer: Cannot stat: No such file or directory
tar: /etc/pki/content: Cannot stat: No such file or directory
tar: /etc/pki/tls/certs/katello-node.crt: Cannot stat: No such file or directory
tar: /etc/pki/tls/certs/pulp_consumers_ca.crt: Cannot stat: No such file or directory
tar: /etc/pki/tls/certs/pulp_ssl_cert.crt: Cannot stat: No such file or directory
tar: /etc/pki/tls/private/katello-node.key: Cannot stat: No such file or directory
tar: /var/lib/katello: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Done.
<snip>
**** BACKUP Complete, contents can be found in: . ****

Actual results:
There were 8 `No such file or directory` errors found

Expected results:
I am not sure about the certs part, but I think the following needs to be removed for 6.2:
tar: /etc/katello: Cannot stat: No such file or directory
tar: /etc/katello-installer: Cannot stat: No such file or directory
tar: /var/lib/katello: Cannot stat: No such file or directory

Additional info:

Comment 1 sthirugn@redhat.com 2016-04-27 16:41:16 UTC
Description of problem:
katello-backup - Remove irrelevant errors

Version-Release number of selected component (if applicable):
satellite-6.2-beta-snap-9.3

How reproducible:
Always

Comment 3 Christine Fouant 2016-05-04 14:41:13 UTC

*** This bug has been marked as a duplicate of bug 1316567 ***