Bug 2211963 - inconsistent metadata expiration times cause patch jobs to return no updates available
Summary: inconsistent metadata expiration times cause patch jobs to return no updates ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Candlepin
Version: 6.12.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: 6.13.2
Assignee: ojanus
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-02 18:51 UTC by Odilon Sousa
Modified: 2023-07-12 15:37 UTC (History)
12 users (show)

Fixed In Version: candlepin-4.2.15
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2165906
Environment:
Last Closed: 2023-07-12 15:37:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CANDLEPIN-506 0 None None None 2023-06-02 18:51:34 UTC
Red Hat Issue Tracker SAT-15624 0 None None None 2023-06-02 18:51:34 UTC
Red Hat Issue Tracker SAT-18084 0 None None None 2023-06-02 18:54:05 UTC
Red Hat Knowledge Base (Solution) 7007649 0 None None None 2023-06-02 18:51:34 UTC
Red Hat Product Errata RHBA-2023:4043 0 None None None 2023-07-12 15:37:35 UTC

Comment 1 Gaurav Talreja 2023-06-28 15:12:43 UTC
Verified.

Tested on Satellite 6.13.2 Snap 2.0
Version: candlepin-4.2.15-1.el8sat.noarch

Steps:
1. Imported manifest, enabled few repositories, created and publish CV, Create AK with this CV
2. Register a client with AK create above and check /etc/yum.repos.d/redhat.repo for metadata_expire 
# cat /etc/yum.repos.d/redhat.repo | grep metadata_expire
metadata_expire = 1
metadata_expire = 1
metadata_expire = 1

3. Also tried checking the candlepin DB for cp2_content table and there's also metadata_expire set 1
# sudo -u postgres psql -d candlepin -c "select distinct(metadataexpire) from cp2_content;"
could not change directory to "/root": Permission denied
 metadataexpire
----------------
              1
(1 row)

Comment 10 errata-xmlrpc 2023-07-12 15:37:22 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 (Satellite 6.13.2 Async 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/RHBA-2023:4043


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