Bug 2227854 - [RFE] Allow to export Docker images from content views or as repository as part ISS
Summary: [RFE] Allow to export Docker images from content views or as repository as pa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.12.5
Assignee: Partha Aji
QA Contact: Vladimír Sedmík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-31 17:55 UTC by Odilon Sousa
Modified: 2023-08-24 18:24 UTC (History)
3 users (show)

Fixed In Version: tfm-rubygem-katello-4.5.0.34-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-24 18:24:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35247 0 Normal Closed [RFE] Allow to export Docker images from content views or as repository as part ISS 2023-07-31 17:56:16 UTC
Red Hat Bugzilla 1650468 0 medium CLOSED [RFE] Allow to export Docker images from content views or as repository as part ISS 2023-12-15 16:13:48 UTC
Red Hat Issue Tracker SAT-19296 0 None None None 2023-08-01 08:30:12 UTC
Red Hat Product Errata RHBA-2023:4749 0 None None None 2023-08-24 18:24:46 UTC

Description Odilon Sousa 2023-07-31 17:55:36 UTC
Description of problem:

Docker images can not be exported from satellite either as repository or as part of CV to be used in disconnected satellite.

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

How reproducible:

1. Create a custom product & create repository of docker type.
2. Sync the repository.
3. Export the docker images as repository gives below error. 

++++++++++++++++++++++++++++++++++++++++++++++++++++++
 [root@satellite ~]#  hammer repository export --id  2
Could not export the repository:
  Repository content type must be 'yum' to export.  
++++++++++++++++++++++++++++++++++++++++++++++++++++++

4. Export it as part of CV gives below error. 

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@vm249-255 ~]# hammer content-view version export --id 2
[.........................................................................................................................................] [100%]
Error: No such file or directory @ rb_file_s_stat - /var/lib/pulp/published/yum/master/group_export_distributor/RedOrg-opencv-v1.0
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Steps to Reproduce:

1. Create a custom product & create repository of docker type.
2. Sync the repository.
3. Export the docker images as repository gives below error. 
4. Export it as part of CV gives below error. 

Actual results:

Export as repository or part of CV fails with error. 

++++++++++++++++++++++++++++++++++++++++++++++++++++++
 [root@satellite ~]#  hammer repository export --id  2
Could not export the repository:
  Repository content type must be 'yum' to export.  
++++++++++++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@vm249-255 ~]# hammer content-view version export --id 2
[.........................................................................................................................................] [100%]
Error: No such file or directory @ rb_file_s_stat - /var/lib/pulp/published/yum/master/group_export_distributor/RedOrg-opencv-v1.0
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 

Expected results:
Docker images should be exported either as repository or as Part of CV

Additional info:

Same behaviour has been observed in 

satellite 6.3
satellite 6.4

Comment 1 Bryan Kearney 2023-07-31 20:03:32 UTC
Upstream bug assigned to paji

Comment 2 Bryan Kearney 2023-07-31 20:03:34 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35247 has been resolved.

Comment 6 Vladimír Sedmík 2023-08-08 07:17:27 UTC
Verified in 6.12.5 snap 2 by automation - the tests passed locally and in PRT, cherry-picked to 6.12.z

Comment 11 errata-xmlrpc 2023-08-24 18:24:35 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 (Satellite 6.12.5 Async 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-2023:4749


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