Bug 2093829
Summary: | 'foreman-maintain content migration-stats' command stucks and consume all memory | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Hao Chang Yu <hyu> |
Component: | Satellite Maintain | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.9.9 | CC: | ahumbe, ajambhul, apatel, kgaikwad, mkalyat, nshaik, osousa, pdwyer, redhat.nrl7030, sadas, satellite6-bugs, saydas, wclark |
Target Milestone: | 6.9.10 | Keywords: | Patch, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-katello-3.18.1.55-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-17 17:17:17 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
Hao Chang Yu
2022-06-06 07:44:21 UTC
Verified. Tested on Satellite 6.9.10 Snap 2.0 Version: katello-3.18.1-3.el7sat.noarch Steps: 1. Prepare a Satellite 6.9.10 with 20 K or more of rpms and many content views and many content view versions 2. # date;foreman-maintain content migration-stats;date --> Takes less than one minute 3. echo "Katello::Rpm.update_all(migrated_pulp3_href: nil, missing_from_migration: true)" | foreman-rake console 4. # date;foreman-maintain content migration-stats;date --> Takes less than ~10 minutes Observation: Tested both with and without fix, without fix it get stuck, memory consumption is increasing overtime until OOM is triggered with errors in syslog as mentioned, and with fix, same command returns "Missing/Corrupted Content Summary" after ~10 minutes and no such OOM errors are observed in syslog 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.9.10 Async Security Update), 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-2022:8532 |