Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 2070254

Summary: Repository export not working due to out-of-date API cache
Product: Red Hat Satellite Reporter: Gary Scarborough <gscarbor>
Component: HammerAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.10.4CC: ahumbe, apatel, aruzicka, ehelms, iballou, jpasqual, kgaikwad, ofedoren, paji, rabajaj, saydas
Target Milestone: UnspecifiedKeywords: WorkAround
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-14 08:50:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gary 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 ~]#

Comment 13 Adam Ruzicka 2023-08-14 08:50:12 UTC
This should be resolved in Satellite 6.12 and later. If you run into the issue again, feel free to reopen.

Comment 14 Red Hat Bugzilla 2023-12-13 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days