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 2162678 - content_export_* modules can time out as an export takes longer than 5 minutes
Summary: content_export_* modules can time out as an export takes longer than 5 minutes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible Collection
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.13.0
Assignee: Evgeni Golov
QA Contact: Griffin Sullivan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-20 13:26 UTC by Evgeni Golov
Modified: 2023-05-03 13:24 UTC (History)
1 user (show)

Fixed In Version: ansible-collection-redhat-satellite-3.9.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 13:24:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github theforeman foreman-ansible-modules pull 1552 0 None open increase task timeout to 12h as export tasks can be time intensive 2023-01-20 13:30:04 UTC
Red Hat Issue Tracker SAT-15040 0 None None None 2023-01-23 14:16:59 UTC
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:24:42 UTC

Description Evgeni Golov 2023-01-20 13:26:01 UTC
Description of problem:
The content_export_* modules default to wait only for 5 minutes for a task to finish, however, content-related tasks can take much longer and this should be considered.

Version-Release number of selected component (if applicable):
ansible-collection-redhat-satellite 3.8.0

How reproducible:
100%

Steps to Reproduce:
1. try to export a library that contains "much" content

("much" depends on the HW used, but I'd guess a full RHEL8 is a good start)

Actual results:
Timeout


Expected results:
No Timeout

Additional info:

Comment 2 Griffin Sullivan 2023-03-13 19:40:04 UTC
Verified on 6.13 snap 14

content_export_library successfully exported a library with RHEL 8 in it in about 15 minutes without timing out.

Steps to Reproduce:

1) Sync RHEL 8 repo with immediate policy

2) Run the following playbook on the satellite:
---
- hosts: localhost
  collections:
    - redhat.satellite
  gather_facts: false
  tasks:
    - name: "Export library content (full)"
      content_export_library:
        username: "admin"
        password: "changeme"
        server_url: "source.com"
        organization: "Default Organization"
        destination_server: "dest.com"

3) # hammer content-export list --organization="Default Organization"

Results:

ID | DESTINATION SERVER    | PATH                                                               | TYPE     | CONTENT VIEW VERSION        | CONTENT VIEW VERSION ID | CREATED AT              | UPDATED AT             
---|-----------------------|--------------------------------------------------------------------|----------|-----------------------------|-------------------------|-------------------------|------------------------
1  | dest.com              | /var/lib/pulp/exports/Default_Organization/Export-Library-dest.com | complete | Export-Library-dest.com 1.0 | 2                       | 2023-03-13 19:26:28 UTC | 2023-03-13 19:26:28 UTC
---|-----------------------|--------------------------------------------------------------------|----------|-----------------------------|-------------------------|-------------------------|------------------------

Comment 5 errata-xmlrpc 2023-05-03 13:24:34 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


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