RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 2115958 - rsync OUTPUT_URL not respected when BACKUP=RSYNC
Summary: rsync OUTPUT_URL not respected when BACKUP=RSYNC
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rear
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.1
Assignee: Pavel Cahyna
QA Contact: David Jež
Šárka Jana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-05 19:56 UTC by Pavel Cahyna
Modified: 2022-11-15 11:48 UTC (History)
2 users (show)

Fixed In Version: rear-2.6-13.el9
Doc Type: Bug Fix
Doc Text:
.ReaR with the PXE output method no longer fails to store the output files in the rsync `OUTPUT_URL` location Previously, the handling of the `OUTPUT_URL` variable with the `OUTPUT=PXE` and `BACKUP=RSYNC` options was removed. As a consequence, when using an rsync location for `OUTPUT_URL`, ReaR failed to copy the `initrd` and kernel files to this location, although it uploaded them to the location specified by `BACKUP_URL`. With this update, the behavior from RHEL 8.4 and earlier releases is restored. ReaR creates the required files at the designated `OUTPUT_URL` destination using rsync.
Clone Of:
Environment:
Last Closed: 2022-11-15 10:42:27 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rear rear pull 2831 0 None Merged Refactor rsync URL support, fixes rsync OUTPUT_URL 2022-08-05 19:56:47 UTC
Red Hat Issue Tracker RHELPLAN-130420 0 None None None 2022-08-05 19:57:46 UTC
Red Hat Product Errata RHBA-2022:8246 0 None None None 2022-11-15 10:42:43 UTC

Description Pavel Cahyna 2022-08-05 19:56:47 UTC
Description of problem:

If BACKUP=RSYNC, the output files are copied by the backup-specific code to BACKUP_URL in addition to OUTPUT_URL, and if OUTPUT_URL is a rsync URL, it is effectively ignored (only BACKUP_URL is used).

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

2.6

How reproducible:

mkrescue with appropriate settings

Steps to Reproduce:
1. set BACKUP=RSYNC OUTPUT_URL=user@host:/path/rsync/output OUTPUT_URL=user@host:/path/rsync/backup
2. run rear mkrescue

Actual results:

The output file rear-$(hostname -s).iso is not found under /path/rsync/output on host, it is under /path/rsync/backup

Expected results:

The output file rear-$(hostname -s).iso is found under /path/rsync/output on host and not /path/rsync/backup

Additional info:

This is a more comprehensive change than bz2115918 since it does not concern just OUTPUT=PXE. The use of rsync OUTPUT_URL for OUTPUT=PXE reported in bz2115918 was a special case and incompatible with other uses of rsync URLs (it was the old-style rsync URL).

Comment 10 errata-xmlrpc 2022-11-15 10:42:27 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 (rear bug fix and enhancement update), 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-2022:8246


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