Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1387785 - katello-restore fails when backup created with --skip-pulp-content
Summary: katello-restore fails when backup created with --skip-pulp-content
Keywords:
Status: CLOSED DUPLICATE of bug 1389814
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Backup & Restore
Version: 6.2.2
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Christine Fouant
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-21 21:44 UTC by Kev
Modified: 2016-11-07 18:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-31 19:10:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kev 2016-10-21 21:44:58 UTC
Description of problem:
katello-restore gives error:
**** Given directory does not include pulp content ****
**** Please choose a backup that contains pulp content ****


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


How reproducible:
perform a backup using --skip-pulp-content, then restore following the documentation.

Steps to Reproduce:
1.    katello-backup --skip-pulp-content /backup/

2.    katello-restore /backup/



Actual results:
**** Given directory does not include pulp content ****
**** Please choose a backup that contains pulp content ****
Usage: katello-restore /path/to/dir [options]
 eg: $ katello-restore /tmp/katello-backup
    -y, --assumeyes                  Answer yes for all questions




Expected results:
successful restore without errors



Additional info:
the undocumented fix is to manually create a file in the backup directory called pulp_data.tar to trick the restore into seeing the backup as an acceptable full restore.  An error is given, due to the corrupt pulp_data.tar file, but the restore successfully restores DB info that was backed up.

Comment 2 Brad Buckingham 2016-10-31 19:10:12 UTC
Closing this as a duplicate of 1389814.  This one is older; however, given that the other is currently tracking a higher PM score, I'd like to keep it to ensure quicker resolution.

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


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