DescriptionGary Scarborough
2022-03-30 18:01:59 UTC
Description of problem:
The new addition of repository export added to content-export does not seem to be working.
Version-Release number of selected component (if applicable):
Satellite 6.10.4
How reproducible:
Always
Steps to Reproduce:
1. Upgrade to 6.10.4
2. Try to export a repository
3.
Actual results:
Export fails with an error (see below)
Expected results:
Export to succeed.
Additional info:
[root@sat610 ~]# hammer repository list --fields Id,Name
---|---------------------------------------------------------------------------------
ID | NAME
---|---------------------------------------------------------------------------------
1 | Red Hat Ansible Engine 2.9 RPMs for Red Hat Enterprise Linux 7
Server x86_64
2 | Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server
3 | Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8
4 | Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs 8
5 | Red Hat Satellite Capsule 6.10 for RHEL 7 Server RPMs x86_64
6 | Red Hat Satellite Maintenance 6 for RHEL 7 Server RPMs x86_64
7 | Red Hat Satellite Tools 6.10 for RHEL 7 Server RPMs x86_64
8 | Red Hat Satellite Tools 6.10 for RHEL 8 x86_64 RPMs
9 | Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7
Server x86_6...
---|---------------------------------------------------------------------------------
[root@sat610 ~]# hammer content-export complete repository --product-id 1
Could not export the repository:
Error: Unknown option name 'option_id'.
[root@sat610 ~]# hammer content-export complete repository --name "Red
Hat Ansible Engine 2.9 RPMs for Red Hat Enterprise Linux 7 Server
x86_64"
Could not export the repository:
Error: Unknown option name 'option_id'.
[root@sat610 ~]#