Bug 2070999 - Fail to import contents when the connected and disconnected Satellite have different product labels for the same product
Summary: Fail to import contents when the connected and disconnected Satellite have di...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: 6.10.5
Assignee: satellite6-bugs
QA Contact: Radek Mynar
URL:
Whiteboard:
: 2068082 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-01 14:29 UTC by Brad Buckingham
Modified: 2023-09-15 01:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2041701
Environment:
Last Closed: 2022-05-04 12:59:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34501 0 High Closed Fail to import contents when the connected and disconnected servers have different product labels for the same product 2022-04-01 14:29:36 UTC
Red Hat Product Errata RHSA-2022:1708 0 None None None 2022-05-04 12:59:24 UTC

Comment 3 Radek Mynar 2022-04-25 16:14:39 UTC
I created Export and Import organizations, imported manifest, synced RH Repository (Red Hat Satellite Capsule 6.10 for RHEL 7 Server RPMs x86_64) and prepared an export
Then launched following command in 'foreman-rake console' (organization_id: 4 is id of my import org):
 prod = Katello::Product.where(label: 'Red_Hat_Satellite_Capsule', organization_id: 4).first
 prod.update_attribute(:label, prod.label + "-updated")
After that i performed the import successfully.

I also checked presence of "cp_id" in metadata.json.

When label is changed, then import from older Satellite (without this fix and without cp_id in metadata.json) is not possible. Import of data without 'cp_id' is possible when label does not differ.

VERIFIED with Satellite 6.10.5 SNAP2.0

Comment 8 errata-xmlrpc 2022-05-04 12:59:13 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 (Important: Satellite 6.10.5 Async Bug Fix 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/RHSA-2022:1708

Comment 9 Partha Aji 2022-05-11 21:20:37 UTC
*** Bug 2068082 has been marked as a duplicate of this bug. ***

Comment 10 Vedashree Deshpande 2022-05-19 13:43:13 UTC
Hello, 

My customer is on 6.10.5 and still facing this issue.

Comment 11 Red Hat Bugzilla 2023-09-15 01:53:32 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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