Bug 1650468 - [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: All
OS: All
medium
medium
Target Milestone: 6.13.0
Assignee: Partha Aji
QA Contact: Vladimír Sedmík
URL:
Whiteboard:
: 1467876 1953128 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-16 09:23 UTC by Avijit Roy
Modified: 2023-12-15 16:13 UTC (History)
15 users (show)

Fixed In Version: rubygem-katello-4.7.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2227851 (view as bug list)
Environment:
Last Closed: 2023-05-03 13:20:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
RHEL 8 Hotfix RPM for Satellite 6.12.4 (10.34 MB, application/x-rpm)
2023-06-07 21:19 UTC, Ian Ballou
no flags Details


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 2022-09-08 13:09:42 UTC
Red Hat Issue Tracker SAT-14102 0 None None None 2022-12-08 15:50:51 UTC
Red Hat Issue Tracker SAT-14672 0 None None None 2023-05-11 09:46:51 UTC
Red Hat Issue Tracker SAT-18120 0 None None None 2023-06-07 21:25:38 UTC
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:20:49 UTC

Internal Links: 2227854

Description Avijit Roy 2018-11-16 09:23:06 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 5 Eric Helms 2018-11-28 20:55:14 UTC
*** Bug 1467876 has been marked as a duplicate of this bug. ***

Comment 13 Partha Aji 2022-07-14 19:00:26 UTC
*** Bug 1953128 has been marked as a duplicate of this bug. ***

Comment 14 Partha Aji 2022-07-20 02:57:00 UTC
Connecting redmine issue https://projects.theforeman.org/issues/35247 from this bug

Comment 15 Bryan Kearney 2022-07-20 08:01:02 UTC
Upstream bug assigned to paji

Comment 16 Bryan Kearney 2022-07-20 08:01:05 UTC
Upstream bug assigned to paji

Comment 17 Bryan Kearney 2022-08-20 08:01:05 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35247 has been resolved.

Comment 19 Mahmoud Fadaly 2022-09-05 17:40:56 UTC
Hi 

I faced this issue during importing and exporting between two satellites 
Unfortunately I stuck in moving container images for OSP deployment.

What's the work around for this issue 

Any idea!


Regards
Mahmoud Fadaly

Comment 27 errata-xmlrpc 2023-05-03 13:20:29 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.13 Release), 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-2023:2097

Comment 28 Ian Ballou 2023-06-07 21:19:09 UTC
Created attachment 1969608 [details]
RHEL 8 Hotfix RPM for Satellite 6.12.4

A Hotfix RPM is available for this BZ for Satellite 6.12.4 on RHEL8


INSTALL INSTRUCTIONS (Satellite 6.12.4 on RHEL8):

1. Take a complete backup or snapshot of Satellite 6.12.4 server

2. Dowload the Hotfix RPM from the attachment: rubygem-katello-4.5.0.33-1.HOTFIXRHBZ1650468.el8sat.noarch.rpm

3. # dnf localinstall ./rubygem-katello-4.5.0.33-1.HOTFIXRHBZ1650468.el8sat.noarch.rpm --disableplugin=foreman-protector

4. # satellite-maintain service restart


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