Bug 2070254 - Repository export not working due to out-of-date API cache [NEEDINFO]
Summary: Repository export not working due to out-of-date API cache
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.10.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-30 18:01 UTC by Gary Scarborough
Modified: 2023-08-14 08:50 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-14 08:50:12 UTC
Target Upstream Version:
Embargoed:
ofedoren: needinfo? (ehelms)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 6967703 0 None None None 2022-07-27 15:45:10 UTC

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.


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