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 1343201 - [snap14] katello-backup fails to execute - syntax error
Summary: [snap14] katello-backup fails to execute - syntax error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Backup & Restore
Version: 6.2.0
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: Unspecified
Assignee: Christine Fouant
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks: 170292 1277626
TreeView+ depends on / blocked
 
Reported: 2016-06-06 18:45 UTC by Mike McCune
Modified: 2024-06-13 20:42 UTC (History)
7 users (show)

Fixed In Version: katello-3.0.0.8-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:05:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14784 0 None None None 2016-06-27 13:53:01 UTC

Description Mike McCune 2016-06-06 18:45:59 UTC
Running results in syntax error:

/usr/bin/katello-backup
/usr/bin/katello-backup:114: syntax error, unexpected end-of-input, expecting keyword_end

# rpm -qf /usr/bin/katello-backup
katello-common-3.0.0-6.el7sat.noarch

Comment 3 Christine Fouant 2016-06-07 18:10:21 UTC
Fixed by https://github.com/Katello/katello-packaging/pull/209

Comment 4 jcallaha 2016-07-06 17:53:50 UTC
Verified in Satellite 6.2 Beta Snap 19.

katello-backup now works as expected.

Comment 5 jcallaha 2016-07-07 19:40:01 UTC
Failed QA in Satellite 6.2 Beta Snap 19.

This was erroneously marked as verified due to a manual modification of the script. Upon further review, this is not yet fixed in Snap 19.

Comment 6 Brad Buckingham 2016-07-07 19:48:31 UTC
Adding external tracker to the downstream MR that resolved the syntax error.

Comment 7 jcallaha 2016-07-08 19:41:07 UTC
Verified in Satellite 6.2 Beta Snap 19.1.

After a fresh install, the script works perfectly fine.

Comment 8 Bryan Kearney 2016-07-27 11:05:00 UTC
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://access.redhat.com/errata/RHBA-2016:1501


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